Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.12 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.12 KB



Infos

💨 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.

Features

  • ⚡️ HTTP2 support (comes with 🔒 HTTPS)
  • 📦 Brotli & GZip compression support
  • ♻️ Optimised cache policy
  • 🗃️ In-memory files cache

Dependencies

Let's yeet

# 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