A pastebin clone
Go to file
Robin Malley e6b1b7a8a1 Various updates
+ 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
2020-10-10 23:28:39 +00:00
assets Various updates 2020-10-10 23:28:39 +00:00
conf Various updates 2020-10-10 23:28:39 +00:00
kore_chroot Add gitignores 2020-05-17 12:10:01 -04:00
src Various updates 2020-10-10 23:28:39 +00:00
.gitignore Add gitignores 2020-05-17 12:10:01 -04:00
Makefile Add comments 2020-08-13 17:59:33 +00:00
README.md Add more information to errors 2020-08-24 17:20:33 +00:00
dh2048.pem Inital commit 2020-05-15 19:10:20 -04:00

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.