BiucingCLI
BiucingCLI is a scaffold generator for independent developers who want practical, reusable project starters built around a stable personal stack.
The project is being restarted from a clean slate with a narrower goal: generate useful project skeletons, not an all-purpose agent workflow.
Apple 模版默认生成 iOS、macOS、watchOS、tvOS 四个薄壳,使用静态组件 SDK、
精确依赖锁、SafeDI 2.0.0 和 C++20 共享核心。--platform 保留为默认操作平台选择。
详见 架构与实现记录。
Version
The current repository release target is 0.10.0. See the release notes for changes and migration notes.
biucing --version
See CHANGELOG.md for the latest release summary.
Installation
Install the PyPI release as an isolated command with uv:
uv tool install biucingcli==0.10.0
biucing --version
Upgrade with uv tool upgrade biucingcli, or run temporarily with
uvx --from biucingcli biucing --help.
To install the current checkout instead:
git clone https://github.com/anzihenry/BiucingCLI.git
cd BiucingCLI
uv tool install .
biucing --version
For contributor work, use uv 0.12.16 (the version pinned in CI). Python defaults
to 3.11 via .python-version; CI tests 3.11–3.14. uv installs the project and
locked development/build dependencies into .venv:
uv sync --locked
uv run --locked biucing list
uv run --locked python scripts/run-tests --suite core
uv run --locked ruff check --select E4,E7,E9,F src tests scripts
uv run --locked biucing validate
uv run --locked python scripts/verify-distribution
Core checks run on Linux and macOS without native SDKs. See testing
for macOS tool integrations and optional Android resource compilation.
See kernel modules for ownership and compatibility
boundaries, and template authoring to add templates.
The frontend rendering plan tracks CSR/SSG/SSR
variants. The shipped frontend now defaults to CSR (explicitly select it with
--set rendering=csr); --set rendering=ssg generates a static content site.
SSG production builds require an explicit public HTTPS SITE_URL for canonical
URLs and sitemap. --set rendering=ssr generates request-time HTML with a
self-hosted Node runtime, private server configuration and graceful shutdown.
See frontend artifact acceptance to run
all three modes from an installed wheel and understand the separate CI/release gates.
Manage dependencies with uv add, uv add --dev, and uv remove; commit
pyproject.toml and uv.lock together. For deliberate upgrades use
uv lock --upgrade-package PACKAGE, followed by uv sync --locked and tests.
The build group locks setuptools and wheel. Build from that synced environment
with uv build --no-sources --no-build-isolation; plain isolated uv build
does not use the build dependency versions from uv.lock.
See the uv development and publishing guide for local
builds, TestPyPI rehearsal, and automated PyPI publishing with uv publish.
Errors and Automation
For scripts, use --json; it disables interactive prompts. Successful JSON
results go to stdout. Failures leave stdout empty and write one JSON error
object to stderr with schema_version, ok: false, and error.code/message.
See the CLI error contract for exit codes and examples.
All JSON results include schema_version and generator_version; list/info
also expose each variable's validator, choices, and effective numeric bounds.
See the JSON contract for compatibility and field semantics.
Product Direction
BiucingCLI focuses on a small set of templates that match the maintainer's real development habits:
frontend: React Router Framework Mode CSR/SSG/SSR, React 19.3, TypeScript 7, Tailwind 4 and shadcn/ui; shared pnpm lockfile, Vitest and Playwright checksweb-service: Go + Gin web service starter with Docker development/runtime workflowsmicro-service: Go + Protobuf + Buf + Compose starter with gRPC, OpenTelemetry, and local dependency orchestrationworker: Go background worker starter with scheduled and oneshot execution modesapple: Swift 6.4 + SwiftUI + Tuist + SafeDI starter generating four thin Apple shells, versioned static XCFramework components, exact locks and a portable C++20 core; Android/HarmonyOS adapters remain future integrationsandroid: Kotlin + Gradle + Jetpack Compose Android app starter with fastlane and a committed Gradle wrapperharmonyos: ArkTS + ArkUI HarmonyOS app starter for DevEco Studio projects
The value is not broad ecosystem coverage. The value is generating starters that are restrained, readable, and worth using as a real base.
Intended Users
- Independent developers who frequently start new projects.
- Builders who prefer a consistent personal stack over endless framework choices.
- Developers who want fewer setup decisions at project start.
First Commands
biucing list
biucing info frontend
biucing info web-service
biucing info micro-service
biucing info worker
biucing info apple
biucing info android
biucing info harmonyos
biucing create frontend my-app --dry-run
biucing create web-service user-service --plan --json
biucing create frontend my-app
biucing create web-service user-service
biucing create micro-service user-service
biucing create worker email-worker
biucing create apple my-apple-app
biucing create android my-android-app
biucing create harmonyos my-harmony-app
Project Status
This repository contains a small internal template system with practical starters for seven flows:
frontendweb-servicemicro-serviceworkerappleandroidharmonyos
The current maturity split is:
frontend,web-service, andmicro-serviceinclude Docker development, verification, and runtime workflows. The migrated frontend's current verification limits are recorded in the rendering plan.workeris a backend-adjacent starter for scheduled and oneshot background execution, with generated-projectgo test ./...validation and Docker packaging.appleandandroidare now first-class native platform starters with stronger doctor flows, release guidance, richer starter architecture, and repeated real generated-project validation.harmonyosis an experimental native starter for ArkTS/ArkUI projects that open in DevEco Studio and expose bootstrap, doctor, lint, build, and signing guidance workflows.
Generator UX status:
biucing create ... --dry-runpreviews resolved variables, target location, template file count, and next steps without writing files;biucing create ... --plan --jsonreturns a machine-readable preview payload for scripts and automation;biucing create ... --jsonreturns a machine-readable manifest after a real generation run;- non-interactive create failures now report all missing required values together;
- all resolved inputs are normalized and validated before a target directory is created, including names, package identities, ports, versions, URLs, numeric bounds, and enumerated choices.
Template consistency status:
- template metadata now exposes verification tier, operating assumptions, and workflow labels;
- every template implements
make bootstrap,doctor,lint,test,verify,build,clean, andhelpas a shared command contract; biucing validatechecks the stronger metadata contract, input validator definitions, matching.PHONYMake targets, and family-level required starter entries;biucing info <template>now surfaces those consistency fields directly.
Worktree-first status:
- all seven templates now declare
worktree-readysupport metadata; - generated projects expose
make worktree-info,make worktree-doctor, andmake clean-worktree; - Docker-first starters isolate Compose project names, volumes, image tags, published host ports, dependency stores, and caches;
- Docker-first starters now expose port conflict advice and
make worktree-compose-configfor non-invasive Compose diagnostics; - native starters isolate build caches, local signing/config files, generated output, and debug install identity hooks where the platform supports them;
- native release evidence is now labeled as
static,doctor, orreal-buildso worktree claims do not overstate SDK-backed coverage.
Local Android validation status:
- the Android starter now includes a committed Gradle wrapper;
- the generated Android project has passed real lint, JVM unit tests, debug APK and release AAB builds, plus AAB integrity checks;
- the maintainer workstation has validated the Compose UI smoke test on
Biucing_API_35.
Local Apple validation status:
- the generated Apple starter has passed real
make generateverification for bothiOSandmacOS; iOSoutput now renders a mobile-specific starter structure and has passed realmake build;macOSoutput now renders a desktop-specific starter structure and has passed realmake test.
Local HarmonyOS validation status:
- the generated HarmonyOS starter has passed real
make bootstrapandmake verifyverification with a local DevEco Studio/HarmonyOS SDK install; make verifynow coversdoctor,lint, ArkTS/Hypiumtest, unsigned HAPbuild, and package artifact fingerprinting;make release-preflightandmake releaseare wired to local-only signing material and fail fast whenlocal.propertiesis missing or incomplete.
Design Docs
- Android template note: the current Android starter now includes a committed
gradle-wrapper.jar; if the team refreshes Gradle later, commit the regenerated wrapper files back into the repo. - 0.3.0 Plan
- 0.4.0 Plan
- 0.6.0 Plan
- 0.6.0 Worktree Task Breakdown
- Worktree Isolation Contract
- 0.6.0 Worktree Collision Audit
- 0.6.0 Release Prep
- 0.6.1 Plan
- 0.6.1 Worktree Hardening Task Breakdown
- 0.6.1 Release Prep
- 0.7.0 Release Notes
- 0.7.0 Release Prep
- 0.8.0 Release Notes
- 0.8.0 Release Prep
- 0.9.0 Plan
- 0.9.0 Release Notes
- 0.9.0 Release Prep
- 0.4.0 Release Prep
- 0.3.0 Release Prep
- Release Checklist
- Verification Matrix
- Product Design
- Roadmap
- Template System
- Web Service Team Environment Standard
- 后端服务整体架构(通用组件与 Docker 开发/部署)
- 后端服务 P1 实施与验证
- 后端服务 P2 实施与验证
- 后端服务 P3 实施与验证
- 后端服务 P4 单机生产交付与恢复验证
- 后端服务 P5 集群参考交付与验收边界
- 后端服务工程契约与 P0 选型
- 后端服务架构实施任务(阶段、依赖与验收)
- Web Service 架构(终端用户入口)
- Micro Service 架构(服务间调用入口)
- Microservice Team Environment Standard
- Apple Team Environment Standard
- Apple 四平台壳工程与组件架构(已确认目标)
- Android Team Environment Standard
- Android 壳工程与组件架构(已实现基线)
- Android 组件验证记录
- HarmonyOS Team Environment Standard
- HarmonyOS shell/component architecture
- HarmonyOS component verification
- Android Template Design
- Microservice Template Design(历史 starter 设计)
Metadata
Release files for biucingcli 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biucingcli-0.10.0.tar.gz | 799.9 kB | Without provenance | Details for biucingcli-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biucingcli-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for biucingcli-0.10.0-py3-none-any.whl |
Total release size: 1.7 MB
Release files / biucingcli-0.10.0.tar.gz
| Download URL | biucingcli-0.10.0.tar.gz |
|---|---|
| Size | 799.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e874ad06606a9445004e05dcbf6c899788712f2f06455633633486dceb4fc768
|
|
BLAKE2b-256 checksum How to use checksums |
1a09ddd8fa518585204e0a886ea0eebb7c21a3e0976f40acab4a083e44b0e2b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.16 {"installer":{"name":"uv","version":"0.12.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / biucingcli-0.10.0-py3-none-any.whl
| Download URL | biucingcli-0.10.0-py3-none-any.whl |
|---|---|
| Size | 906.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36b8bff3991412d0530a3a5a283cba37fdb7ade7a4257555be065a9efdefc168
|
|
BLAKE2b-256 checksum How to use checksums |
941c6f1ea49e409e2396164c081b15363f474021be3faa8c235c5433db94439d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.16 {"installer":{"name":"uv","version":"0.12.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for biucingcli 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.