Better HN
topnewbestaskshowjobs
Log inSign up

meistertigran

28 karma · joined Jan 29, 2016 (10y ago) · 35 submissions

contact: meistertigran@gmail.com site: htmlsync.io
Submissions

comment 11mo ago · link · parent

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.

comment 11mo ago · link · parent

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.

comment 1y ago · link · parent

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.

4.

Bionic Reading Font(github.com ↗)

4 points · by meistertigran · 1y ago · 2 comments

comment 1y ago · link · parent

What I took from this is that you have a really engaging writing style. Was interesting to read from start to finish.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

9.

Ask HN: Are vibe-coded self-contained HTML apps the future of personal tools?

4 points · by meistertigran · 1y ago · 8 comments

comment 1y ago · link · parent

You don't get localStorage persistence though.

comment 1y ago · link · parent

I had the same problem, regarding localStorage synchronization. For that I made htmlsync.io, but only really worth it for people who have many local apps like that and really need the localStorage sync.

comment 1y ago · link · parent

You can do that with htmlsync.io

comment 1y ago · link · parent

To be completely honest, I don't see how this is more useful than adding a sync layer to localStorage. I did make a service that does that at htmlsync.io and am genuinely curious how this solution is better.

comment 1y ago · link · parent

This is really cool. About to try it out!

I build something along those lines as well. My problem was that I couldn't synchronize localStorage data, so I made htmlsync.io.

comment 1y ago · link · parent

Can you share the paper mentioned in the demo video?

comment 1y ago · link · parent

I have been doing something very simillar!

Instead of giving it a VPS, I just made a tool that allows synchronization of localStorage data.

I now just upload the HTML it generates and have an app instantly.

comment 1y ago · link · parent

Org mode is nice, but ultimately you are adapting someone else's approach. The best is making your own, for which you know all features and which works exactly as you want it to work.

comment 1y ago · link · parent

This is accurate. It's about having something that works with your specific personality type.

That's why I personally just give some instructions to an LLM and create a simple scrapy HTML app that does exactly what I need.

comment 1y ago · link · parent

I think the key point here is that you made a solution for yourself. If you would've finished the one you started, you would've known all it's features and could've customized it to your liking. Personally I just use AI to spin up a quick HTML file that solves any personal productivity needs I have.

20.

Show HN: I made this Markdown journaling app you can use in the browser for free(htmlsync.io ↗)

1 points · by meistertigran · 1y ago · discuss

comment 1y ago · link · parent

I am working on htmlsync.io, an easy way to synchronize localStorage between devices. I found myself using AI a lot to generate single-file HTML web apps that saved data in localStorage and wanted to have access to them from phone. This was my solution.

22.

I Replaced Obsidian and Emacs Org-Mode with localStorage(htmlsync.io ↗)

1 points · by meistertigran · 1y ago · discuss

comment 1y ago · link · parent

You can create a demo directly in the home page. No signup required.

You don't even need to have a file, you can use a template.

comment 1y ago · link · parent

No problem. You can use the upload form on the homepage as well, it doesn't require a sign up.

comment 1y ago · link · parent

There's a button on the homepage "Watch How It Works", does that not open for you?

Here's a link to the video - https://www.youtube.com/watch?v=PbKFCEUy2ps.

26.

Show HN: I built a tool to sync localStorage between devices(htmlsync.io ↗)

5 points · by meistertigran · 1y ago · 6 comments

12