A pastebin clone
Go to file
Robin Malley 5e922719bd Relabed views to hits
Relabled the views so it's more consistent with other websites.
"Views" seems to imply we track unique views, while "hits" confers
that we only track requests.
2020-10-11 23:56:10 +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 Relabed views to hits 2020-10-11 23:56:10 +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.