Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more

ssgo

A minimalist, unconfigurable static site generator.

ssgo is built with Deno, and aims to be used within a Deno ecosystem.

license: MIT code style: prettier netlify: passing

Documentation

Read the (yet incomplete ๐Ÿ˜•) documentation at https://ssgo.netlify.app/docs.

Quickstart

To install ssgo using Deno:

deno install --unstable --allow-read --allow-write --allow-net https://deno.land/x/ssgo/ssgo.ts

Hereโ€™s what a ssgo project looks like:

โ”œโ”€โ”€ creators/    <- here go the scripts creating your pages
โ”œโ”€โ”€ templates/   <- here go the templates of your pages
โ”œโ”€โ”€ components/  <- here go your custom components
โ””โ”€โ”€ static/      <- here go your static files

To launch a build:, just run:

ssgo

Your site will be built inside of the dist/ directory.

To start dev mode with file watching:

ssgo dev

For the moment, ssgo doesnโ€™t provide a web server out of the box. It is on the roadmap.

Roadmap

  • Serve built site
  • Complete the documentation
  • Format the built pages
  • Add a โ€“minify flag to allow minification
  • Serialize the cache on FS to allow faster cold builds
  • Find a way to make Deno.bundle quiet
  • Find a way to clear import / compiler cache programmatically
  • Do not throw when errors occur in dev mode