💨 Yeetify is a tiny tiny & easy to use static web server. Just dump your static files into ./dist
folder and you're ready to go.
Built with a minimal (and naive ?) approach, the least dependencies and <100 lines of code using raw Nodejs.
Works well with Vite, Nuxt.js static generation, Gridsome, etc... in addition to compress
script (see below) if file compression is not included in your build process.
- ⚡️ HTTP2 support (comes with 🔒 HTTPS)
- 📦 Brotli & GZip compression support
- ♻️ Optimised cache policy
- 🗃️ In-memory files cache
- 🔧 dotenv
# install dependencies
$ npm install
# run post-build compression if needed
$ npm run compress
# run server with pm2 (recommended)
$ pm2 start app.js --name "instance_name"
# run server with node
$ node app.js