←back to thread

325 points davidbarker | 3 comments | | HN request time: 0.743s | source
Show context
WXLCKNO ◴[] No.44380250[source]
The tiniest step towards a future where AI eats all apps.

No persistent storage and other limitations make it just a toy for now but we can imagine how people will just create their own Todo apps, gym logging apps and whatever other simple thing.

no external API access currently but when that's available or app users can communicate with other app users, some virality is possible for people who make the best tiny apps.

replies(8): >>44380475 #>>44380603 #>>44380854 #>>44381271 #>>44381441 #>>44381833 #>>44385578 #>>44385787 #
1. meistertigran ◴[] No.44381271[source]
Actually implementing persistent storage for simple apps isn't that hard, especially for a big corp. Personally, I was using LLMs coding capabilities to create custom single-file HTML apps, that would work offline with localStorage. It's not that there aren't good options out there, but you can't really customize them to work exactly how you want. Also it takes like half an hours to get what you want.

The only downside was not being able to access the apps from other devices, so I ended up creating a tool to make them online accessible and sync the data, while using the same localStorage API. It's actually pretty neat.

replies(1): >>44384759 #
2. hucklebuckle ◴[] No.44384759[source]
Which tools did you make?
replies(1): >>44390041 #
3. meistertigran ◴[] No.44390041[source]
At first, I created a simple API via Python that was basically mimicking the localStorage API. It would accept getItem and setItem requests and write it to a file. In the HTML file I was replacing localstorage calls to calls to the API automatically, via a script that was doing a simple search-and-replace on the file. I was also assigning a custom subdomains via nginx to each html file, so that it could have the max 10MB storage that localstorage can have.

After a while it became clunky doing things with separate scripts, so I ended up creating - htmlsync.io. It's still pre-alpha, but registrations for the free tier are open.