blogger-nodejs/README.md

1.6 KiB

This is a blogging site written in nodejs, all pages are served directly by the nodejs backend.
Please don't use this yet, it's not finished
In action on my website: deadvey.com

features

  • post creation via the web frontend (no need to remote to your server to make a post)
  • multi user
  • powerful customisation
  • rss
  • timeline, user page, post page and tag specific page
  • edit/delete posts
  • hitcount
  • Markdown syntax in posts
  • Commenting on posts

Bugs

  • probably scales like shit
  • probably insecure as hell

planned features/todo list

  • atom
  • federation (looks tricky)
  • sign up
  • All strings (including in edit and post page) customisable
  • split code into files to tidy it up a bit
  • inline comments and docs
  • give each post a hard postID to prevent potential issues
  • clean up code a bit

format indicators

  • %% - A literal %
  • %A - List of tags
  • %B - List of tags, each one with a hyperlink to that tag page
  • %C - Post content
  • %D - Published date in the format specified by date_format
  • %E - Edited date in the format specified by date_format
  • %F - Pretty name
  • %G - Tag name (used for the tag page only)
  • %H - Frontpage hit count
  • %I - User description
  • %L - URL Permanent link to the post
  • %M - comments
  • %N - the username of the user (poster)
  • %P - URL to create a new post
  • %O - URL to edit this post
  • %R - Site wide RSS feed
  • %S - post seperator as defined by post_seperator
  • %T - Title
  • %U - URL the the user (poster)
  • %W - Site Description as defined by site_description
  • %X - Comment submission box
  • %Y - Site Name as defined by site_name
  • %Z - Attribution (to me) and source code link and license