Robin Malley
e6b1b7a8a1
+ Added tags to stories + Added a view counter to stories + Added a very basic search by tag function ~ Modified imageboard parser so that blank lines are preserved ~ Raised the minimum cache time from 2 seconds to 20 seconds |
||
---|---|---|
assets | ||
conf | ||
kore_chroot | ||
src | ||
.gitignore | ||
Makefile | ||
README.md | ||
dh2048.pem |
README.md
SMR
Overview
This repository contains the source code to a pastebin clone. It was made after concerns with pastebin.com taking down certain kinds of content. SMR aims to be small, fast, and secure. It is built on top of Kore, using luajit to expose a Lua programming environment. It uses sqlite3 as it's database. SMR is implemented in just over 1.5k SLOC and is expected to never exceed 5k SLOC. Contributions welcome.
Roadmap
- Accounts (complete)
- Comments (complete)
- Tags
- Author biographies
Misc notes.
SMR requires a slightly modified version of Kore to run. See my kore patches for the changes I needed to make to get the JIT compiler playing nice with Kore's seccomp restrictions. There are a few other changes, like modified kore to accept any text as input for things like file upload.