Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
bun-runtime-simple - Skill - OpenSmartRoute
Skillv1.0.0
bun-runtime-simple
See `content/06-decision-tree.xml`. Branches: route count (≤5 simple / >5 needs grouping) → Hono with or without grouping. Auth shape (none / token / session) → Bun.password and which primitive to
Imported from faionfaion/faion-network (skills/faion/knowledge/dev/bun-runtime-simple/AGENTS.md). Install upstream with npx skills add faionfaion/faion-network --skill bun-runtime-simple. Copyright stays with the author.
Bun Runtime (Simple)
Summary
One-sentence: Generates a minimal but production-shaped Bun + TypeScript + Hono service skeleton using only Bun stdlib (no external Express, no bcrypt, no dotenv).
One-paragraph: Bun consolidates runtime + bundler + test runner + package manager + transpiler; using Bun while still pulling express + bcrypt + dotenv wastes half its value. This methodology scaffolds a Bun service that uses Hono for routing, Bun.password for hashing, Bun.file for I/O, native .env loading, and bun:test for tests. Output is a runnable repo skeleton plus a 'why Bun primitives over npm equivalents' rationale per choice.
Ефективно для:
Стартові projects, що хочуть Bun-perf без npm-tax.
Microservices that pin Bun as their only runtime (no Node fallback).
Demo / tutorial code: смужка коду 50 рядків замість 200 з Express.
Edge / serverless deploys where startup time matters (Bun cold-start < Node).
Applies If (ALL must hold)
Target runtime is Bun (≥1.1 with stable Bun.password API).
Service is greenfield (legacy Express migration is a different exercise).
Team accepts dropping Node-only deps (express, bcrypt, dotenv).
Skip If (ANY kills it)
Production already on Node + needs incremental migration.
Dep tree requires native-compiled packages incompatible with Bun.
Hosting platform doesn't support Bun (locked to Node runtime).
Ships with the Dockerfile or COPY . . bakes .env into the image.
Scripts
File
Purpose
When to call
scripts/validate-bun-runtime-simple.py
Validate the service-spec artefact + Bun version
After scaffold, before commit
Related
[[javascript-modern]] — TS-first principles still apply.
[[javascript-testing]] — bun:test is Jest-compatible; same patterns transfer.
Decision tree
See content/06-decision-tree.xml. Branches: route count (≤5 simple / >5 needs grouping) → Hono with or without grouping. Auth shape (none / token / session) → Bun.password and which primitive to use.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/faionfaion-faion-network-bun-runtime-simple/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "faionfaion-faion-network-bun-runtime-simple",
"kind": "skill",
"name": "bun-runtime-simple",
"description": "See `content/06-decision-tree.xml`. Branches: route count (≤5 simple / >5 needs grouping) → Hono with or without grouping. Auth shape (none / token / session) → Bun.password and which primitive to use.",
"publisher": "faionfaion",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-agents"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"See `content/06-decision-tree.xml`. Branches: route count (≤5 simple / >5 needs grouping) → Hono with or without grouping. Auth shape (none / token / session) → Bun.password and which primitive to use."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-agents",
"repository": "https://github.com/faionfaion/faion-network",
"path": "skills/faion/knowledge/dev/bun-runtime-simple/AGENTS.md",
"ref": "8e31684537e64d45c75264b1e0a2384f9b024a34",
"url": "https://github.com/faionfaion/faion-network/blob/8e31684537e64d45c75264b1e0a2384f9b024a34/skills/faion/knowledge/dev/bun-runtime-simple/AGENTS.md",
"key": "faionfaion/faion-network/skills/faion/knowledge/dev/bun-runtime-simple/AGENTS.md"
}
},
"instructions": "# Bun Runtime (Simple)\n\n## Summary\n\n**One-sentence:** Generates a minimal but production-shaped Bun + TypeScript + Hono service skeleton using only Bun stdlib (no external Express, no bcrypt, no dotenv).\n\n**One-paragraph:** Bun consolidates runtime + bundler + test runner + package manager + transpiler; using Bun while still pulling express + bcrypt + dotenv wastes half its value. This methodology scaffolds a Bun service that uses Hono for routing, Bun.password for hashing, Bun.file for I/O, native `.env` loading, and `bun:test` for tests. Output is a runnable repo skeleton plus a 'why Bun pri",
"cost": {
"context_tokens": 937
}
}
Fetch it by URL: GET /api/v1/registry/faionfaion-faion-network-bun-runtime-simple/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.