HOW HEARTRANKED OPERATES. in short.
- a post is tied to a unique id.
- a user is tied to it's original username.
- under r/ dir is config files
- under p/ lives live posts
- under u/ posts are saved under username also
- every post is a dir and has at least three files intro, meta and post. intro is restricted to 255 char. meta is json. other two is the actual Markdown and HTML.
- in static goes symlinks to media under username also.
- hearts are saved in a dir in posts dir.
- everything tied to a post is in it's dir.