A pastebin clone
Go to file
Robin Malley 3742a9d5c4 Throw an error message if the user enters a bad username
For some reason kore isn't checking parameters anymore, so check
them lua-side.
2020-10-13 18:10:55 +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 Throw an error message if the user enters a bad username 2020-10-13 18:10:55 +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 Marked tags complete on roadmap 2020-10-12 00:01:03 +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 (complete)
  • 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.