尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證buildzr is a Python DSL for authoring C4 architecture models
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Define your C4 software architecture in Python, then build it and explore it in an interactive browser viewer.
No install: edit a model and watch the viewer update.
with blocks and >> relationships.buildzr serve, builds your model and serves a viewer that you can zoom, search and link to.The quickest way is the in-browser demo: edit a model and run it, with nothing to install.
To run buildzr on your machine, install uv (it finds or fetches a compatible Python) and run:
uvx buildzr serve --example
This serves a bundled example workspace and prints its address. Open it to explore the interactive viewer. You do not need a project, a model file or Node.js. If you prefer a browser tab, press Run Code on the complete Quick Start example: it runs without installing anything.
Let your coding agent model your architecture for you. The buildzr skill teaches it to write model files, build them, fix build errors, serve the viewer and answer questions about your model.
Install the skill in your project:
npx skills add amirulmenjeni/buildzr
Then ask your agent:
Use buildzr to model the architecture of this repository. Read the code, create or update
the model in workspaces/, add a system context view and a container view, build it, and
tell me how to open it with buildzr serve.
The agent builds the model and tells you how to open the viewer. See Use buildzr with AI agents for the requirements and what the agent can do.
To write a model yourself, start a project. You need:
node --version.pip install buildzr instead of uv add buildzr.Create a project and install buildzr:
uv init hello-buildzr
cd hello-buildzr
uv add buildzr
mkdir workspaces
Save this model as workspaces/hello.py:
from buildzr.dsl import (
Workspace,
SoftwareSystem,
Person,
StyleElements,
SystemContextView,
)
with Workspace('hello') as w:
user = Person('User', description='A user of the system')
system = SoftwareSystem(
'Web Application',
description='Our main web application'
)
user >> "Uses" >> system
StyleElements(
on=[user],
shape='Person'
)
SystemContextView(
software_system_selector=system,
key='system-context',
description='System Context View',
auto_layout='tb'
)
Build and serve it:
uv run buildzr serve
Open http://127.0.0.1:8000/. The viewer shows your model; click a box to see its details. The Quick Start tutorial explains each step.
with, connect them with >>, group them, and extend an existing workspace. The DSL is type-hinted, so your editor can complete it.buildzr build writes each workspace as static web pages. buildzr serve builds what changed and serves them on your machine. See Serve your workspaces.buildzr serve also exposes a read-only JSON Model API for scripts and CI jobs.Found a problem? Check the issue tracker for known issues, and open one if something does not work.
buildzr is released under the MIT License.