尚未检测到更新。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.