Readit News logoReadit News
meistertigran commented on Useful patterns for building HTML tools   simonwillison.net/2025/De... · Posted by u/simonw
dansjots · 12 days ago
I wonder if you can hack a LocalStorage sync feature via ATProto PDS, since you can put arbitrary JSON records via /xrpc/com.atproto.repo.putRecord and not just Bluesky posts.

The only drawback I can think of is that all of your commits are broadcast on a megaphone to the network firehose, but encryption can alleviate that somewhat.

meistertigran · 12 days ago
I am not familiar with it, but I was thinking about making an open source version of this, but using webRTC, to just directly allow peer-to-peer synchronization without a centralized server.

In this type of scenario there are a lot considerations to be made though, specifically since you can't use CRDT's to handle concurrent updates on the data you have to either 1) not allow offline use of the apps, 2) create a merge conflict resolving interface or 3) just overwrite all changes with the latest one.

Idk if people would be interested in this and I haven't been using my HTML tools for a while now, so it's just an idea, maybe someone else wants to work on.

meistertigran commented on Useful patterns for building HTML tools   simonwillison.net/2025/De... · Posted by u/simonw
meistertigran · 12 days ago
I was also heavy on these single-file HTML tools. My problem was not being able to sync the localstorage data between PC and smartphone. I made a paid service which did that automatically. It didn't take off unfortunately, and I am keeping it on maintenance mode because it has some amount of free users that rely on it.

For anyone interested, to achieve synchronization I basically just use the https://github.com/google/diff-match-patch lib and save the patches in a db for each version with a version id. Then there's a generic JS file that I inject to uploaded HTML files that monkey patches the localstorage methods and optimistically updates the localstorage at the same time sending the diff to the server to save to the db.

meistertigran commented on Bionic Reading Font   github.com/Born2Root/Fast... · Posted by u/meistertigran
abstractspoon · 3 months ago
Having learned a new way of reading to benefit from this font, what happens to your reading speed with regular fonts?

Also, what is the fascination with speed?!

meistertigran · 3 months ago
It's not about speed for me. Reading faster forces me to focus, while my mind wanders off when I read slowly.

I read fast and then stop to think about it.

meistertigran commented on My startup banking story (2023)   mitchellh.com/writing/my-... · Posted by u/dvrp
mitchellh · 4 months ago
Funny to see this pop up again (I'm the author). The year is now 2025 and I still use Chase as a personal bank and I'm now discovering new funny banking behaviors. I'll use this as a chance to share. :)

My company had an exit, I did well financially. This is not a secret. I'm extremely privileged and thankful for it. But as a result of this, I've used a private bank (or mix) for a number of years to store the vast majority of my financial assets (over 99.99% of all assets, I just did the math). An unfortunate property of private banks is they make it hard to do retail-like banking behaviors: depositing a quick check, pulling cash from an ATM, but ironically most importantly Zelle.

As such, I've kept my Chase personal accounts and use them as my retail bank: there are Chase branches everywhere, its easy to get to an ATM, and they give me easy access to Zelle! I didn't choose Chase specifically, I've just always used Chase for personal banking since I was in high school so I just kept using them for this.

Anyways, I tend to use my Chase account to pay a bunch of bills, just because it's more convenient (Zelle!). I have 3 active home construction projects, plus pay my CC, plus pretty much all other typical expenses (utilities, car payments, insurance, etc.). But I float the money in/out of the account as necessary to cover these. We do accounting of all these expenses at the private bank side, so its all tracked, but it settles within the last 24-48 hours via Chase.

Otherwise, I keep my Chase balance no more than a few thousand dollars.

This really wigs out automated systems at Chase. I get phone calls all the time (like, literally multiple times per week) saying "we noticed a large transfer into your account, we can help!" And I cheekily respond "refresh, it's back to zero!" And they're just confused. To be fair, I've explained the situation in detail to multiple people multiple times but it isn't clicking, so they keep calling me.

I now ignore the phone calls. Hope I don't regret that later lol.

meistertigran · 4 months ago
What I took from this is that you have a really engaging writing style. Was interesting to read from start to finish.
meistertigran commented on Web apps in a single, portable, self-updating, vanilla HTML file   hyperclay.com/... · Posted by u/pil0u
anyg · 4 months ago
This is pretty cool! What kind of users are you targeting? Technical folks or those dipping their toes into dev with vibe coding?
meistertigran · 4 months ago
Thanks! Pretty much, yes. Also if you are a dev and just don't want to spin up a server for every simple app you vibe code, you could find this useful.

To be honest, I wanted this for myself and felt guilty not making something more serious out of it since I liked the idea.

meistertigran commented on Web apps in a single, portable, self-updating, vanilla HTML file   hyperclay.com/... · Posted by u/pil0u
conradev · 4 months ago
Just like with https://tiddlywiki.com/

Your notes are the HTML file! You can keep it in your documents folder, sync it via any service, track it in version control, etc. It’s for folks who know what the filesystem is, don’t know how to host a server (or don’t want to), but want a website-like experience. Works offline, too!

meistertigran · 4 months ago
So like, Obsidian, but for HTML?

The file itself provides both the dynamic functionality and data storage, but you need an engine (like obsidian) to make the data persistence and dynamic parts work together. I.e. if there is a button that adds a task to a todo app, your engine modifies the HTML file with the new content.

meistertigran commented on Ask HN: Are vibe-coded self-contained HTML apps the future of personal tools?    · Posted by u/meistertigran
codingdave · 4 months ago
No, because vibe coded apps break. And if you are not someone who can write your own tools without vibe coding, you'll hit a wall and stop doing it when they break on you. FWIW, even the link you got your inspiration from is not actually a single HTML page, it is a full node server with a front-end framework... that happens to only output a single HTML page.

I will grant that it is possible that AI-assisted coding will make people who are already software devs create their own tools more often. But not the vibe coding thing, no.

meistertigran · 4 months ago
I share your opinion about the quality of vibe coded apps. It's definitely not something you can pull off with 0 programming knowledge at this moment. I don't know how the quality of LLM written code will change in the future, but I do believe a lot of custom apps that basically just store and display data can already be easily one-shotted.

The more complex the app becomes, the harder it will be to maintain it with vibe coding. Personally I have chosen to just create specialed apps, that do one thing well, to avoid that complexity.

u/meistertigran

KarmaCake day28January 29, 2016
About
contact: meistertigran@gmail.com site: htmlsync.io
View Original