Skip to content
pubscout

static_shock

0.0.14, released 2 years ago by flutterbountyhunters.com

A static site generator for Dart.

Quiet but busy
$ flutter pub add static_shock
Source repository

What it does

Static Shock is a static site generator written in Dart. It allows developers to generate static websites either programmatically or from the command line using plugins, pickers, and templates.

AI-written summary of version 0.0.14, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to build a static website or blog using Dart.
  • You need a pipeline-based site generator supporting Markdown and Jinja templates.

Skip it when

  • You need a dynamic, server-rendered web application.
  • You prefer using non-Dart ecosystems for static site generation like Hugo or Jekyll.

Strengths

  • Written entirely in Dart.
  • Extensible plugin system including support for Jinja, Markdown, Sass, and TailwindCSS.

Weaknesses

  • Relatively niche compared to mature mainstream static site generators in other ecosystems.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
15

Not documented

final staticShock = StaticShock()
  ..pick(...)
  ..plugin(...);

await staticShock.generateSite();

Alternatives

Packages that do the same job and could replace static_shock.

  • dhttpd

    A simple static HTTP file server for local directory hosting

  • firebase_rules

    A type-safe Firebase rules generator for Firestore, Storage, and Realtime Database

Works with

Packages commonly used together with static_shock: ones it builds on, ones built on it, and its own family.