Settings

Theme

Show HN: Savior – Automatic form draft recovery for real-world failures

github.com

1 points by Pepp38 a month ago · 1 comment · 1 min read

Reader

Savior is a tiny, dependency-free JavaScript library that prevents users from losing form input after refresh, navigation, tab close, or browser crashes.

It handles real-world edge cases like corrupted storage, dynamic forms, and partial failures. No backend, no sync, no framework coupling.

Tested with 18 automated suites and a 25-scenario manual crash-test matrix.

Pepp38OP a month ago

Author here.

I built an autosave system, then spent time trying to break it on purpose: tab crashes, reloads, SPA navigation, storage failures, interrupted sessions.

What surprised me wasn’t that autosave fails, but how often these failure modes only show up in production, after users lose data.

Not trying to sell anything here. Mostly curious how others have dealt with autosave and data-loss prevention in real apps.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection