A pastebin clone
Go to file
Robin Malley 4c65fc3692 Allow logged in users to "hit" their own paste
Increments the view counter in an edge case where the logged in
user is viewing their own paste.
2020-10-12 00:15:38 +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
src Allow logged in users to "hit" their own paste 2020-10-12 00:15:38 +00:00
.gitignore
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

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.