This project is proprietary. Production use, redistribution, and commercial deployment require a written commercial license or completed acquisition. See LICENSE and ACQUISITION.md. Contact @theworker02.
Generate and validate a compact GitHub Pages starter site with a reusable, documented API.
Package: @theworker02/pagesmark · Docs: GitHub Pages · Source: theworker02/pagesmark
- Generates
docs/index.html,docs/styles.css, anddocs/logo.svg. - Supports custom titles and accent colors.
- Can build the full site bundle in memory with
createBundle(). - Exposes required file metadata and color validation.
- Fully documented JSR symbols and TypeScript declarations.
- Trusted publishing from GitHub Actions with provenance.
deno add jsr:@theworker02/pagesmarkimport { createBundle, REQUIRED_FILES, PACKAGE } from "@theworker02/pagesmark";
const bundle = createBundle("My Project", { color: "#C9A227" });
console.log(REQUIRED_FILES, PACKAGE.version, bundle["index.html"]);createBundle(name, options)� build the complete three-file site in memory.init(dir, options)� write the generated site todocs/.check(dir)� validate that the required starter files exist.htmlFor(name),stylesFor(color),logoFor(color)� generate individual assets.
PACKAGE� package identity and version metadata.REQUIRED_FILES� canonical PagesMark file list.isValidColor(value)� validate#RRGGBBaccent colors.NAVY,GOLD,LOGO,STYLES� default design primitives.requiredFiles(path)� resolve required file paths.
InitOptions, InitResult, CheckResult, PageBundle, and PackageMetadata are all documented in JSR.
git clone https://github.com/theworker02/pagesmark.git
cd pagesmark
node src/cli.js --helpInitialize a site:
node src/cli.js init ./website --title "My Project" --color "#C9A227"node --testThe canonical package is published to JSR through GitHub Actions using OIDC trusted publishing.
See CONTRIBUTING.md.
See SECURITY.md.
Source-available proprietary � evaluation under LICENSE; commercial / production use via COMMERCIAL.md. See LICENSE_TRANSITION_NOTICE.md and NOTICE.
pagesmark is actively packaged for commercial licensing and acquisition diligence. See ACQUISITION.md and docs/acquisition/.