• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
fiberplane

fiberplane

fiberplaneHonoZodStarter

Hono-Zod-OpenAPI with Fiberplane API Playground integration
Public
Like
3
fiberplaneHonoZodStarter
Home
Code
7
protected
1
routes
5
README.md
helpers.ts
H
index.ts
schema.ts
types.ts
Branches
1
Pull requests
Remixes
7
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
2/28/2025
Viewing readonly version of main branch: v123
View latest version
README.md

Example Hono-Zod-OpenAPI app with a Fiberplane API explorer.

For an example with regular-old Hono, see: https://www.val.town/v/fiberplane/fiberplaneHonoStarter

  1. Import @fiberplane/hono
Create val
import { createFiberplane } from "https://esm.sh/@fiberplane/hono@0.4.4";
  1. Expose your OpenAPI spec
Create val
app.doc("/doc", { openapi: "3.0.0", info: { title: "User Management API", version: "v1.0.0", }, });
  1. Mount the api explorer

This will mount it at the root /*, but you can mount it to another route, like /fp/* if you are using / for your main app. We recommend / if your Hono app is an API without a frontend.

Create val
app.use( "/*", createFiberplane({ openapi: { url: "/doc" }, }), );
  1. Visit your Val's root route to play with the API explorer!

How it Works

createFiberplane mounts Fiberpalne at the root route (/), which can be used to explore the api's routes and make requests. Think of it like an embedded, lightweight postman.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.