Skip to content

arc-language/create-arc-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

create-arc-web

npm Node ≥20 MIT CI

Zero-dependency project scaffolder for Arc. Interactive wizard with arrow-key menus, 5 built-in templates, and auto-detected package manager.

npx create-arc-web

Features

  • Interactive wizard — arrow-key menus for template, package manager, and install preference
  • 5 templates — static site, counter, blog, full-stack API, CMS with OAuth
  • Auto-detects your package manager — bun, pnpm, yarn, or npm; detected one floated to top
  • Zero dependencies — pure Node built-ins, works offline, no npm install needed
  • CI-friendly — fully non-interactive with --template, --pm, --no-install flags

Templates

Template Description
default Static page — heading, text, CSS design block
counter Interactive counter with @state reactive variable
blog Build-time posts with @build — zero JS shipped
api Full-stack REST API with @route, db models, background job
cms CMS with GitHub/Google OAuth, admin panel, @live data

Usage

# Interactive wizard
npx create-arc-web

# Name pre-filled, still prompts for template + pm
npx create-arc-web my-app

# Fully non-interactive (CI)
npx create-arc-web my-blog --template blog --no-install

# All flags
npx create-arc-web my-api --template api --pm bun --install

Options

Flag Values Default
--template default | counter | blog | api | cms interactive
--pm bun | npm | pnpm | yarn auto-detected
--install interactive
--no-install interactive
--version / -v print version
--help / -h print help

Also available as arc new

npm i -g @arc-lang/arc
arc new

Contributing

See CONTRIBUTING.md.

License

MIT — see LICENSE.

About

Zero-dependency project scaffolder for Arc. Interactive wizard, 5 templates, auto-detected package manager.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors