|
5 days ago | |
---|---|---|
assets | 1 week ago | |
conf | 1 week ago | |
kore_chroot | 8 months ago | |
spec | 6 days ago | |
src | 5 days ago | |
.gitignore | 1 month ago | |
Makefile | 6 days ago | |
README.md | 1 week ago | |
dh2048.pem | 8 months ago |
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.
TODO's: Currently, people can post comments to unlisted stories even if they don't have the correct link.
If you want to contribute to this repository:
kodev create smr
to create a blank kore applicationluarocks install <package>
)make
!/etc/hosts
, modify command invocation, ect.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.