News for hackers. Stuff that matters.
Re:Hoarder: Self-hostable bookmark-everything app by edoceo on Tuesday December 24, 2024 @09:39AM (#42502175)
I've one I built called Cras. Store all my neat things I find on the web there. Recently turned it into a PWA so it's a share-target on my phone (Android) which is awesome.

It's self-hosted and all packed into SQLite so, IMO, very portable.

Recently added a trick to snapshot all the public links I save - my copy and on Archive.is - link rot is real.

Re:Hoarder: Self-hostable bookmark-everything app by trestacos on Tuesday December 24, 2024 @09:59AM (#42502313)
I've been thinking about building a service that makes it easy to self host apps like this. I'm curious if you'd find it useful.

It would host webapps like yours that use in browser sqlite to store data, then the service provide a sync their sqlite data across different devices. The user not the app would pay for the storage of the data, so they would own their data. And you can use CSP to lock down the app from sharing with other domains, meaning an app can't leak your data.

The service would handle identity (only you can access your sqlite data - the app just ) and could provide an app store like experience with different apps of this type.

Sort of like a firebase style backend as a service, but the user would own the data instead of the app.

Re:Hoarder: Self-hostable bookmark-everything app by georgebcrawford on Tuesday December 24, 2024 @05:25PM (#42505386)
Is that what pikapods is? I ask out of ignorance, not "somebody is already doing that".
Re:Hoarder: Self-hostable bookmark-everything app by trestacos on Wednesday December 25, 2024 @12:51PM (#42510002)
Pikapods looks to be running containers for you, preconfigured for the self hosted apps they support. That's a cool service, I assume there are other similar services around.

The concept I'm thinking about is different - it doesn't run any app code on the server, the apps are SPAs that run in the browser only (no backend supporting code), and then the server just syncs the data from the apps. This means the apps can focus on building ux/business logic and not worry about database, how data gets to/from clients, identity, etc. Somewhat like firebase but where the users pays for the server, not the app. That should hopefully be simpler for developers, and theres a lot less likelihood of issues with server config/etc (although presumably pikapod will handle that). It should also be cheaper since you're not constantly running a container, just storing data.

I'm not sure if it's a useful concept or not yet :)

Re:Hoarder: Self-hostable bookmark-everything app by jonotime on Wednesday December 25, 2024 @07:56AM (#42508576)
I am working on this problem from another angle. Where instead of hosting, the user only has to bring a sync solution. No services or auth needed - only storage. See more here: https://github.com/jonocodes/savr?tab=readme-ov-file#why-ano...
Re:Hoarder: Self-hostable bookmark-everything app by paul-tharun on Wednesday December 25, 2024 @06:05AM (#42508198)
is it open source? Can you share the link for it please.
Re:Hoarder: Self-hostable bookmark-everything app by edoceo on Wednesday December 25, 2024 @09:19AM (#42508886)
Not yet, but I will.
Re:Hoarder: Self-hostable bookmark-everything app by CRConrad on Wednesday December 25, 2024 @02:41PM (#42510690)
> Recently added a trick to snapshot all the public links I save - my copy and on Archive.is - link rot is real.

Someone here needs exactly that: https://news.ycombinator.com/item?id=42502576 (And possibly me too.) So yeah, please do continue and then publish it.