frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: AuthAI, an open-source relay for user-authorized AI sessions

https://github.com/authai-io/authai
1•riccardoio•1h ago
Hello HN,

My name is Riccardo and I created AuthAI for indie hackers.

The idea is quite simple: let the end users connect their chatgpt/grok/copilot account and route the AI requests through their AI subscriptions.

This enable a lot of new cool ideas where the business model/unit economics don't always make sense.

The flow is straightforward:

They click on "login with AI", choose their provider, and authorise the device on the provider's website.

Tokens get encrypted using a per-user AES-256-GCM encryption key, which isn't stored anywhere server-side and only exists within the user's JWT session. The whole security model can be found on the website/github.

Here is a demo:

https://demo.authai.io

From a developer's perspective, the objective is to stay as close to the OpenAI SDK as possible:

```ts const openai = new OpenAI({ apiKey: jwt, baseURL: "https://relay.authai.io/v1", defaultHeaders: { "x-authai-secret": process.env.AUTH_AI_SECRET, }, }); ```

Also, there is a React SDK for handling the connection flow.

* It's MIT licensed and completely open-source, there's a hosted relay available, however, the entire stack is self-hostable.

GitHub repo:

https://github.com/authai-io/authai

Would you use something like this for your generated applications and side projects? What else could I add?

CastIn2007: A 2007 styled YouTube clone I built out of boredom

https://cast-in2007.edgeone.app/
1•colinnW•1m ago•0 comments

AEO: Getting Started

https://hedge-ops.com/posts/answer-engine-optimization-playbook/
1•mooreds•2m ago•0 comments

Linux Foundation's Latest AI Effort Is Around AI Asset and Data Exchange

https://www.phoronix.com/news/Linux-Foundation-OpenSharing
1•daesorin•3m ago•0 comments

Object-Level Explanations for Image Geolocation Models: A GeoGuessr Use-Case

https://arxiv.org/abs/2605.00912
1•PaulHoule•3m ago•0 comments

Virtual Mailbox vs. Lawyer for Incorporating

1•svenv•4m ago•0 comments

AMA: I'm a Random HN User, ask me anything (and I might respond)

2•SpyCoder77•6m ago•3 comments

Show HN: AgentCarousel – behavioral tests for AI agents, with signed evidence

https://github.com/agentcarousel/agentcarousel
1•neemsio•6m ago•0 comments

Social Security Now Expects Shortfall Earlier, in Late 2032

https://www.wsj.com/politics/policy/social-security-trust-insolvency-2032-d26bf25e
2•JumpCrisscross•6m ago•1 comments

An Early Step on the Long Road to Photosynthesis

https://www.quantamagazine.org/an-early-step-on-the-long-strange-road-to-photosynthesis-20260610/
1•daesorin•6m ago•0 comments

New Anthropic privacy policy: age/identity verification for consumer accounts

https://www.anthropic.com/legal/privacy
2•vhantz•6m ago•1 comments

Air Canada pilot accused of flying over 900 flights without valid license

https://www.cbsnews.com/news/air-canada-pilot-arrested-hundreds-flights-no-valid-license/
1•naturalmovement•7m ago•0 comments

DiffusionGemma: 4x Faster Text Generation

https://blog.google/innovation-and-ai/technology/developers-tools/diffusion-gemma-faster-text-gen...
8•meetpateltech•8m ago•1 comments

Show HN: Extend UI – open-source UI kit for modern document apps

https://www.extend.ai/ui
1•kbyatnal•9m ago•0 comments

Detection of animal sounds using data augmentation and transfer learning

https://www.nature.com/articles/s41598-026-48308-6
1•PaulHoule•9m ago•0 comments

Show HN: AI watched my screen for a year. Weather beat sleep

https://donethat.ai/blog/dogfooding-donethat
1•christoph123•10m ago•0 comments

It Is the Nature of Desire Not to Be Satisfied

https://kammartinez.wordpress.com/2012/03/03/it-is-the-nature-of-desire-not-to-be-satisfied-a-rev...
1•jruohonen•11m ago•0 comments

Anthropic support does not exist

https://mg0x7be.github.io/anthropic-support-does-not-exist.html
1•VimEscapeArtist•11m ago•0 comments

Moniker.com shuts down startup without warning

1•alexanderlabrie•13m ago•0 comments

Gemma-4-31B at 256K context on a $1,400 AMD GPU – measured, with patches

https://github.com/KaiFelixBennett/gemma4-turboquant-rdna4
1•alsaha•13m ago•0 comments

Postgres by Example

https://github.com/boringcollege/postgres-by-example
3•thenewedrock•13m ago•0 comments

Would Claude Fable's shadownerfing making an anticompetitive class action case

2•hashmap•13m ago•0 comments

Conway's Game of Life as an artillery game [video]

https://www.youtube.com/watch?v=2olkLmmO8TU
1•lafferty•13m ago•0 comments

Anatomy of a high-performance EP kernel

https://fergusfinn.com/blog/anatomy-of-a-high-performance-ep-kernel/
1•kkm•14m ago•0 comments

Pentagon Official Admits Boat Strike May Have Killed Human Trafficking Victims

https://theintercept.com/2026/06/10/trump-boat-strikes-human-trafficking-victims/
1•ceejayoz•15m ago•0 comments

City Chicken vs. City Chicken: Berlin's Bloody Rotisserie Feud

https://www.heistberlin.com/news/nhas-city-chicken-sonnenallee-feud-prison-ramtin-torture/
1•randycupertino•17m ago•0 comments

Avalanche's desktop fusion reactor delivers blistering-hot plasma

https://techcrunch.com/2026/06/10/avalanches-desktop-fusion-reactor-delivers-blistering-hot-plasma/
1•Brajeshwar•17m ago•0 comments

An Interview with Jen Schreiber (2025)

https://ciamweekly.substack.com/p/an-interview-with-jen-schreiber
1•mooreds•18m ago•0 comments

Show HN: strangeClaw – a self-hosted agent running inside a Firecracker microVM

https://github.com/itsthestranger/strangeClaw
1•pstrange•19m ago•0 comments

Tell HN: Stack Overflow seems down

2•tom1337•19m ago•1 comments

My Journey in Open-Source Library Development

https://olegdubovoi.com/publications/my-journey-in-open-source-library-development/
1•empiree•19m ago•0 comments