/Knowledge/sources/honojs__hono/examples/blog-readme-md--75d4ce304ebb.md

Example: blog/README.md - hono-docs

Example: blog/README.md Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://raw.githubusercontent.com/honojs/examples/main/blog/R...

Example: blog/README.md

Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://raw.githubusercontent.com/honojs/examples/main/blog/README.md#usage

Summary

Install dependencies: sh npm install Rename wrangler.example.toml to wrangler.toml: sh mv wrangler.example.toml wrangler.toml Setup KV: ```sh wrangler kv:namespace create BLOG_EXAMPLE --preview šŸŒ€ Creating namespace with...

Content

Install dependencies:

npm install

Rename wrangler.example.toml to wrangler.toml:

mv wrangler.example.toml wrangler.toml

Setup KV:

wrangler kv:namespace create BLOG_EXAMPLE --preview

šŸŒ€ Creating namespace with title "hono-example-blog-BLOG_EXAMPLE_preview"
✨ Success!
Add the following to your configuration file in your kv_namespaces array:
{ binding = "BLOG_EXAMPLE", preview_id = "xxxxxxxxxx" }
wrangler kv:namespace create BLOG_EXAMPLE

šŸŒ€ Creating namespace with title "hono-example-blog-BLOG_EXAMPLE"
✨ Success!
Add the following to your configuration file in your kv_namespaces array:
{ binding = "BLOG_EXAMPLE", id = "yyyyyyyyyy" }

Copy KV id:

kv_namespaces = [
  { binding = "BLOG_EXAMPLE", preview_id = "xxxxxxxxxx", id = "yyyyyyyyy" }
]

Run a development server:

npm run dev

Publish:

npm run deploy

Metadata

{
  "chunk_index": 0,
  "citation": "https://raw.githubusercontent.com/honojs/examples/main/blog/README.md#usage",
  "coverage_role": "examples",
  "qualified_title": "Hono / examples / hono-example-blog > Usage",
  "repo_path": "blog/README.md",
  "retrieved_at": "2026-07-02T05:51:01Z",
  "section_index": 3,
  "source_id": "/honojs/hono",
  "source_type": "examples",
  "target_label": "examples",
  "title": "Example: blog/README.md",
  "upstream_url": "https://raw.githubusercontent.com/honojs/examples/main/blog/README.md",
  "version": "2026"
}
Example: blog/README.md - hono-docs