コンテンツにスキップ

SiteKit

Astro developers use this framework to build static sites and basic content management around explicit content and hosting contracts.

Configure an independent site using explicit content sources and standard hosting contracts. Build from one pinned publication so content, media and generated pages share a revision. Add public editing and storage adapters where needed; domain templates and advanced Studio integrations remain separate extensions.

  • Validated site configuration with inline, file or HTTP content sources.
  • Revision and image integrity checks before static rendering.
  • Basic Markdown management with list/search, draft saving and publishing.
  • Optional Cloudflare projection, analytics, commerce and editing adapters.

Use Node.js 22.12+ (24 LTS recommended). Bun 1.4.0 is used for repository development and the commands below; installed consumers may use npm, pnpm or Yarn. Initial npm publication of this framework is pending; start with the locally packed public core artifact from a verified source candidate. Appkit 0.1.0 is available from npmjs when using the optional React screen.

ターミナルウィンドウ
bun add ./alneas-sitekit-0.1.0.tgz astro

Save as example.ts, then run bun example.ts:

import { defineSite } from '@alneas/sitekit/config';
const site = defineSite({
id: 'example', revision: 1,
content: { snapshot: { siteId: 'example', revision: 1, posts: [], assets: [] } },
});
console.log(site.id, site.revision); // example 1

SiteKit is the new product name. During migration, use the package names and routes in the current manifest; initial registry publication remains a separate release step.