GitHub

Skrapa

TypeScript JSX templates. Static HTML output.

npx skrapa

Features

Get Started

Initialize your project

npx skrapa

Start the dev server

npx skrapa dev

Build for production

npx skrapa build

A GitHub Pages deploy action is included — push to main and your site deploys automatically.

How it works

JSX in src/ renders to raw HTML strings at build time. Client JS and CSS are inlined, assets are copied, and everything ships as a single file.

index.htmlHTML template with head and body structure
src/app.tsxJSX components rendered to raw HTML at build time
src/client.tsTypeScript compiled to browser-optimized JavaScript
src/style.cssStyles minified and bundled for the browser
dist/index.htmlSingle file — HTML, CSS, and JS all in one
assets/*Images, fonts, and SVGs served as static files
dist/*Copied as-is with paths preserved

Requirements