HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
MatthewTheCoder1218
princejs
TypeScript2025–2026
MatthewTheCoder1218 / princejs

princejs

The smallest backend framework and among the top three in the world.

3Distinct people
9Mentions
0Explicit recommenders
182GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

The smallest backend framework and among the top three in the world.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by week9 dated mentions

Observed mentions: 2025-11-10 18:46:30 UTC to 2026-01-17 19:17:00 UTC. Weeks start Monday, UTC.

02462025-11-10 00:00:00 UTC to 2025-11-17 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsNov 102025-11-17 00:00:00 UTC to 2025-11-24 00:00:00 UTC (exclusive): 6 mentions; 3 submissions, 3 comments2025-11-24 00:00:00 UTC to 2025-12-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2025-12-01 00:00:00 UTC to 2025-12-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-12-08 00:00:00 UTC to 2025-12-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsDec 82025-12-15 00:00:00 UTC to 2025-12-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-12-22 00:00:00 UTC to 2025-12-29 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-12-29 00:00:00 UTC to 2026-01-05 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-05 00:00:00 UTC to 2026-01-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-01-12 00:00:00 UTC to 2026-01-19 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsJan 12

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Nov 102025-11-10 00:00:00 UTC2025-11-17 00:00:00 UTC110
Nov 172025-11-17 00:00:00 UTC2025-11-24 00:00:00 UTC633
Nov 242025-11-24 00:00:00 UTC2025-12-01 00:00:00 UTC110
Dec 12025-12-01 00:00:00 UTC2025-12-08 00:00:00 UTC000
Dec 82025-12-08 00:00:00 UTC2025-12-15 00:00:00 UTC000
Dec 152025-12-15 00:00:00 UTC2025-12-22 00:00:00 UTC000
Dec 222025-12-22 00:00:00 UTC2025-12-29 00:00:00 UTC000
Dec 292025-12-29 00:00:00 UTC2026-01-05 00:00:00 UTC000
Jan 52026-01-05 00:00:00 UTC2026-01-12 00:00:00 UTC000
Jan 122026-01-12 00:00:00 UTC2026-01-19 00:00:00 UTC110

What Hacker News says

9 sources

Show HN: PrinceJS – Now with OpenAPI, Zod Validation, and Built-In Middleware

Hey HN, Matthew here (13, from Nigeria). Following the great feedback on my initial PrinceJS post [1], I'm back with a major update focused on real-world usability. *What's New:* • *OpenAPI Docs*: Automatic `/docs` endpoint for your API. • *Input Validation*: Built-in, type-safe validation powered by Zod. • *Essential Middleware*: CORS, logging, rate limiting, and static file serving are now included. • *JSX Support*: Option to render HTML directly for full-stack apps. • *Clean Starter*: Use `bun create princejs my-app` to begin. The core is still fast (~21.7k req/s, 2.2 kB) and dependency-free, but now it's a complete toolkit. These additions address the "what's missing?" question from the first thread. I'd love your brutal feedback on these new features and the developer experience. Try it: `bun create princejs my-app` GitHub: https://g
Read the rest
1 points · Open discussion

Show HN: PrinceJS v1.7.7 Update. Down to 2.2 kB and top (13yo dev)

Hey HN (update from my Nov 21 post), Matthew here, 13 from Nigeria. After the autocannon correction (thx @saltyaom!), here's v1.7.7 of PrinceJS. New since launch: • Bundle: ~2.2 kB gzipped (tree-shaking tweaks, down 600 bytes) • Speed: 21,748 req/s on oha (-c 100 -z 30s, Bun 1.2.x) – top 3 confirmed • Vs others: Hono 22,124 | Elysia 25,312 | Express 9,325 Full server (8 lines): import { prince } from "princejs"; const app = prince(); app.get("/", () => "Hello world "); app.get("/users/:id", (req) => ({ id: req.params.id })); app.listen(3000); Cloud VM benchmarks next. Feedback on size/speed? Repo: https://github.com/MatthewTheCoder1218/princejs npm i princejs Matthew (@Lil_Prince_1218)
1 points · Open discussion

Show HN: PrinceJS – From Wrong Benchmarks to Honest Results (13yo Dev)

I'm 13 and built PrinceJS, but my first benchmarks were wrong. HN helped me fix them: What I learned: Was using autocannon (too slow for Bun) instead of oha Real benchmarks: 21,748 req/s (top 3 among Bun frameworks) Fixed security issues in JWT/rate limiting Current status: Competitive with Elysia/Hono on real benchmarks Honest about capabilities, no more "fastest" claims Try it: bun add princejs GitHub: https://github.com/MatthewTheCoder1218/princejs Would love feedback on what features to add next!
1 points · Open discussion
After my original post, the Hacker News community helped me identify critical issues with my benchmarking approach. Here's what I learned: The Problem: I used autocannon for benchmarking, which can't handle Bun.serve speeds (as pointed out by Elysia's maintainer) Made exaggerated performance claims Had security vulnerabilities in JWT implementation The Fix: Switched to oha for accurate benchmarks: 21,748 req/s (placing PrinceJS among top 3 Bun frameworks) Fixed all security issues Removed "fastest" claims, now positioning honestly as competitive Technical Details: Real oha results: Elysia (25,312), Hono (22,124), PrinceJS (21,748), Express (9,325) Running on Windows 10 with: oha -c 100 -z 30s Next step: Cloud VM testing for consistent, reproducible benchmarks The framework is now more honest about its capabilities while still delivering c
Read the rest
ompetitive performance. Lesson learned: accuracy and security matter more than impressive numbers. Try it: bun add princejs GitHub: https://github.com/MatthewTheCoder1218/princejs
In PrinceJS: Benchmark Corrections and Lessons from a 13-Year-Old Developer
some more after reading the source: - JWT needs to be validated, as it is, your implementation[1] happily accepts anything, you can impersonate anyone you want. I'd argue that it's a bad default choice too [2] - baking-in resend.com as email provider is unlikely to be useful for most people - x-forwarded-for [3] is only added by proxy servers, and will often not be present. This means you'll be applying a shared rate limit to most of your users - the 'ai' helper is missing from the code. If this is vibe-coded, having tests for the examples will help keep it cohesive Sorry if this is a lot, I hope it can help. [1] https://github.com/MatthewTheCoder1218/princejs/blob/main/sr... [2] https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-ba... [3] https://github.com/MatthewTheCoder1218/princejs/blob/main/sr...
In Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)
this is pretty fun, slick to think you can do things like this now and it will be performant: https://github.com/MatthewTheCoder1218/princejs/blob/main/sr... interesting to dig deep into the bun runtime (it's in zig) to see how this remains efficient. it's a heap: https://github.com/oven-sh/bun/blob/509a97a43516fe4f6d4ff400... of these: https://github.com/oven-sh/bun/blob/509a97a43516fe4f6d4ff400... pretty cool clean and simple code for the framework (and bun).
In Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)

Show HN: PrinceJS – 19,200 req/s Bun framework in 2.8 kB (built by a 13yo)

Hey HN, I'm 13, from Nigeria, and I just released PrinceJS — the fastest web framework for Bun right now. • 19,200 req/s (beats Hono/Elysia/Express) • 2.8 kB gzipped • Tree-shakable (cache, AI, email, cron, SSE, queue, test, static...) • Zero deps. Zero config. Built in < 1 week. No team. Just me and Bun. Try it: `bun add princejs` GitHub: https://github.com/MatthewTheCoder1218/princejs Docs: https://princejs.vercel.app Brutal feedback welcome. What's missing? – @Lil_Prince_1218
151 points · Open discussion

Show HN: Princejs – <10 kB Bun framework by a 13-year-old Nigerian, beats Hono

Hey HN, I’m Matthew — 13 years old, from Nigeria 24 hours ago I published princejs — a tiny Bun-native web framework I built in 3 days on my school Windows laptop. Real 30-second autocannon benchmarks (same route, same machine): - princejs → 256,000 requests (8,526 req/sec) - Hono → 241,000 - Elysia → 286,000 (still fastest but 2 MB+ unpacked) princejs beats Hono by 6%, is only ~10% behind Elysia, and is *200× smaller* (10 kB total, 178 lines of code, zero deps). Website + docs: https://princejs.vercel.app npm: npm i princejs I’m just a kid with a school laptop and a dream. Would love your feedback!
3 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.