A pastebin clone
Go to file
Robin Malley a144c25ab8 Major refactor
Moved all code into seperate endpoints folder
Various bugfixes
2020-12-23 06:38:17 +00:00
assets Remove extra prints 2020-12-23 06:07:00 +00:00
conf Remove extra prints 2020-12-23 06:07:00 +00:00
kore_chroot Add gitignores 2020-05-17 12:10:01 -04:00
spec More work on refactor 2020-12-21 04:22:22 +00:00
src Major refactor 2020-12-23 06:38:17 +00:00
.gitignore Remove extra prints 2020-12-23 06:07:00 +00:00
Makefile Organize lua endpoints 2020-12-21 23:32:29 +00:00
README.md Remove extra prints 2020-12-23 06:07:00 +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 2k SLOC and is expected to never exceed 5k SLOC. Contributions welcome.

Roadmap

  • Accounts (complete)
  • Comments (complete)
  • Tags (complete)
  • Author biographies

Hacking

If you want to contribute to this repository:

  1. Install the kore webserver Documentation -> installation

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. UPDATE (12/18/2020) Kore 4.0 no longer needs the seccomp changes, as those have been exposed to library users, and smr has been updated appropriately. It still needs the allow-multiline-input patch though.