Skip to content
noconfig

arcblog

by @imkylejk

A tempalte ASCII inspired blog/CMS system.

arcblog.noconfig.online

README.md

# arcblog

An ASCII-styled, dark-themed CMS and blog in plain Node.js. It has no dependencies and uses the built-in `node:sqlite`.

## Features
- Every post title is rendered as an ASCII banner from a hand-made 5x7 font. There are four styles: block, shadow, outline and dots (braille).
- A converter in the editor turns an image into an ASCII cover. It runs in the browser and nothing is uploaded.
- Markdown posts with tags, drafts, a featured post, an archive, search, author pages and an RSS feed (`/feed.xml`).
- Threaded comments with likes, plus five ASCII reactions per post (`+1 <3 xD :O ~*~`).
- Admin panel at `/admin`:
  - dashboard with stats
  - posts list and editor with live banner and Markdown preview
  - comment moderation
  - users and roles (admin, editor, author)
  - site settings and profile

## Demo mode
- Log in with `admin` / `admin`. That account is protected, so it can't be deleted and its password can't be changed.
- All data is wiped and re-seeded every hour. Set `RESET_MINUTES` to change the interval. The reset check also runs on each request, so it still happens after the app wakes from sleep.
- Admins can trigger a reset straight away from the dashboard.

## Layout
- `server.js`: HTTP server, routing and public routes
- `lib/admin.js`: admin routes and views
- `lib/views.js`: public templates
- `lib/ascii.js`: the banner font
- `lib/md.js`: a safe Markdown renderer
- `lib/db.js`: schema, settings and the reset
- `lib/seed.js`: demo content

Comments 0

  • No comments yet. Say something nice.

Sign in or create an account to comment and react.