Try Basic Content Management
Try Basic Content Management
Section titled “Try Basic Content Management”In about five minutes, manage a test article in an isolated local browser fixture. Use Node.js 22.12+, Bun 1.4.0, npmjs connectivity and an extracted public source candidate. Start a terminal in that candidate’s root. No private registry or CMS credentials are required.
Public import
Section titled “Public import”The fixture consumes the core /studio/basic, /studio/http-provider and /studio/basic.css exports plus the Cloudflare /studio and /studio-handler exports. Package names are listed in the exports reference. This React example shows the actual browser imports used by the fixture:
import '@alneas/appkit-react/styles';import '@alneas/sitekit/studio/basic.css';import { BasicStudioApp } from '@alneas/sitekit/studio/basic';import { createHttpStudioProvider } from '@alneas/sitekit/studio/http-provider';const provider = createHttpStudioProvider();export function Admin() { return <BasicStudioApp provider={provider} collections={[{ id: 'posts', label: 'Posts' }]} />;}1. Install the locked dependencies
Section titled “1. Install the locked dependencies”bun install --frozen-lockfile --ignore-scripts --registry=https://registry.npmjs.orgExpected result: the candidate’s locked public dependencies are installed.
2. Start the local fixture
Section titled “2. Start the local fixture”bun scripts/public-consumer-smoke.mjs --previewExpected result: the script packs both framework packages, installs them in an isolated consumer with npmjs Appkit, checks the actual SQLite schema and HTTP path, then prints Basic Studio preview: http://127.0.0.1:4317/.
3. Create an article
Section titled “3. Create an article”Open the printed URL. Select 新規作成, enter a title and slug, and write Markdown in the body field. Leave summary and tags empty. Select 下書き保存.
Expected result: 下書きを保存しました appears. Return to the list and open the article using its title button. The entered values remain.
4. Publish and reopen
Section titled “4. Publish and reopen”Select 公開, then reload the page.
Expected result: 公開しました appears before reloading, and the list shows the article’s 公開 state afterwards. This changes the temporary fixture record; it does not publish a website to the Internet.
5. Finish
Section titled “5. Finish”Stop the terminal process with Ctrl-C. The fixture uses a temporary SQLite database and a local test session; neither is a production authentication setup. You have verified the basic public management flow. Follow the integration guide to connect your own authenticated server and D1 binding.