frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: One-line x402 pay-per-request protection for ElysiaJS APIs

https://github.com/codingstark-dev/x402-elysia
1•codingstark•1h ago
Hi HN — I’m sharing @codingstark/x402-elysia, an ElysiaJS (Bun) plugin that implements the x402 Payment Protocol to protect HTTP routes behind crypto micropayments.

What it does:

Lets you configure paid routes like "GET /api/weather" and enforce payment requirements (price, chain/network, recipient address).

If a client hits a protected route without a valid payment header, it returns 402 Payment Required describing what to pay; after payment, the request is allowed through and the handler runs.

Why I built it:

I wanted “pay-per-request” APIs in the Bun/Elysia ecosystem (same idea as existing x402 middleware in other frameworks, but native to Elysia).

I’m planning to use it to power paid endpoints in my own product (slaab.ai), but this repo is intended to be generally useful for any paid API.

How to try it:

Install: bun add @codingstark/x402-elysia

The README has a complete “Quick Start” showing .use(paymentMiddlewareFromConfig(...)).

Demo:

I also recorded a short video showing the flow (request → 402 → pay → retry → success): https://x.com/twitter/status/2027014126648672438

Feedback I’m looking for:

Does the configuration shape feel idiomatic for Elysia apps?

Any missing use-cases (multiple chains, paywall UX, internal bypass hooks) you’d want for production paid APIs?

Hardwood: A New Parser for Apache Parquet

https://www.morling.dev/blog/hardwood-new-parser-for-apache-parquet/
1•rmoff•58s ago•0 comments

Show HN: Self-contained offline knowledge cards with ULID-DNA and IDsEd25519

https://stoutenburger.com
1•tomneijman•1m ago•0 comments

Show HN: Nano Banana 2 – 4K AI Image Generator with Character Consistency

https://nanobanana2img.org/
1•Jenny249•1m ago•0 comments

Breaking the Fix-It Loop: Strategies for Collaborative AI Debugging

https://contalign.jefflunt.com/collaborative-debugging/
1•normalocity•1m ago•0 comments

CEO of World Economic Forum quits after Epstein ties come to light

https://www.reuters.com/world/ceo-world-economic-forum-quits-after-epstein-ties-scrutinised-2026-...
1•tartoran•1m ago•0 comments

Larry Summers to resign from Harvard over Epstein ties

https://www.reuters.com/world/us/larry-summers-resign-harvard-new-york-times-reports-2026-02-25/
3•tartoran•2m ago•0 comments

Show HN: CodevOS – Human-AI dev OS that shipped 106 PRs in 14 days on 80k LOC

https://cluesmith.com/blog/a-tour-of-codevos/
1•waleedk•2m ago•0 comments

Show HN: ApplyFlow – Free Kanban job tracker with multi-tier Chrome capture

https://www.applyflowtracker.com
1•santoshus•3m ago•0 comments

Links are getting curated by humans, for humans

https://linkits.xyz
1•max_cm•3m ago•0 comments

The Self-Driving Codebase

https://background-agents.com/
1•john_cogs•4m ago•0 comments

Ruby Can Create Images Again

https://rubystacknews.com/2026/01/05/ruby-can-create-images-again/
2•Kerrick•5m ago•0 comments

So, you think it's easy to change an app icon?

https://www.granola.ai/blog/so-you-think-its-easy-to-change-an-app-icon
1•issaias•6m ago•0 comments

Show HN: I built a conditional political donation system (demo)

https://demo.powerback.us/
1•powerback•7m ago•0 comments

Sentinel Protocol – open-source AI firewall

1•Raviteja_•9m ago•0 comments

Show HN: SupaSidebar – I made Arc's sidebar universal for every browser

https://www.supasidebar.com
1•supasidebar•10m ago•0 comments

Thermal Imaging for Cardiorespiratory and Sudomotor Response Monitoring

https://arxiv.org/abs/2602.12361
1•PaulHoule•11m ago•0 comments

Git City

https://www.thegitcity.com/
1•mellosouls•11m ago•0 comments

Show HN: Termstage – Animated terminal SVGs from YAML, no screen recording

https://github.com/saikatkumardey/termstage
1•saikatkumardey•11m ago•2 comments

Show HN: Phone a Friend for Claude Code – GPT, Gemini, DeepSeek via MCP

1•spranab•11m ago•0 comments

phyz@home: distributed quantum gravity

https://home.phyz.dev
1•ecto•11m ago•0 comments

Show HN: The von Neumann era is over. Fabricating physical 3-phase AC ternary AI

1•tech_founder•11m ago•0 comments

Non-Consumer Hardware Represents ~15% of YC W26

https://www.extruct.ai/research/industrial-tech-thesis/
1•zkid18•11m ago•0 comments

Area Man Discovers Gravity

https://campedersen.com/phyz-at-home
2•ecto•12m ago•0 comments

Garden Horizons Codes

https://garden-horizons.com/
1•candseven•12m ago•0 comments

Seized Art, Eavesdropping at Detention Center as Kids Shared Their Stories

https://www.propublica.org/article/dilley-detention-center-kids-art-removal
3•hn_acker•12m ago•2 comments

Show HN: Ccperm – Audit Claude Code permissions across projects

https://github.com/letsur-dev/ccperm
1•dongekon•13m ago•0 comments

Lindsay Casale π² on X: "Never Apply to Another Job Again" / X

https://twitter.com/LindsayCasale/status/2026758489276821655
1•bilsbie•14m ago•0 comments

Show HN: StageWright – A performance-focused Playwright reporter with AI

https://stagewright.dev/
1•qagaryparker•14m ago•0 comments

Non-public document reveals science may not be prioritized on next Mars mission

https://arstechnica.com/space/2026/02/a-non-public-document-reveals-that-science-may-not-be-prior...
1•LorenDB•14m ago•0 comments

Trapped in MS Office

https://ia.net/topics/trapped-in-ms-office
1•Coral-Tiny•14m ago•0 comments