@arktosmos/boilerplate
v0.0.5
Published
CLI tool to scaffold new projects from Arktosmos templates
Maintainers
Readme
@arktosmos/boilerplate
CLI tool to scaffold new projects from Arktosmos templates.
Installation
# Using npx (recommended, no installation required)
npx @arktosmos/boilerplate
# Or install globally
npm install -g @arktosmos/boilerplate
arktosmos-boilerplateUsage
Run the CLI and follow the interactive prompts:
npx @arktosmos/boilerplateThe CLI will guide you through:
- App ID - Enter a name for your project (letters, numbers, dashes)
- Template selection - Choose from available templates
- Output directory - Where to create the project (defaults to current directory)
- Confirmation - Review and confirm before creation
Available Templates
- sveltekit-static - SvelteKit static site with TailwindCSS and DaisyUI
- tauri-svelte - Tauri desktop app with SvelteKit
Example
Arktosmos Project Generator
Create a new project from a template
App ID: my-app
Fetching available templates from GitHub...
Found 2 template(s)
Select a template:
1. sveltekit-static
2. tauri-svelte
> 1
✓ Selected template: sveltekit-static
Summary:
App ID: my-app
Template: sveltekit-static
Location: /path/to/my-app.git
Proceed with project creation? (Y/n) y
✓ Template files downloaded
✓ package.json updated
✓ Workspace dependencies resolved
✓ Project created successfully!
Next steps:
cd my-app.git
pnpm install
pnpm devWhat It Does
- Fetches available templates from the Arktosmos GitHub repository
- Downloads and extracts the selected template
- Updates
package.jsonwith your project name - Configures Tauri settings (if using tauri-svelte template)
- Inlines shared package code for a standalone project
The generated project is fully standalone with no workspace dependencies.
Requirements
- Node.js >= 18
- Internet connection (templates are fetched from GitHub)
License
MIT
