News for hackers. Stuff that matters.

khromov

Show HN: Bun-boss – Bun-native fork of the pg-boss queue package

https://www.npmjs.com/package/bun-boss

Happy to announce `bun-boss`, a Bun-native fork off the popular pg-boss package for setting up persistent queues, with the following changes: * Rewritten SQL adapter (pg => Bun.sql) * Support for SQLite * Supports Bun 1.3 and 1.4 canary releases + a bunch of internal Bun refactors (such as using the Bun test runner)

( Read More... | no comments | on HN )

Show HN: Mochi – a performance-first SveltKit alternative

https://mochi.fast/

Today I'm launching Mochi - a performance-focused alternative to SvelteKit. Mochi is built on an islands architecture and allows you to keep most components as performant server-side rendered code and hydrate just the components you need. This means smaller JavaScript bundles and faster performance for your users.Try it out with bun create mochi@latest or go to https://mochi.fast to check out...

( Read More... | no comments | 3 points | on HN )
Re:CVEs affecting the Svelte ecosystem on Thursday January 15, 2026 @03:38PM (#46638938)
Not from my reading. DoS are irrelevant, remote functions exploits don't apply and from my reading neither does the "XSS via hydratable" since a prerequisite is hydratable() which is a Remote Functions feature.
Re:Serverless Horrors on Sunday September 07, 2025 @04:56PM (#45162056)
CapRover is another good alternative, and also much more lightweight than Coolify, easily runs on even a 512MB server: https://caprover.com/
Re:Show HN: I built an LLM benchmark for Svelte 5 on Sunday June 01, 2025 @07:39PM (#44154601)
I haven't posted about the methodology yet but intend to. If you're interested in my initial impressions I made a video about it: https://youtu.be/SIwKKgkjlbU
Re:Anthropic launches its own $200 plan on Wednesday April 09, 2025 @06:15PM (#43638637)
Made a video comparing Gemini 2.5 Pro to Claude Sonnet 3.7 recently: https://www.youtube.com/watch?v=AVdVJ_hD_vo
Re:DuckDB performance improvements with the latest release on Monday November 06, 2023 @02:54PM (#38167962)
This is stupid and [the given reasoning](https://berthub.eu/articles/posts/anonymous-help/) makes no sense. If you post open source software and open issues for it, and I post a properly formatted, reproducible, clear issue, there is absolutely no reason for me to disclose my identity for the sake of your ego.
Re:Svelte 5 is going to be radical on Tuesday August 08, 2023 @12:34PM (#37051649)
There's about a 99% chance you can update from Svelte 3 to 4 without any code changes. Some code changes are performed automatically by the migration script: https://svelte.dev/docs/v4-migration-guide
I've used the same codebase for a PWA, iOS and Android app, but using Capacitor instead of Expo. Here is a blog post about the architecture: https://khromov.se/how-i-published-a-gratitude-journaling-ap...
Re:Why even let users set their own passwords? on Saturday July 22, 2023 @10:54AM (#36826736)
Great post, I came to much the same conclusion when building my app - a secure token is generated on account creation and users are encouraged to save it in case the need to restore their account. I blogged about the implementation below together with how the UI looks (under the "Authentication" heading): https://khromov.se/building-a-privacy-friendly-self-hosted-a...
WordPress is very fast out of the box considering all its capabilities, it's not hard to get in the range of 100ms TTFB out of the box on dirt cheap VPS servers, which is pretty good in my book. The problem is that people add very heavy themes and plugins that push them well above acceptable TTFB numbers.

Full Site Editing with the new Gutenberg editor have amended a lot of that, it's very performant out of the box. Just as an example, I have a site averaging about 200ms for uncached requests, it has an FSE theme and 20 installed plugins, including heavy ones like ACF.

This is all out of the box without cache, but by adding a simple static page cache (either a plugin or something like Fastly, Varnish etc.) you can make it so that the p95 latency drops by 80-90% because most people will see cached page views any way.

Older »