929151a16d02513c4ea8b52b38c176f716883e9c
This is a blogging site written in nodejs, all pages are served directly by the nodejs backend.
And all data is stored in plaintext
Please don't use this yet, it's not finished
See the software in action: deadvey.com
Confiuration
Read the configuation guide for configuration help (in config.json)
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
- sign up and delete account
- ejs
Bugs
- probably scales like shit
- probably insecure as hell
Planned features/todo list
- custom CSS file
- custom strings use format indicators
- seperate functions into modules
- user specific RSS feeds
- atom
- federation (looks tricky)
- All strings (including in edit and post page) customisable
- formatable custom strings
- 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
- comment pages?
TODO (not finished)
EJS variable names
- config.variable_name - pass any variable in config.json
- hitcount - value in hitcount.txt (a single number)
Posts (/views/posts/)
- post - an object that includes the data for that post, eg post.title, post.content etc
- user - the object of the user who posted this
- index - an int that refers to the index of the current post
Comments (/views/partials/comment.ejs)
- comment - an object storing the comment, eg comment.name, comment.content
Languages
JavaScript
53.7%
EJS
46.3%