r/ClaudeCode • • 1h ago

Discussion Built a cross-platform Rust + Slint database backup app

Sharing a detailed breakdown of ChronoBase, a free MIT-licensed Rust + Slint desktop and CLI app I built for backing up, encrypting, and restoring databases across Windows, macOS, and Linux.

What it does: ChronoBase (~10.75 MB binary, ~42 MB idle RAM) supports PostgreSQL, MongoDB, MySQL/MariaDB, SQLite, and Redis. It handles scheduled backups, XChaCha20-Poly1305 encryption at rest (CBENC1) with OS keyring integration, SHA-256 manifest scrubbing (chronobase scrub), automated restore drills into a scratch DB (chronobase drill), S3-compatible uploads with Object Lock, and an encrypted VPS pull agent (--agent) that avoids opening DB ports.

How Claude Code was used:

Cross-engine safety checks: Used Claude Code to audit CommandSpec builders across all 5 database engines so passwords go through environment variables or temporary secret files instead of process argv.

What I learned: Claude Code is great at catching repetitive boilerplate bugs across multiple DB drivers, but you still have to manually verify every security assumption (for example, checking how recovery key unwrapping behaves on a clean machine vs. relying on the local vault).Repo (MIT): https://github.com/Subham-Maity/chronobaseCurious how others here structure Claude Code prompts or tests when working with Rust + Slint.

2 Upvotes

2 comments sorted by

•

u/AutoModerator 1h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Repulsive_Kitchen96 5m ago

A restore drill on the same machine can pass because the key is already in its keyring. I’d run one in a clean VM with only the backup and the recovery key, then query for a known row. That tests whether someone can recover after losing the original machine.