Bops
A team of AI bots that runs your business ops: inbox, pipeline, invoices, reports. Each one has its own computer, email and phone number, and remembers everything.
翻译准备中
尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
The business OS your AI can safely change
翻译准备中
正在加载完整 README。
查看完整 README ↗Rangka OS is a source-available, declarative operating system for business apps (CRM, sales, invoicing, payments, stock, POS), built first for Indonesian small and medium businesses.
Every module, model, rule, flow, dashboard, print format, theme and backend capability is a .rk file: strict YAML,
checked by JSON Schema. The kernel turns those files into Postgres tables, a REST + MCP API, realtime events and the
screens of the web app. A running installation changes only through change sets: proposed (by a person, the
Console or the Raka AI agent), validated on a copy, previewed with their SQL, approved by a person, applied live and
revertible. Money and stock never depend on an LLM.
Status: alpha (
v0.5.0-alpha). Rangka runs end to end, backs up and restores, enforces permissions and row scope per organisation and outlet, and is being readied for its first pilot businesses. It is not yet a stable release. See Status.
custom/<model>.rk, never edits to the app..rk for the people at the counter or in the field, starting with
the POS counter: cart, hold, split tender, sessions with a blind close, receipts, stock per outlet; an offline outbox
with idempotency keys (contract 0030).--dry-run, --rollback, destructive steps refused unless
allowed), REST (/api/v1), SSE events, MCP tools, list aggregates, dashboards, PDF print formats, spreadsheet
imports, CSV export, attachments, plan limits. Every screen works from phone to desktop.skills/ gives Raka and any other agent harness the same Rangka skills
(contract 0035).system.rk decides the drivers. rangka backup / rangka restore archive the database, metadata and uploads.tools/rangka_validate.py) print
byte-identical reports: 107 codes, each with file:line:col.Needs Node.js 18+ and Docker (for Postgres), or a Postgres 16 of your own. Releases are pre-releases on the next
tag for now.
npm create @rangka-os@next my-shop # asks for the business name, template demo or blank
cd my-shop
npm install # installs the rangka binary for your platform
npm run db # Postgres 16 in Docker on port 54329
npm run setup # validate, migrate, seed
npm run dev # http://localhost:8080/app/
The CLI on its own: npx @rangka-os/cli@next validate --apps apps --site site.
docker run --rm -p 8080:8080 -v "$PWD:/srv" -e DATABASE_URL=postgres://… ghcr.io/rangka-os/rangka:0.5.0-alpha.5 serve
Pre-releases are tagged by version only; :latest follows the first stable release.
/srv is a project folder as written by npm create @rangka-os. A production compose file (Postgres, Caddy,
backups, systemd) with a runbook lives in deploy/juragan/.
Needs Go 1.24+ and PostgreSQL 16 server binaries (scripts/pgtemp.sh finds Homebrew, DBngin, Postgres.app and Debian
installs, or set PGBIN).
mkdir rangka && cd rangka
git clone [email protected]:rangka-os/rangka-os.git
git clone [email protected]:rangka-os/rangka-connectors.git
git clone [email protected]:rangka-os/rangka-ai.git # optional: Raka answers in the demo when built
cd rangka-os/kernel
make run-demo # throwaway Postgres → migrate → seed → serve on :8080; Ctrl-C cleans up
make run-demo ADDR=:8090 # when 8080 is taken
| URL | What |
|---|---|
| http://localhost:8080/app/ | The web app: dashboards, lists, forms, approvals, imports, print |
| http://localhost:8080/console/ | Rangka Console for operators (demo sign-in [email protected] / rangka-demo) |
| http://localhost:8080/api/v1/meta | Metadata API |
POST http://localhost:8080/mcp | MCP endpoint for AI clients |
make run-demo serves with --dev-open (API without sign-in, as the owner). Never use that flag on a real server.
Other commands, from kernel/:
make test-unit # go test without a database
make test # every package against a throwaway Postgres
make validate # validate the catalogue, sites and connectors
make compare-python # Go and Python validators must print identical reports
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗