Myelin-core
Overview
Community knowledge base for low-level systems performance — optimizations, gotchas, and snippets for C, Zig, Rust, and ASM. Machine-first API designed for both humans and agents.
A community knowledge base for low-level systems performance — optimizations, gotchas, and snippets for C, Zig, Rust, and ASM.
The API is designed to be consumed by both humans browsing docs and agents querying for patterns — a machine-first interface with human-readable structure.
Built on Hono running on Cloudflare Workers — globally distributed, sub-millisecond cold starts, no server to maintain.
NeonDB (serverless PostgreSQL) stores the knowledge entries. Drizzle ORM handles queries with full type safety. Upstash Redis caches hot entries.
Stack
Backend / API
UI / Frontend
Infra / Deploy
Database
Inspiration
Low-level performance knowledge is scattered across blog posts, Discord threads, and obscure wikis. Wanted a structured, queryable registry instead.
Structure
Architecture
Schema
How it works
Schema Design
Define knowledge entry structure: language, category, pattern, and performance context.
Drizzle ORM
Type-safe database layer with migrations managed via Drizzle Kit.
Hono Routes
REST API endpoints for querying, filtering, and submitting knowledge entries.
Zod Validation
Request/response validation at the API boundary.
Redis Cache
Upstash Redis caches frequently queried entries to minimize DB reads.
Deploy
Ship to Cloudflare Workers for global distribution.