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. If you don’t use Homebrew, Installing has a one-line install for Linux and one for Windows, and 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, and suggests a fix
if it has a good one. The More: link opens a page that explains that
kind of problem. statac explain broken-link shows the same explanation
in the terminal.
What you get
- Broken links caught Statac checks every link within your site before anything is published, including the heading it points to.
- Photographs handled Write an ordinary Markdown picture. Readers get it in several sizes, as AVIF with a JPEG fallback.
- Sharing cards After
statac new --cards, Statac draws 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 haven’t changed. - Bring your site with you
statac importbrings a Hugo, Jekyll, Zola or Eleventy site across, and lists anything it couldn’t bring. See Arriving from another tool. - One program Sass, coloured code, feeds and a sitemap are built in. There are no plugins to hunt down, and nothing else to install.
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 licensed under MIT or Apache-2.0, at your choice.
THIRD-PARTY.md, in every package and in
the repository, lists the work by
others that Statac includes, and the licence each is under.
statac new --cards writes two fonts for sharing cards, Noto Sans and
Noto Emoji. They are under the SIL Open Font License, and
statac new --cards writes the licence text beside them.