Nikki
New Member
Laravel's paste bucket went down earlier today and I've always wanted an extremely simple paste site (even though I still run http://paste.ee), so I threw this together. It's pretty cool considering a lua website is very rare.
It would take a bit of compiling to get it to work, so I suggest just looking through the code if you don't wish to spend an hour getting it to work right.
https://github.com/nikkiii/luapaste
Requires:
Lua 5.1 (LuaJIT-2.0 optional, edit the Makefile in luafcgid to use regular lua if you wish, easily available in apt and likely yum)
https://github.com/nikkiii/luafcgid (requires a fastcgi capable webserver, check the readme)
https://github.com/nikkiii/luadbi (only need to run 'make mysql', you will need to move dbdmysql.so to /usr/lib/lua/5.1 and dbi.lua to /usr/share/lua/5.1)
https://github.com/nikkiii/chariot
It would take a bit of compiling to get it to work, so I suggest just looking through the code if you don't wish to spend an hour getting it to work right.
https://github.com/nikkiii/luapaste
Requires:
Lua 5.1 (LuaJIT-2.0 optional, edit the Makefile in luafcgid to use regular lua if you wish, easily available in apt and likely yum)
https://github.com/nikkiii/luafcgid (requires a fastcgi capable webserver, check the readme)
https://github.com/nikkiii/luadbi (only need to run 'make mysql', you will need to move dbdmysql.so to /usr/lib/lua/5.1 and dbi.lua to /usr/share/lua/5.1)
https://github.com/nikkiii/chariot