@symbiosika/create-app

Scaffold a new fullstack app from the symbiosika template (Bun + Hono backend, Vue 3 frontend, framework wired in as a live git submodule).
526
Install
npm install @symbiosika/create-app
Latest Version:0.2.0
License:MIT
Last Updated:Oct 17, 2026
Links: npm
Maintainer: wertania

@symbiosika/create-app

Scaffolder for the symbiosika fullstack template — a Bun + Hono backend and a Vue 3 frontend, with the symbiosika-framework wired in as a live git submodule.

Usage

npm create @symbiosika/app@latest my-app
# or
bunx @symbiosika/create-app my-app

Then follow the printed next steps.

Options

Flag Description
--branch <name> Framework submodule branch (default: develop)
--template <url> Template repo to clone (default: symbiosika/template_fullstack-app)
--repo <url> Git remote of the new project (URL or GitHub owner/name); added as origin and used in the README. Asked interactively if omitted.
--no-install Skip bun install for backend & frontend
--no-init Skip bun run init (secret generation)
-y, --yes Accept defaults, no prompts

How it works

The template is not a published library — it's a template repo that pulls the framework in via a git submodule. npm tarballs don't carry submodules, so a plain npm create can't reproduce the layout. This CLI therefore:

  1. git clone --depth 1 the template,
  2. drops the template's git history,
  3. git init a fresh repo,
  4. re-adds the framework as a live submodule (git submodule add -b <branch>), so the generated project keeps receiving framework updates via git submodule update --remote,
  5. personalises the project: package names, appName in backend/src/index.ts, the <title> in frontend/index.html, the READMEs, the docker compose project name and (with --repo) the git remote,
  6. syncs framework dependencies and agent skills, installs deps and generates secrets.

The scaffolder's own folder (create-app/) and its publish workflow are stripped from generated projects.

Why is this package inside the template repo?

So the scaffolder and the template version together and never drift apart. The CLI is published to npm independently of the template — see PUBLISHING.md.

Development

bun install
bun run dev ./tmp-test    # run the scaffolder from source
bun run typecheck
bun run build             # bundle to dist/index.js

Related Packages

create-lumfall

lumfall 应用脚手架:一条命令从 GitHub 拉取并生成基础业务项目 / B 端管理台 / 技术...

560
@duxweb/dvha-template

Create DVHA project from template

6,499
@dengzhibo/create-vue3-template

基于 create-vue 的 Vue 3 项目模板

814
create-m2m-bo-template-vue

Scaffolding CLI for the M2M back-office vue template.

1,912
create-vue_zx

Vue 3 + Vite 标准化脚手架 — 快速搭建 Vue 3 项目开发环境

1,457

Version History

Version Released License
0.2.0 MIT
0.1.1 MIT
0.1.0 MIT