News for hackers. Stuff that matters.
Re:Show HN: Bramble – Local-first password manager by keepupnow on Thursday July 02, 2026 @08:31PM (#48769198)
You built your own sync engine? Why?
Re:Show HN: Bramble – Local-first password manager by ramon156 on Friday July 03, 2026 @02:29AM (#48771576)
Most sync engines are targeted towards being fast. I suppose for a PM you'd want one that's very resource efficienct. I'm just spitballing here, I'm not OP
Re:Show HN: Bramble – Local-first password manager by keepupnow on Friday July 03, 2026 @09:28AM (#48774784)
It's a hard feature to get right, it is complex and networking across the internet is unreliable. I am an advocate for local-first and P2P, but I would like to see contributions to existing libraries rather then weaker implementations
Re:Show HN: Bramble – Local-first password manager by MegagramEnjoyer on Friday July 03, 2026 @10:48AM (#48775733)
if you mean why I didn't choose a lib like automerge, yjs and instead handrolled it - that's because these libs are geared towards plaintext.

Bramble's sync is built around its own encrypted vault instead. When two devices conflict it just compares timestamps on the encrypted entries and keeps the newer one as-is, without ever unwrapping your per-entry keys to merge. Nothing off the shelf did that against my vault format, so the core is custom. It's a pretty simple implementation tbh

Re:Show HN: Bramble – Local-first password manager by jjnoakes on Friday July 03, 2026 @04:10PM (#48779380)
Last writer wins may be sufficient for some folks but for me, any potential data loss in an app like this is a deal breaker. I hope you'll consider some kind of merge conflict detection and surfacing that to the user. Even keeping a list of deleted items and showing that can be a good start.
Re:Show HN: Bramble – Local-first password manager by cicko on Friday July 03, 2026 @04:53PM (#48779824)
This deserves a bit more explanation (sorry, on the phone, can't look at the code in the next couple of days). So, if I change the password and update it on the phone, then add a web site on the desktop, when they sync, the desktop entry will overwrite the new password? Hope it's not that simple.