@terrantula/local
v0.7.0
Published
Embedded SQLite + Hono backend for Terrantula local mode — powers `terrantula dashboard` and the first-five-minutes onboarding flow.
Maintainers
Readme
@terrantula/local
Embedded SQLite + Hono backend for Terrantula local mode. Powers terrantula dashboard and the first-five-minutes on-ramp — a single-tenant in-process control plane that speaks the same routes as the cloud API.
import { createLocalApp, openLocalDb } from '@terrantula/local'
const { db, close } = openLocalDb({ path: ':memory:' })
const app = createLocalApp({ db })
// app is a standard Hono instance — mount it under `Bun.serve({ fetch: app.fetch })`.Runtime requirement
This package imports bun:sqlite and only runs under Bun. Node.js is not supported.
License
Apache 2.0 — see LICENSE.
