Skip to main content
New@honocube/admin is coming soon!

Honocube

Lightweight, type-safe resource framework for Hono and Drizzle

import { createApp, DrizzleAdapter } from "@honocube/api";
import { db } from "./db";

export const { defineResource, defineApi } = createApp({
adapter: new DrizzleAdapter(db),
});

export const posts = defineResource({
name: "posts",
table: postsTable,
validator: z.object({ title: z.string() }),
});
🛡️

Type-Safe Resources

Define your API as a collection of resources. Get full TypeScript support and automatic Zod validation for every endpoint.

🚀

Powered by Hono & Drizzle

Built on the fastest web framework for the edge and the most intuitive TypeScript ORM. High performance meets developer happiness.

🔋

Batteries Included

Automatic CRUD, complex relationships, file uploads, permissions, searching, and filtering - all available out of the box.