2020-08-24 19:20:33 +02:00
|
|
|
# SMR
|
2020-05-16 01:10:11 +02:00
|
|
|
|
2020-08-24 19:20:33 +02:00
|
|
|
## Overview
|
2020-05-16 01:10:11 +02:00
|
|
|
|
2020-08-24 19:20:33 +02:00
|
|
|
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](https://kore.io), using
|
|
|
|
[luajit](https://luajit.org) to expose a Lua programming environment. It uses
|
|
|
|
[sqlite3](https://sqlite.org) 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)
|
2020-10-12 02:01:03 +02:00
|
|
|
* Tags (complete)
|
2020-08-24 19:20:33 +02:00
|
|
|
* Author biographies
|
|
|
|
|
|
|
|
## Misc notes.
|
|
|
|
|
|
|
|
SMR requires a slightly modified version of Kore to run. See [my kore patches](https://git.fuwafuwa.moe/rmalley/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.
|