Pure-C SDK, WebAssembly browser runtime, and encrypted leased delivery authority for native Linux x86_64 and browser applications.
Documentation
Manual Pages
Bark
Write once in C. Ship protected native desktop and browser applications.
Bark is a unified cross-platform C SDK, browser runtime, and managed lease/package authority for shipping commercial desktop and browser (WebAssembly) applications from a single C11 codebase โ with zero Electron overhead, cryptographically signed session tickets, and encrypted on-demand package delivery.
Platform Scope: Bark ships production-verified Linux x86\_64 native and Browser WebAssembly (WASM32) targets, plus native Windows x64 (win64) and macOS Apple Silicon (macos-arm64) desktop SDK/CI targets (Linux + WASM32 are production-verified; nativemacos-15/windows-latestCI runner validation is in progress).
Key Capabilities
- Single C11 codebase (
<bark/bark.h>,<bark/app_main.h>): Reactive UI, low-latency
full-duplex audio & voice DSP, WebRTC media/data channels, HTTPS/WebSocket networking, passkeys, and deep-link URIs compile natively and to WebAssembly.
- Zero-boilerplate browser shell (
bark/runtime/boot.js): Boot an encrypted
WebAssembly application in any HTML page with a single <script type="module"> tag.
- Drop-in backend partner SDK (
bark-partner.mjs): Zero-dependency ES module for
Cloudflare Workers, Node >= 20, and Deno to verify X-Bark-Ticket headers and mint or revoke per-user tokens.
- Zero source upload: Your source code and Ed25519 signing private key stay strictly
in your own repository and CI runner. Your CI pushes only signed, encrypted packages to https://tty.pt/bark/partner/publish.
- Self-hosted backend freedom: Host your application's API, database, and realtime
backend anywhere (Cloudflare Workers, Fly.io, AWS, bare metal). Bark acts strictly as your package, runtime, and lease authority.
Documentation
- Licensing Overview (
tty.pt) โ Plain-language overview of Open-Source Core,BPL-1.0,BUL-1.0, and the Ethical Use Covenant (/licences| PT-PT). - Ethical Use Covenant (
v1.0) โ Conscience standards, vetting, revocable licence terms, and fairness guarantees (/bark/covenant| PT-PT). - Bark Publisher Licence (
BPL-1.0) & BPL Schedules โ SDK, runtime distribution, Design A third-party EULA rules, and publisher schedules (/bark/bpl| PT-PT). - Bark Usage Licence (
BUL-1.0), BUL Schedules & Optional Publisher Template โ End-user licence fortty.ptBark-protected software and optional template for third-party publishers (/bark/bul| PT-PT). - Bark Runtime Pass-Through Notice โ Mandatory 1-page clause for third-party publishers using their own EULA (
/bark/runtime-notice| PT-PT). - Getting Started โ Install the SDK, scaffold an app with
bark-init, and develop 100% offline. - Application Architecture โ
<bark/app_main.h>, split slices, session upgrades, and the 1-tag browser shell. - Backend Integration โ Integrating
bark-partner.mjswith Cloudflare Workers, Node, or Deno. - Plugins & Split Slices โ Built-in speech recognition (
BARK_PLUGINS := stigma) and encrypted post-login slices. - Portable Multi-Platform CI โ Publishing from GitHub Actions, GitLab CI, Forgejo, or local shell with
bark-ci.
Publisher Access
Bark is available strictly to vetted publishers who affirm the Bark Ethical Use Covenant (/bark/covenant) and the Bark Publisher Licence (BPL-1.0) (/bark/bpl) and receive explicit operator authorization. Apply for publisher access or manage your subscription, registered apps, signing public keys, scoped CI/partner tokens, and SDK downloads in the Bark Publisher Portal.