Skip to content
@bitcode-framework

bitcode-framework

AI-Native, Metadata-Driven Application Framework. Build any application from JSON definitions. Modular and extensible.

BitCode Framework

AI-Native, Metadata-Driven Application Framework

Build any application — ERP, CRM, HRM, inventory, project management, or custom business logic — from JSON definitions.

Work in Progress — Actively developed. Not production-ready yet.

GoTypeScriptRustLicense: MITStatus


What is BitCode?

BitCode is a modular, metadata-driven framework that reads JSON definitions and produces running applications. Define your data models, APIs, business processes, views, and workflows in JSON — the Go engine interprets them at runtime.

It is not just an ERP. BitCode is a general-purpose application framework that happens to ship with ERP-grade modules. Use it for:

  • ERP — Accounting, inventory, procurement, manufacturing
  • CRM — Contacts, deals, pipeline, activities
  • HRM — Employees, attendance, payroll, recruitment
  • Project Management — Tasks, sprints, timesheets
  • Custom Business Apps — Any domain-specific workflow

Inspired by Odoo, Frappe, and NocoBase. Designed for extensibility from day one.

JSON is the source code. Go is the runtime. Modules are the packaging.

How It Works

JSON Metadata (models, APIs, views, workflows, permissions)
|
BitCode Engine (Go)
├── Compiler — JSON → validated AST
├── Runtime — Process executor, DAG engine, agents, workflow
├── go-json — Embedded JSON/JSONC programming language
├── Security — RBAC, record rules, field-level encryption, audit log
└── Server — REST, GraphQL, WebSocket, SSR templates
|
Stencil Web Components (119 components)
|
Tauri Native Shell (desktop + mobile, offline-first)

Repositories

Core Engine

RepoDescription
bitcodeFull monorepo — Go engine + components + Tauri shell. Source of truth.
go-jsonStandalone JSON/JSONC programming language engine. 20 step types, 135+ functions, lambda, pattern matching, structs, I/O modules, web server. Embeddable.
go-json-runtimesScript runtimes for go-json — Goja (JS), QuickJS, Yaegi (Go), WASM, Node.js, Python. Each opt-in.

UI & Native

RepoDescription
ui-stencil-web-components119 Stencil Web Components. Fields, charts, data tables, dialogs, media viewers. Framework-agnostic, works in plain HTML.
ui-tauriTauri 2.0 native shell. Desktop (Win/Mac/Linux) + Mobile (iOS/Android). Offline SQLite, native bridge, sync engine.

Samples & Tools

RepoDescription
erpSample ERP application (CRM + HRM) built with BitCode.
pg_fast_data_transferFast PostgreSQL data transfer utility.

Capabilities

AreaWhat You Get
Data LayerModels with 30+ field types, relationships (many2one, one2many, many2many), computed fields, validations, sanitization
APIAuto-CRUD from model definitions, REST + GraphQL + WebSocket, OpenAPI/Swagger
Business LogicProcess engine (14 step types), workflow state machines, model lifecycle events, DAG executor
SecurityRBAC with record rules, JWT auth, 2FA, field-level encryption (AES-256-GCM), audit log, rate limiting
Scriptinggo-json language + external scripts (Python, JS, Go) orchestrated from JSON programs
ViewsList, form, kanban, calendar, chart — auto-generated from model metadata
UI119 Web Components, 4-level data fetching, 3-level validation, theming, i18n (11 languages)
OfflineLocal SQLite, outbox pattern, delta sync, field-level conflict resolution
NativeDesktop + mobile via Tauri, barcode scanning, biometric auth, push notifications
Multi-DBSQLite, PostgreSQL, MySQL, MongoDB

Tech Stack

LayerTechnology
RuntimeGo 1.24+, Fiber v2, GORM
Scriptinggo-json, expr-lang, Python, JavaScript, Go (via runtimes)
DatabaseSQLite, PostgreSQL, MySQL, MongoDB
ComponentsStencil.js, ECharts, Tiptap, CodeMirror, Leaflet, FullCalendar
Native ShellTauri 2.0 (Rust)

Quick Start

go install github.com/bitcode-framework/bitcode/cmd/bitcode@latest
bitcode serve

Server at http://localhost:8080. SQLite created automatically. Zero config.

Project Status

BitCode is under active development. Core engine is functional with 570+ tests passing. See individual repos for detailed status.

License

MIT

Popular repositories Loading

  1. go-json go-jsonPublic

    General-purpose JSON/JSONC programming language engine in Go. 20 step types, 135+ functions, lambda expressions, structs, I/O modules, web server.

    Go 1

  2. pg_fast_data_transfer pg_fast_data_transferPublic

    Forked from brainplusplus/pg_fast_data_transfer

    Postgres Fast Data Transfer Migration

    Go

  3. go-json-runtimes go-json-runtimesPublic

    Script runtime engines for go-json. Goja, QuickJS, Yaegi, WASM (wazero), Node.js, Python, native plugins. Opt-in, zero heavy pulls.

    Go

  4. ui-web-components ui-web-componentsPublic

    119 enterprise Stencil Web Components. Fields, charts (ECharts), data tables, layout, dialogs, media viewers. Framework-agnostic, works in plain HTML.

    TypeScript

  5. ui-tauri ui-tauriPublic

    Tauri 2.0 native shell for BitCode. Desktop (Win/Mac/Linux) + Mobile (iOS/Android). Offline SQLite, native bridge, sync engine.

    Rust

  6. .github .githubPublic

    Organization profile

Repositories

Showing 9 of 9 repositories

Top languages

Loading…

Most used topics

Loading…