From 23472bae6600432890dc7e979e32c5a17b20e632 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 6 Jan 2026 11:19:31 -0800 Subject: [PATCH] feat: add dev server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/dev/index.html | 33 +++++++++++++++++++++++++++++++++ src/dev/server.tsx | 14 ++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/dev/index.html create mode 100644 src/dev/server.tsx diff --git a/src/dev/index.html b/src/dev/index.html new file mode 100644 index 0000000..6adba2c --- /dev/null +++ b/src/dev/index.html @@ -0,0 +1,33 @@ + + + + + + Tiny Sprites + + + + +
+

Tiny Sprites

+
+
+ + + diff --git a/src/dev/server.tsx b/src/dev/server.tsx new file mode 100644 index 0000000..ef2390e --- /dev/null +++ b/src/dev/server.tsx @@ -0,0 +1,14 @@ +#!/usr/bin/env bun +import { Hono } from "hono" +import { serveStatic } from "hono/bun" +import index from "./index.html" + +const app = new Hono() + +app.use("/public/*", serveStatic({ root: "./" })) +app.get("/", (c) => c.html(index)) + +export default { + port: 3000, + fetch: app.fetch, +}