{"id":38555010,"url":"https://github.com/sunny-117/create-rolldown","last_synced_at":"2026-04-01T18:18:02.808Z","repository":{"id":332940197,"uuid":"1135467999","full_name":"Sunny-117/create-rolldown","owner":"Sunny-117","description":"⚡️ Scaffolding tool for Rolldown library projects - a fast JavaScript bundler written in Rust.","archived":false,"fork":false,"pushed_at":"2026-01-17T06:03:56.000Z","size":372,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-21T02:46:55.513Z","etag":null,"topics":["bundler","cli","create-app","rolldown","scaffolding","template"],"latest_commit_sha":null,"homepage":"https://rolldown.rs/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sunny-117.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-16T06:20:19.000Z","updated_at":"2026-01-17T06:03:59.000Z","dependencies_parsed_at":"2026-01-18T17:01:14.756Z","dependency_job_id":null,"html_url":"https://github.com/Sunny-117/create-rolldown","commit_stats":null,"previous_names":["sunny-117/create-rolldown"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Sunny-117/create-rolldown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Fcreate-rolldown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Fcreate-rolldown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Fcreate-rolldown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Fcreate-rolldown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sunny-117","download_url":"https://codeload.github.com/Sunny-117/create-rolldown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sunny-117%2Fcreate-rolldown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28641293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T18:04:35.752Z","status":"ssl_error","status_checked_at":"2026-01-21T18:03:55.054Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundler","cli","create-app","rolldown","scaffolding","template"],"created_at":"2026-01-17T07:41:23.535Z","updated_at":"2026-01-21T20:00:45.951Z","avatar_url":"https://github.com/Sunny-117.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align='center'\u003e\n\u003csamp\u003ecreate-rolldown 🔧\u003c/samp\u003e\n\u003c/h1\u003e\n\n\u003cp align='center'\u003e\n  \u003csamp\u003e⚡️ Scaffolding tool for Rolldown library projects - a fast JavaScript bundler written in Rust, with TypeScript support and multiple framework templates\u003c/samp\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003c/p\u003e\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![License][license-src]][license-href]\n[![test](https://img.shields.io/badge/tests-77%20passed-brightgreen.svg)](https://github.com/sunny-117/create-rolldown)\n[![coverage](https://img.shields.io/badge/coverage-60.87%25-yellow.svg)](https://github.com/sunny-117/create-rolldown)\n\n## Features\n\n- 🚀 **Fast Setup** - Create a new Rolldown project in seconds\n- 🎨 **TypeScript First** - All templates use TypeScript by default\n- 📦 **Library Development Focus** - Templates designed for building and publishing JavaScript/TypeScript libraries, component libraries, and utility packages\n- 🎮 **Playground Included** - Framework templates include a Vite-powered playground for development and testing\n- 🔧 **Interactive \u0026 Non-Interactive Modes** - Flexible usage for both manual and automated workflows\n- 📦 **Smart Package Manager Detection** - Automatically detects and uses your preferred package manager (npm, pnpm, yarn, bun)\n- ⚡ **Immediate Start** - Optional flag to install dependencies and start playground immediately\n\n## Installation\n\n```bash\nnpm create rolldown@latest\n# or\npnpm create rolldown\n# or\nyarn create rolldown\n# or\nbun create rolldown\n```\n\n## Quick Start\n\n### Method 1: Interactive Mode (Recommended)\n\nSimply run the command and follow the prompts:\n\n```bash\nnpm create rolldown@latest\n```\n\nYou'll be prompted to:\n\n1. Enter a project name\n2. Choose a framework (Vanilla, React, Vue, Solid, or Svelte)\n3. Optionally install dependencies and start the playground immediately\n\n### Method 2: Non-Interactive Mode\n\nFor automated workflows or CI/CD pipelines:\n\n```bash\n# Create a project with all options specified\nnpm create rolldown@latest my-lib -- --template react --no-interactive\n\n# With immediate install and start\nnpm create rolldown@latest my-lib -- --template vue --immediate --no-interactive\n\n# Overwrite existing directory\nnpm create rolldown@latest my-lib -- --template solid --overwrite --no-interactive\n```\n\n## Supported Templates\n\n| Template  | Description                      | Use Cases                          | Playground |\n| --------- | -------------------------------- | ---------------------------------- | ---------- |\n| `vanilla` | Vanilla TypeScript library       | Utility libraries, tools, helpers  | ❌         |\n| `react`   | React library with TypeScript    | React components, hooks, utilities | ✅ Vite    |\n| `vue`     | Vue 3 library with TypeScript    | Vue components, composables        | ✅ Vite    |\n| `solid`   | SolidJS library with TypeScript  | Solid components, primitives       | ✅ Vite    |\n| `svelte`  | Svelte 5 library with TypeScript | Svelte components, actions         | ✅ Vite    |\n\n## Command Line Options\n\n```\nUsage: create-rolldown [project-name] [options]\n\nOptions:\n  -t, --template \u003ctemplate\u003e    Specify a template (vanilla, react, vue, solid, svelte)\n  --overwrite                  Overwrite existing files in target directory\n  -i, --immediate              Install dependencies and start playground immediately\n  --interactive                Force interactive mode (default in TTY)\n  --no-interactive             Force non-interactive mode (default in non-TTY)\n  -h, --help                   Display this help message\n```\n\n## How It Works\n\n1. **Parse CLI arguments** using `mri`\n2. **Detect mode** (interactive vs non-interactive based on TTY and flags)\n3. **Collect configuration** (project name, template, options)\n4. **Validate inputs** (package name format, directory conflicts)\n5. **Copy template files** to target directory\n6. **Update files** (package.json name, metadata)\n7. **Optionally install dependencies** and start playground\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\n💛 [MIT](./LICENSE) License © [Sunny-117](https://github.com/Sunny-117)\n\n## Related Projects\n\n- [Rolldown](https://rolldown.rs) - Fast JavaScript bundler written in Rust\n- [tsdown](https://tsdown.dev) - TypeScript bundler built on Rolldown\n- [create-vite](https://github.com/vitejs/vite/tree/main/packages/create-vite) - Inspiration for this project\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/create-rolldown?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[npm-version-href]: https://npmjs.com/package/create-rolldown\n[npm-downloads-src]: https://img.shields.io/npm/dm/create-rolldown?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[npm-downloads-href]: https://npmjs.com/package/create-rolldown\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/create-rolldown?style=flat\u0026colorA=080f12\u0026colorB=1fa669\u0026label=minzip\n[bundle-href]: https://bundlephobia.com/result?p=create-rolldown\n[license-src]: https://img.shields.io/github/license/Sunny-117/create-rolldown.svg?style=flat\u0026colorA=080f12\u0026colorB=1fa669\n[license-href]: https://github.com/Sunny-117/create-rolldown/blob/main/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunny-117%2Fcreate-rolldown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunny-117%2Fcreate-rolldown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunny-117%2Fcreate-rolldown/lists"}