Statika is simple static site generator(SSG) written in go emphasizing convention over configuration

Statika

Statika is simple static site generator(SSG) written in go emphasizing convention over configuration. This is a newer version of my original statica. Statika is (generally) not intended for public consumption. It just does what I want. It probably won't do what you want. That being said....

The statika.app example site is live here: https://www.statika.app/

Build

  • clone
  • go get
  • go run statika.go examples/simple.com -b

Usage

$ statika <project-dir>   # The default action is to watch
$ statika simple.com -c  # Clean the output
$ statika simple.com -b  # Manually build
$ statika simple.com -w  # Watch for changes then build
$ statika simple.com -s  # Run a local development server

Example project folder

The following is an example project folder:

── .env
── src
    │── content
    │    │── blog
    │    │   ├── coffee-blog-one.md
    │    │   ├── coffee-blog-three.md
    │    │   └── coffee-blog-two.md
    │    └── pages
    │        └── about.md
    │        └── products.md
    ├── static
    │   └── favicon.ico
    │   └── humans.txt
    │   └── robots.txt
    └── templates
        └── html
            ├── blog_list.html
            ├── blog_show.html
            ├── blog_tags.html
            ├── layout.html
            ├── pages_home.html
            ├── pages_list.html
            └── pages_show.html
Similar Resources

A code generator that turns plain old Go services into RPC-enabled (micro)services with robust HTTP APIs.

Frodo Frodo is a code generator and runtime library that helps you write RPC-enabled (micro) services and APIs. It parses the interfaces/structs/comme

Dec 16, 2022

导航网站生成器(Navigation website generator)

导航网站生成器(Navigation website generator)

gena 导航网站生成器 | English Document 安装 一键生成(推荐) 从 gena-template 自动生成并自动部署到 GitHub Pages 源码安装 go1.16 required go get -u github.com/x1ah/gena/cmd/gena gen

Nov 20, 2022

Protocol Generator API in Golang

PGen (building... learning GO Lang...) Protocol generator API in GO. The PGen is a microservice created to generate service protocols for any type of

Dec 20, 2021

goof is a woof written in go - share files via a simple httpd

#goof - share files through HTTP protocol goof (Go Offer One File) is a very simple tool to send and receive files on your local LAN. Features include

Oct 4, 2022

Analytics box a simple and privacy focused analytics tool written in go like google analytics

Analytics box a simple and privacy focused analytics tool written in go like google analytics

Analytics box is analytics tool like google analytics but instead of ripping user's privacy off them like google it respects their privacy and doesn't collect any unnecessary information.

Nov 27, 2022

A simple and privacy focused analytics tool written in go.

A simple and privacy focused analytics tool written in go.

Analytics Box Hello guys, this is privacy friendly analytics tool, Analytics Box for web written in go. It ensures user privacy but at the same time a

Nov 27, 2022

Very simple REST server written in Go.

Simple Web API written in Go For practice and learning sake. .env is a dummy file with no real credentials. Endpoints GET /books - get all books; GET

Oct 18, 2021

A simple web application written in Golang which listens on port 8080

GoWebApp It's a simple web application written in Golang which listens on port 8080 Building It can be build using the command go build -o metricsweba

Oct 21, 2021

A simple demo written in Golang to shorten URL and redirect

url-shortener A simple demo written in Golang to shorten URL and redirect . ├── go.mod ├── go.sum ├── handler │ └── handlers.go ├── main.go ├── shor

Jun 5, 2022
Comments
  • Stylesheet not being copied

    Stylesheet not being copied

    Just tried this new version. The simple.com site built ok. The statica.app site is missing the stylesheet. It's not in the output folder. Path is "/assets/css/site.css". Assets folder not copied.

  • No tags in My Coffee Blog

    No tags in My Coffee Blog

    Hi Jeff, hope you're doing well. I'm just getting back to Statika and just ran the build for My Coffee Blog and I don't see any tags on the blog pages even though a "tags" folder has been created in the output folder. Please check.

verless is a Static Site Generator designed for Markdown-based content
verless is a Static Site Generator designed for Markdown-based content

verless (pronounced like serverless) is a Static Site Generator designed for Markdown-based content with a focus on simplicity and performance. It reads your Markdown files, applies your HTML templates and renders them as a website.

Dec 14, 2022
notion-md-gen allows you to use Notion as a CMS for pages built with any static site generators

notion-md-gen allows you to use Notion as a CMS for pages built with any static site generators

Dec 12, 2022
A small site builder for the Gemini protocol

?? Flounder A lightweight platform to help users build simple Gemini sites over http(s) and serve those sites over http(s) and Gemini Flounder is in A

Dec 7, 2021
Ecommerce - An ecommerce site with golang
Ecommerce - An ecommerce site with golang

How To's Steps Required tools: go docker kubectl minikube Docker registry The cu

Jan 8, 2022
A job queue and scheduler written in Go, backed by Postgres, and available over HTTP
A job queue and scheduler written in Go, backed by Postgres, and available over HTTP

Rickover This holds the code for a scheduler and a job queue written in Go and backed by Postgres. The goals/features of this project are: Visibility

Dec 31, 2022
A Binance Chain vanity address generator written in golang
A Binance Chain vanity address generator written in golang

VaniBNB A Binance Chain vanity address generator written in golang. For example address ending with 0xkat Raw https://github.com/makevoid/vanieth http

Dec 14, 2021
Account Generator Bot, written in GoLang via gotgbot library

Account Generator Bot Account Generator Bot, written in GoLang via gotgbot library. Variables Env Vars - BOT_TOKEN - Get it from @BotFather CHANNEL_ID

Dec 28, 2021
Crane - 🐦 A full-text WebAssembley search engine for static websites
Crane - 🐦 A full-text WebAssembley search engine for static websites

Crane ?? My blog post: WebAssembly Search Tools for Static Sites Crane is a technical demo is inspired by Stork and uses a near-identical configuratio

Dec 1, 2022
Vela plugin designed for generating a static documentation website with Hugo.

Vela plugin designed for generating a static documentation website with Hugo.

Jul 22, 2022
An RRDtool api server that exports a subset of rrdtool commands over http(s).

rrdsrv An RRDtool api server that exports a subset of rrdtool commands over http(s). Be sure to checkout the grafana plugin. Demo video. Usage Usage o

Dec 7, 2022