Static sites, without the ceremony.
Write your content in Markdown, and get a folder of plain files any web host can serve.
Install it and make a site
brew install statac-ssg/statac/statac
statac new my-site
cd my-site
statac serve
Serving `.statac/serve` at http://localhost:3000/
no config file to write! *
* Unless you want to, of course. No Homebrew? Installing has a package for every machine.
When something is wrong, it says where
warning Broken link: nothing is published at `/about-us/`
content/posts/post-1.md, line 5
5 │ Read more [about us](/about-us/).
│ ^^^^^^^^^^
Did you mean `/about/`?
More: https://statac.dev/e/broken-link/
Statac shows the file, the line and the exact text, with a fix where it
has a good one. The More: link explains that kind of problem, as
statac explain broken-link does in the terminal.
What you get
- Broken links caught Every link within your site is followed before anything is published, down to the heading it points at.
- Photographs handled Write an ordinary Markdown picture. Readers get it in several sizes, as AVIF with a JPEG behind it.
- Sharing cards
statac new --cardsdraws a link preview for every page, from a layout you set. - Yours, kept up to date Every template is a file in your site.
statac new --updatereplaces only the ones you never changed. - Bring your site with you
statac importbrings a Hugo, Jekyll, Zola or Eleventy site across, and lists what it couldn’t: Arriving from another tool. - One program Sass, coloured code, feeds and a sitemap, built in. No plugins to hunt down, nothing to install beside it.
And the rest
Tags and series, several languages, webmentions, a preview that reloads as you save, no JavaScript unless you add it, and nothing published unless the whole build succeeds.
Licence
Statac is under MIT or Apache-2.0, at your choice. THIRD-PARTY.md, in
every package and in the repository,
lists the work of others it carries, under their own licences. Noto Sans
and Noto Emoji, the fonts statac new --cards writes for sharing cards,
are under the SIL Open Font License, whose text it writes beside them.