Repository
Current version released
4 years ago
Dependencies
skypack.dev
html5parser
ssgo
A minimalistic, unconfigurable static site generator.
ssgo
is built with Deno, and aims to be used within a Deno ecosystem.
Documentation
Read the documentation at https://ssgo.netlify.app/docs.
Quickstart
To install ssgo
using Deno:
deno install --unstable --allow-read --allow-write --allow-net -q 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
- Add a support for a config file (.ssgorc, ssgo.config.js)
- Provide a way to build a single template with given data from CLI
- Export
buildPage
andssgoBag
frommod.ts
to allow access from outside of creators - Serve built site
- Serialize the cache on FS to allow faster cold builds
- Find a way to clear import / compiler cache programmatically
- Provide a way to opt out of static ressources resolution on a per-file basis