frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Env-shelf – Open-source desktop app to manage .env files

https://env-shelf.vercel.app/
1•ivanglpz•2m ago•0 comments

Show HN: Almostnode – Run Node.js, Next.js, and Express in the Browser

https://almostnode.dev/
1•PetrBrzyBrzek•2m ago•0 comments

Dell support (and hardware) is so bad, I almost sued them

https://blog.joshattic.us/posts/2026-02-07-dell-support-lawsuit
1•radeeyate•3m ago•0 comments

Project Pterodactyl: Incremental Architecture

https://www.jonmsterling.com/01K7/
1•matt_d•3m ago•0 comments

Styling: Search-Text and Other Highlight-Y Pseudo-Elements

https://css-tricks.com/how-to-style-the-new-search-text-and-other-highlight-pseudo-elements/
1•blenderob•5m ago•0 comments

Crypto firm accidentally sends $40B in Bitcoin to users

https://finance.yahoo.com/news/crypto-firm-accidentally-sends-40-055054321.html
1•CommonGuy•5m ago•0 comments

Magnetic fields can change carbon diffusion in steel

https://www.sciencedaily.com/releases/2026/01/260125083427.htm
1•fanf2•6m ago•0 comments

Fantasy football that celebrates great games

https://www.silvestar.codes/articles/ultigamemate/
1•blenderob•6m ago•0 comments

Show HN: Animalese

https://animalese.barcoloudly.com/
1•noreplica•6m ago•0 comments

StrongDM's AI team build serious software without even looking at the code

https://simonwillison.net/2026/Feb/7/software-factory/
1•simonw•7m ago•0 comments

John Haugeland on the failure of micro-worlds

https://blog.plover.com/tech/gpt/micro-worlds.html
1•blenderob•7m ago•0 comments

Show HN: Velocity - Free/Cheaper Linear Clone but with MCP for agents

https://velocity.quest
2•kevinelliott•8m ago•1 comments

Corning Invented a New Fiber-Optic Cable for AI and Landed a $6B Meta Deal [video]

https://www.youtube.com/watch?v=Y3KLbc5DlRs
1•ksec•10m ago•0 comments

Show HN: XAPIs.dev – Twitter API Alternative at 90% Lower Cost

https://xapis.dev
1•nmfccodes•10m ago•0 comments

Near-Instantly Aborting the Worst Pain Imaginable with Psychedelics

https://psychotechnology.substack.com/p/near-instantly-aborting-the-worst
2•eatitraw•16m ago•0 comments

Show HN: Nginx-defender – realtime abuse blocking for Nginx

https://github.com/Anipaleja/nginx-defender
2•anipaleja•16m ago•0 comments

The Super Sharp Blade

https://netzhansa.com/the-super-sharp-blade/
1•robin_reala•18m ago•0 comments

Smart Homes Are Terrible

https://www.theatlantic.com/ideas/2026/02/smart-homes-technology/685867/
1•tusslewake•19m ago•0 comments

What I haven't figured out

https://macwright.com/2026/01/29/what-i-havent-figured-out
1•stevekrouse•20m ago•0 comments

KPMG pressed its auditor to pass on AI cost savings

https://www.irishtimes.com/business/2026/02/06/kpmg-pressed-its-auditor-to-pass-on-ai-cost-savings/
1•cainxinth•20m ago•0 comments

Open-source Claude skill that optimizes Hinge profiles. Pretty well.

https://twitter.com/b1rdmania/status/2020155122181869666
3•birdmania•20m ago•1 comments

First Proof

https://arxiv.org/abs/2602.05192
4•samasblack•22m ago•2 comments

I squeezed a BERT sentiment analyzer into 1GB RAM on a $5 VPS

https://mohammedeabdelaziz.github.io/articles/trendscope-market-scanner
1•mohammede•24m ago•0 comments

Kagi Translate

https://translate.kagi.com
2•microflash•24m ago•0 comments

Building Interactive C/C++ workflows in Jupyter through Clang-REPL [video]

https://fosdem.org/2026/schedule/event/QX3RPH-building_interactive_cc_workflows_in_jupyter_throug...
1•stabbles•25m ago•0 comments

Tactical tornado is the new default

https://olano.dev/blog/tactical-tornado/
2•facundo_olano•27m ago•0 comments

Full-Circle Test-Driven Firmware Development with OpenClaw

https://blog.adafruit.com/2026/02/07/full-circle-test-driven-firmware-development-with-openclaw/
1•ptorrone•28m ago•0 comments

Automating Myself Out of My Job – Part 2

https://blog.dsa.club/automation-series/automating-myself-out-of-my-job-part-2/
1•funnyfoobar•28m ago•1 comments

Dependency Resolution Methods

https://nesbitt.io/2026/02/06/dependency-resolution-methods.html
1•zdw•29m ago•0 comments

Crypto firm apologises for sending Bitcoin users $40B by mistake

https://www.msn.com/en-ie/money/other/crypto-firm-apologises-for-sending-bitcoin-users-40-billion...
1•Someone•29m ago•0 comments
Open in hackernews

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

https://princejs.vercel.app
151•lilprince1218•2mo ago
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

Comments

waschl•2mo ago
Mighty impressive
yahoozoo•2mo ago
Any real world app is going to be waiting on, primarily, IO. These benchmarks that just hit an endpoint that returns a simple object are useless.
tayo42•2mo ago
You would be otherwise just benchmarking the slow service if you benchmarked it any other way
koakuma-chan•2mo ago
What is being benchmarked there anyway? Receiving a request from the underlying HTTP library, calling the user's handler function, and passing the response back to the HTTP library? Hono, Elysia, PrinceJS... all these "frameworks" really are just routers, and Bun comes with its own router.
ricardobeat•2mo ago
No, you would be benchmarking the overhead of juggling several requests in flight, I/O and memory usage, which is what really distinguishes servers in terms of performance.
dlisboa•2mo ago
I know it's intentional but very amusing name considering the country of origin.
alexfoo•2mo ago
It’s almost certainly not because of the advance fee scam.

You don’t have to meet many Nigerians before you find one that claims to be some kind of a Prince back home.

Nigeria used to be hundreds/thousands of separate kingdoms and many people have a claim to be chiefs/kings of those historic kingdoms. Male descendants of such leaders will claim the unofficial title of Prince. They may not have any real national standing but such leaders will be respected by their local communities.

It may look like one big country but there’s no official single royal family (unsurprising since it is a Republic). To give an idea of the diversity of Nigeria consider the fact that the country has over 500 native languages that are actively spoken.

lilprince1218•2mo ago
I never knew of this bro.
swiftcoder•2mo ago
Congrats! That's a sleek framework.

Would love to see the benchmarks checked into source control somewhere so folks can reproduce them.

Can't say I'm the biggest fan of the way the sample code types itself out character-by-character. Took a while for the longer samples to finish typing themselves out.

jryan49•2mo ago
Agree get rid of the character-by-character animation. It's very annoying.
lilprince1218•2mo ago
Ok bro
Uptrenda•2mo ago
Damn smart kid. You're going to have a bright future. Stay away from bad influences and you'll be a star.
fwip•2mo ago
The github page claims "PrinceJS fits in a tweet," but also that it's 2.8kB after gzip compression.

Are tweets 2800 characters now? (Genuine question, I haven't used the place in years.

chuckadams•2mo ago
People with blue-check accounts get a 25000-char limit. Everyone else is at 280. Have had twitter/x aliased to localhost for a while now myself.
moralestapia•2mo ago
An actual nigerian prince that's not a scam. LOL.

Congrats on this, keep building more stuff!

jryan49•2mo ago
Considering this is barely any code at all I imagine it doesn't provide anywhere near the feature set other web frameworks do. Also there are no tests. How do you know it even works properly? Why would I trust that it works properly?
jryan49•2mo ago
I do want to applaud your efforts, especially at your age. Add some tests, and keep making things :)
lilprince1218•2mo ago
Ok bro thanks
gwd•2mo ago
I thought it was going to have something to do with this:

https://princejs.com/

lxe•2mo ago
Object.defineProperty on every request to set params / query / body is probably slower than regular property assignment.

Also parsing the body on every request without the ability to change it could hurt performance (if you're going for performance that is as a primary factor).

I wonder if the trie-based routing is actually faster than Elysia in precompile mode set to enabled?

Overall, this is a nice wrapper on top of bun.serve, structured really well. Code is easy to read and understand. All the necessary little things taken care of.

The dev experience of maintaining this is probably a better selling point than performance.

jasonjmcghee•2mo ago
Nice job building a thing and putting it out there. It's a great accomplishment.
super256•2mo ago
At that age I couldn't even code. Keep it up, young man :)
lilprince1218•2mo ago
Thanks boss
a-dub•2mo ago
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).

lioeters•2mo ago
Great job with building and releasing a project. The API looks intuitive, almost the same as Express. Documentation site is good! The animated code blocks is nice on front page but too distracting in the docs itself, I think.

A potential user would want to know: why is it faster? What's the compromise, if any. What specific quantifiable technical points make it faster than other libraries. Benchmarks and tests.

Overall the library feels like a polished open-source project, good attention to design and detail. Definitely valuable as part of a portfolio/resume. Keep going!

lilprince1218•2mo ago
Thank you boss
ramon156•2mo ago
Impressive stuff! I see you have contributions startins 2023, does that mean you started programming at 11?
lilprince1218•2mo ago
At ten actually
leeoniya•2mo ago
i was initially confused how 19.2K rps is notable when Express typically benchmarks around 15K rps [1].

however, the author is benchmarking a route with an id param here, not a static route.

[1] https://github.com/uNetworking/uWebSockets/discussions/1415

bitwize•2mo ago
Is from Nigeria

Has "Prince" in his HN nick and framework name

I smell either a rat, or an incredibly meme-savvy kid who leaned into the joke.

Anyways, congrats and keep on hacking!

lilprince1218•2mo ago
Thanks bro
stevepotter•2mo ago
I got emotional thinking about a 13 year old releasing this. No brutal feedback, just proud of you buddy. Keep it going!
lilprince1218•2mo ago
Thanks bro
silvestreh•2mo ago
This is really interesting, but I'd absolutely love if you could add a light theme to your website. I really can't read on a dark background, it kinda hurts my eyes and when I take my eyes off the screen I see a bunch of horizontal lines for a minute or so.
lilprince1218•2mo ago
Ok bro
lilprince1218•2mo ago
You asked. We delivered.

Next: tests + security fixes + reproducible benchmarks.

Thank you for making PrinceJS better.

— @Lil_Prince_1218 (13, Nigeria)

ricardobeat•2mo ago
Nice work! Some notes:

1. File size is a commonly highlighted metric for JS frameworks because of network transfer cost on the client side. For node/bun/deno frameworks, it isn't very relevant, especially the gzipped size.

2. In the benchmark, the number for all frameworks is quite low - I get closer to 80-100k req/s with Bun on my 3-year old machine. Might be worth using a standard VM size in a cloud provider to make it more meaningful.

3. "Cron" scheduling doesn't seem to belong in the library. This won't be very useful for real-world use cases, as soon as you have >1 node running a server you'll need some form of coordination. More size reduction :)

ricardobeat•2mo ago
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...

lilprince1218•2mo ago
Ok thanks. The ai is missing cause I couldn't fully implement it and I didn't want it half baked so I just took it out.
lilprince1218•2mo ago
Ok. Thanks you
lilprince1218•2mo ago
Ok sure. And my Laptop is almost 8 yrs old so
Alex_L_Wood•2mo ago
This is pretty impressive, wow! I always wanted to build a toy HTTP requests framework just to better understand the tools I’m working with, and here you are building the full thing.
altmind•2mo ago
Will you bench against techempower benchmarks?
lilprince1218•2mo ago
probably
mikeday•2mo ago
Ohhh Nigerian Prince, I thought it was a wrapper for our Prince HTML to PDF formatter, but there is also a JavaScript implementation of Prince of Persia lol.
lilprince1218•2mo ago
LoL
mpeg•2mo ago
This is cool, and it's a really impressive feat especially for someone with relatively little experience due to your age.

A few notes:

- it's easy to be faster than other routers when you're doing less, for example it seems wildcards are not supported yet, and there's no tests but I suspect there would be a lot of bugs in the way routes are handled. I wouldn't focus that much on speed

- your code organisation is ok for a personal project, but it could use a bit of structure. things are all over the place, I would try to separate pieces of functionality that can be developed (and, importantly, tested) in isolation. For example, your router could be its own module, that way it would also be easier to get started in writing unit tests. (once you've got some example code you can just offload a lot of the test writing to an LLM, then clean them up manually as it will do stupid things)

- your benchmarks are quite low in general, I don't know how good the node.js tool you're using for it is but I would give them a go with something like oha. also, it's very odd that hono beats elysia in your tests, in my own testing elysia is much faster than hono, but it suffers from the same tradeoffs as any trie based router (more set up time)

- instead of zod, you should use the @standard-schema/spec package, so that it can work with any validation library (including zod) – they have some nice type utilities too that simplify inferring types from schemas

lilprince1218•2mo ago
I'll make sure to implement that
londons_explore•2mo ago
Rather than requests per second, I prefer 'clock cycles per request'.

As well as being slightly more hardware independent, it also helps highlight exactly how efficient/inefficient the code must be.

This code is ~100k clock cycles per request.

stevage•2mo ago
How do you measure it?
lilprince1218•2mo ago
Ok I'll do that
jeremy_su•2mo ago
I think you are misunderstanding "Type-safe"

In traditional development, the backend engineer writes the API and writes the relevant documents. Then, the frontend developer writes the request API function based on the documentation.

However, in type-safe API development, once the backend API is finished, the frontend merely needs to install the API module and import the API function, eliminating the need for any manual wrap code.

But anyway, good job, you are build something, and it's amazing!!

gbuk2013•2mo ago
My favourite question to ask when seeing benchmark results such as this is “how much latency did you have / inject when running the benchmark”. This tends to lead to interesting conversations and learning. :)

One my favourite instances of this was in a benchmark measuring contest with a Golang enthusiast who was surprised to see that with a bit of latency his server was not 3x faster than Node.js like he thought it would be.

BewareTheYiga•2mo ago
This is amazing! It does everything but make the jollof.
rvz•2mo ago
Looks great.

However, there are no tests yet.

lilprince1218•2mo ago
I'll make sure to add that's
rvz•2mo ago
Other than that, well done and keep it up.
andrewmcwatters•2mo ago
Why would you tree-shake your backend?
sidcool•2mo ago
The name is interesting, considering it's created by a Nigerian.
virajk_31•2mo ago
damn! you are just 13yo, impressive. Do you even play with other kids your age?
lilprince1218•2mo ago
yh. only when im in school though. But not everyone gets me
RestartKernel•2mo ago
The readme and stats remind me of VanillaJS, which should be a sign that you're not making a fair comparison here. Anyhow, I think this can be a very educational experience if you keep adding features and benchmarking — it'll get slower, but you'll know exactly why.
RestartKernel•2mo ago
Here's the obligatory comment complimenting you on the project given your age too. It's certainly more advanced than anything I tried at that age.
lilprince1218•2mo ago
well i am still adding features. And thanks also
lilprince1218•2mo ago
and im totally fair. I mean its not me that decide what the computer outputs sometimes when i run my code, mine is even bulkier than them
oliwarner•2mo ago
Prince from Nigeria?

That's some incredible comedic insight for a 13yo.

fud101•2mo ago
Inspirational. Can you do a tutorial/blog post describing how it works and your thought process? I'd love to learn more about this kind of stuff.
lilprince1218•2mo ago
ok ill try that
az09mugen•2mo ago
Congrats for the good and impressive work. You also implemented very fast the remarks like zod and not animated docs.

Have you benchmarked again since you added zod and other features ? It's not related to the api in itself, but since I'm mainly a mobile user, can you make your website responsive ?

lilprince1218•2mo ago
sure
az09mugen•2mo ago
That was fast. Thanks for your honesty in the benchmarks. Well done !
lilprince1218•2mo ago
ur welcome :)
saltyaom•2mo ago
Hi! I'm a maintainer of Elysia, the framework you claim to have outperformed.

First of all, I admire you for taking the hard way of learning to build your own stuff, especially at your age.

However, I have a concern to believe that the benchmark result is a false positive, and inaccurate.

From my experience working and maintaining the Bun HTTP framework for 3 years since the first release of Bun 0.1.0. Bun.serve is extremely fast that autocannon (the benchmark tool you're using) cannot keep up with the performance, causing the report to be skewed from hitting the limit of the benchmark tool instead of an actual framework.

This is mentioned in Bun documentation. https://bun.com/docs/project/benchmarking#benchmarking-tools

- For load testing, you must use an HTTP benchmarking tool that is at least as fast as Bun.serve(), or your results will be skewed. Some popular Node.js-based benchmarking tools like autocannon are not fast enough.

It would be nice if you could update the benchmark with the tools that can report is faster than autocannon for the most accurate result.

Other than that, I'd say great job!

lilprince1218•2mo ago
wow the maintainer of elysia.

ummm i realized that. u guys are still up there but i am at top three. Just updated with oha :)