Files
blogger-nodejs/README.md
2025-07-22 00:17:00 +01:00

51 lines
1.6 KiB
Markdown

This is a blogging site written in nodejs, all pages are served directly by the nodejs backend.<br/>
And all data is stored in plaintext<br/>
Please don't use this yet, it's not finished<br/>
See the software in action: [deadvey.com](https://deadvey.com)<br/>
# Confiuration
Read the [configuation guide](CONFIG.md) 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