The best Hacker News stories from Show from the past day
Latest posts:
Show HN: Exploring Mathematics with Python
Show HN: Exploring Mathematics with Python
Show HN: Exploring Mathematics with Python
Show HN: Tonbo – an embedded database for serverless and edge runtimes
Show HN: No more writing shitty regexes to police usernames
Every product that allows usernames eventually ships the same broken solution. Someone adds a blacklist. Then a regex. Then another regex copied from StackOverflow. It works just long enough to ship, and then `admin`, `support`, city names, brand impersonation, and obvious slurs start leaking through anyway. Everyone knows it’s fragile, but it gets ignored because "it’s just usernames".<p>I’ve had to rebuild this logic across multiple products, and I got tired of pretending it’s a solved problem. So I built *username.dev*, an API that answers a more useful question than "is this taken?" — it tells you what a username actually represents.<p>Instead of returning a boolean, the API classifies usernames into real categories like brands, public figures, places, system-reserved terms, dictionary words, premium handles, and offensive content, and returns structured metadata you can actually make decisions with. That means blocking impersonation without breaking legitimate users, stopping abuse without maintaining massive regex lists, and even monetizing high-demand usernames if that’s part of your product.<p>Under the hood it’s intentionally boring infrastructure: Cloudflare Workers at the edge, KV for fast reads, D1 for usage and analytics, and a simple HTTP endpoint (`GET /check?input=foo`). P95 latency sits around 300ms globally. There’s no ML magic, no black box, and no attempt to be clever — just fast, deterministic classification.<p>Pricing is usage-based and prepaid because subscriptions for infrastructure like this are annoying. There’s a free tier with 1,000 requests and no credit card. Use it, throw it away, or rip the idea off.<p>If you think regex blacklists are "good enough", usernames don’t matter, or this is a trivial problem, you’re probably already shipping bugs — they’re just not loud enough yet.<p>Tell me why this is a bad idea, what edge cases I’m missing, or what you’ve duct-taped together instead.<p>— Sourabh
Show HN: Turn raw HTML into production-ready images for free
Show HN: Turn raw HTML into production-ready images for free
Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator
i started the selenium project 21 years ago. vibium is what i'd build if i started over today with ai agents in mind.
go binary under the hood (handles browser, bidi, mcp) but devs never see it. just npm install vibium. python/java coming.
for claude code: claude mcp add vibium -- npx -y vibium
v1 ships today. ama.
Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator
i started the selenium project 21 years ago. vibium is what i'd build if i started over today with ai agents in mind.
go binary under the hood (handles browser, bidi, mcp) but devs never see it. just npm install vibium. python/java coming.
for claude code: claude mcp add vibium -- npx -y vibium
v1 ships today. ama.
Show HN: Vibium – Browser automation for AI and humans, by Selenium's creator
i started the selenium project 21 years ago. vibium is what i'd build if i started over today with ai agents in mind.
go binary under the hood (handles browser, bidi, mcp) but devs never see it. just npm install vibium. python/java coming.
for claude code: claude mcp add vibium -- npx -y vibium
v1 ships today. ama.
Show HN: Minimalist editor that lives in browser, stores everything in the URL
I wanted to see how far I could go building a notes app using only what modern browsers already provide – no frameworks, no storage APIs, no build step.<p>What it does:<p>Single HTML file, no deps, 111 loc<p>Notes live in the URL hash (shareable links!)<p>Auto-compressed with CompressionStream<p>Plain-text editor (contenteditable)<p>History support<p>Page title from first # heading<p>Respects light/dark mode<p>No storage, cookies, or tracking<p>The entire app is the page source.<p><a href="https://textarea.my/" rel="nofollow">https://textarea.my/</a>
Show HN: Minimalist editor that lives in browser, stores everything in the URL
I wanted to see how far I could go building a notes app using only what modern browsers already provide – no frameworks, no storage APIs, no build step.<p>What it does:<p>Single HTML file, no deps, 111 loc<p>Notes live in the URL hash (shareable links!)<p>Auto-compressed with CompressionStream<p>Plain-text editor (contenteditable)<p>History support<p>Page title from first # heading<p>Respects light/dark mode<p>No storage, cookies, or tracking<p>The entire app is the page source.<p><a href="https://textarea.my/" rel="nofollow">https://textarea.my/</a>
Show HN: Minimalist editor that lives in browser, stores everything in the URL
I wanted to see how far I could go building a notes app using only what modern browsers already provide – no frameworks, no storage APIs, no build step.<p>What it does:<p>Single HTML file, no deps, 111 loc<p>Notes live in the URL hash (shareable links!)<p>Auto-compressed with CompressionStream<p>Plain-text editor (contenteditable)<p>History support<p>Page title from first # heading<p>Respects light/dark mode<p>No storage, cookies, or tracking<p>The entire app is the page source.<p><a href="https://textarea.my/" rel="nofollow">https://textarea.my/</a>
Show HN: Minimalist editor that lives in browser, stores everything in the URL
I wanted to see how far I could go building a notes app using only what modern browsers already provide – no frameworks, no storage APIs, no build step.<p>What it does:<p>Single HTML file, no deps, 111 loc<p>Notes live in the URL hash (shareable links!)<p>Auto-compressed with CompressionStream<p>Plain-text editor (contenteditable)<p>History support<p>Page title from first # heading<p>Respects light/dark mode<p>No storage, cookies, or tracking<p>The entire app is the page source.<p><a href="https://textarea.my/" rel="nofollow">https://textarea.my/</a>
Show HN: Python SDK – forecasting with foundation time-series and tabular models
We’ve built a Python SDK for running inference on foundation models designed for time-series and tabular data. They are new SOTA models for time-series and tabular tasks and work out of the box. They do not require model training or feature engineering. The link to the GitHub repository is:
<a href="https://github.com/S-FM/faim-python-client" rel="nofollow">https://github.com/S-FM/faim-python-client</a>
Show HN: Yapi – FOSS terminal API client for power users
I shared a previous version of yapi a few months ago in the comments section of a post talking about the insanity of Postman being 'down'. yapi has developed into a more mature project since then!<p><a href="https://github.com/jamierpond/yapi" rel="nofollow">https://github.com/jamierpond/yapi</a><p>Still very early, but it makes me much more productive vs Postman, Bruno, Insomnia, etc.<p>If youre a nvim/tmux culture human, you might like this!
Show HN: I wrote a small lib to turn a USB gamepad into a Bluetooth one
I had two old USB gamepads lying around that I wanted to use, but my computer is too far from the couch, so I wrote a little ESP32-S3 firmware that turns USB gamepads into Bluetooth ones.<p>You connect your gamepad to the ESP32-S3 with an OTG cable, power the ESP32 with either 5V somehow or a powered USB hub, and now you can pair the controller via Bluetooth to your PC!
Show HN: C-compiler to compile TCC for live-bootstrap
Show HN: C-compiler to compile TCC for live-bootstrap
Show HN: CineCLI – Browse and torrent movies directly from your terminal
Hi HN<p>I built CineCLI — a cross-platform terminal app to browse movies, view details,
and open torrents directly in your system torrent client.<p>Features:
- Search movies from the terminal
- Rich UI with ratings, runtime, genres
- Interactive & non-interactive modes
- Magnet handling via system default client
- Linux/macOS/Windows support
- No ads, no tracking<p>GitHub: <a href="https://github.com/eyeblech/cinecli" rel="nofollow">https://github.com/eyeblech/cinecli</a>
PyPI: <a href="https://pypi.org/project/cinecli/" rel="nofollow">https://pypi.org/project/cinecli/</a><p>Would love feedback from terminal + Python folks