Staticraft Guides & API
Comprehensive documentation to build, scale, and secure event-driven static websites with zero public ports.
Getting Started with Staticraft
Install Staticraft, create your first project, understand the app/ folder architecture, and launch the dev server.
File-Based Routing & Data Hooks
Learn file-based route mapping, server.js data hooks, revalidation timers, and dynamic SSG route pre-rendering.
Template Engine Syntax
Master layout inheritance, slot injection, partial components, loops, conditionals, and asset fingerprinting.
Zero-Port Deployment & Nginx Setup
Deploy in production with zero exposed application ports, POSIX rename(2) atomic swaps, and Nginx caching.