mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-12 23:46:22 +00:00
Blazing fast file uploader and awesome bunker written in node! 🚀
bulmafile-sharingfile-uploadfilesjslolisafenodenunjuckspomfsqlitesqlite3uploaduploaderuwebsocketsuwebsocketsjs
controllers | ||
database | ||
public | ||
routes | ||
.DS_Store | ||
.eslintrc.json | ||
.gitignore | ||
config.sample.js | ||
lolisafe.js | ||
package.json | ||
README.md |
loli-safe
Pomf-like image uploading service, written in NodeJS
- Clone
- Rename
config.sample.js
toconfig.js
- Modify port and privacy options if desired
- run
npm install
to install all dependencies - run
node lolisafe.js
to start the service
Using it
After the service is started, you can POST files to /api/upload . The file key needs to be called file
and it should be a multipart/form-data
upload, or else it will be disregarded.
This works great with sharex, just like cuntflaps.me and mixtape.moe. A chrome extension to be able to right click images -> send to safe is in the works.
If you are using nginx, you should set inside your location block the following directive, replacing the number with the one you want set up client_max_body_size 512M;
If using apache, you should change the following directives on your config memory_limit = 512M