Staticraft v0.1.7
Feature Overview

Comprehensive Feature Set

Everything required for high-performance static websites without complex toolchains, third-party runtime dependencies, or open security attack vectors.

Core Features

Built for Security, Speed, and Simplicity

Everything required for high-performance static websites without complex toolchains or runtime attack vectors.

Zero Exposed Ports

In production mode (staticraft start), the generator opens zero public HTTP listening ports. Web traffic hits only static files.

Security-First Architecture

Atomic Swapping

HTML pages are written to staging files before an atomic POSIX rename(2) swap, eliminating half-rendered pages or torn reads.

Zero-Downtime Updates

Timer Revalidation

Define revalidate: 600 to automatically refresh HTML every 10 minutes in the background without manual CI redeploys.

ScheduleManager Engine

Zero Dependencies

Zero third-party npm runtime dependencies. Built entirely with native Node.js standard modules for minimal supply-chain risk.

Native Node 18+

Asset Fingerprinting

Staticraft automatically hashes static CSS and JS assets (e.g. styles.07eef7b1.css) and rewrites template references.

Cache Busting

Auto Sitemap & Robots

Generates sitemap.xml and robots.txt out of the box during build and dev mode automatically.

Automated SEO

Built-in Developer Conveniences

No external setup required. Staticraft works right out of the box.

DEVELOPMENT MODE

Live Reload Dev Server

Built-in development server on http://localhost:4455/ with file watching and live page reloading.

AUTOMATED SEO

Sitemap & Robots

Automatically generates valid sitemap.xml and robots.txt files based on discovered routes.

ERROR HANDLING

Custom 404 Support

Drop a src/app/404.html file to compile a custom error page served on any missing URL path.