I’ve been working on bobnet.nl - this is a kind of “side project container” (SPC?) or “personal web app platform” (PWAP?). It’s hosted on Cloudflare.
I noticed that a number of apps I had been building, such as research together, summon and socrates all revolved around making LLM inference requests. Since these are fundamentally hobby projects, I didn’t want to cover the cost of making these requests. A common approach in this case is to let users provide a key in the browser, which is then usually stored in localStorage, e.g. on a site like backrooms.directory. This adds a bit of friction - the user needs to open OpenRouter or some other inference gateway, go into settings, issue an API key, make some kind of decision around budgets and usage limits, and then copy it (should it go in a password manager?) into the app. Given that I want to make a lot of apps (why not?), it would be a huge pain for users to have to do this every time. Can I build something that makes this easier? That’s when I had the idea for bobnet.
Basically, I wanted single-sign on for my side projects. Users should be able to sign up once with their email address (I’m using the Better Auth library, with magic links), enter in their OpenRouter key once (this is handled via OpenRouter’s PKCE flow, this is kind of like oAuth but it returns an API key), then use it for all of my apps. The API key is encrypted at rest and users can always revoke it by going into their own OpenRouter settings. The apps themselves don’t have direct access to the API key - they make requests to an internal gateway, which injects the key into the request and sends it to OpenRouter. This reduces the potential “blast radius” of any mistakes that I (or Claude) makes while working on the apps themselves.
Having a shared user identity across my apps is useful for privacy/compliance as well. If a user shares something (like a generated artifact), then they should be able to take it down. If a user sees something that they think is inappropriate, they should be able to report it to a moderator. I’d like to be able to ban users that misbehave. It also gives me a way to communicate with users for marketing purposes, or when the privacy policy changes.
I have a number of things I want to do next: