You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`npm create claudius@latest` scaffolds a ready-to-run Claudius project
(vanilla, React, or Next.js), optionally with a Cloudflare Worker — the
same way `npm create vite` works.
- create-claudius/ — CLI (@clack/prompts + node:util parseArgs) that copies a
template with token replacement; every prompt has a flag for non-interactive use.
- Templates: vanilla (CDN script embed), react (Vite + claudius-chat-widget),
next (App Router + 'use client' wrapper), and an optional config-first worker
scaffold (wrangler.toml + KV stub + deploy runbook).
- Snapshot tests of generated output for every template (vitest).
- Version-synced with the widget via release-please; auto-publishes on release,
and the manual publish-npm workflow now selects which package to publish.
- CI job (typecheck + test + build); docs scaffolding page + sidebar entry;
README badge + quick-start section.
Verified: all three frameworks install and build against the published
claudius-chat-widget@1.6.0, the worker scaffold typechecks, and the npm tarball
ships dist + templates (including dotfiles).
Closes#42
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments