Skip to content

💨 Yeetify -- Lightweight and fully cached static web server using raw Nodejs

Notifications You must be signed in to change notification settings

tinawng/yeetify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



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

About

💨 Yeetify -- Lightweight and fully cached static web server using raw Nodejs

Topics

Resources

Stars

Watchers

Forks