This is a simple fileserver with a React frontend that automatically formats JavaScript snippets and is easy to self-host
It was my friend Kevin's idea
npm run dev
- You'll need an ubuntu server, like the ones provided by DigitalOcean, with a non-root user with sudo privileges. You'll also need Docker and docker-compose installed. Then, clone the repo into the folder
filepret. - Create a .env file.
- Create two
Arecords which redirect from your domain name to the new server instance. One withoutwww., and one with. - Run
source '.env' && sh 'install.sh'
-
Migration to a Next.js starter template with auth and roting already implemented
-
Multiple language support (thanks to prettier) with automatic language detection
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License