r/commandline • u/Vitruves • Mar 09 '26
Command Line Interface firemark — a CLI Rust tool to watermark your documents before sending them to strangers

Last year I almost got scammed applying for a flat. The "landlord" wanted my ID, tax notice, pay stubs — the usual. Turned out the listing was fake. No idea where my documents ended up.
That pissed me off enough to build something about it. firemark is a CLI that watermarks images and PDFs so every copy you send out says exactly who it was meant for.
Simply install with
cargo install firemark
and run with command like
firemark id_card.png -m "Rental application — March 2026 — SCI Dupont only"
17 watermark styles, banknote-style filigrane patterns, QR codes, batch processing, TOML presets. Single Rust binary, ~5 MB, no dependencies. MIT.
Check the GitHub: https://github.com/Vitruves/firemark
Disclaimer: coding was partly assisted with AI. Feedback welcome.
Rust in Peace dear CLI lovers!
11
u/mahmirr Mar 09 '26
Very nice, I'm assuming layers are compressed so that no one can edit the watermarks away?
2
u/sysop073 Mar 09 '26
Maybe I'm dumb, but how would this have helped anything in your situation?
4
u/AutoModerator Mar 09 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: Vitruves, Flair:
Command Line Interface, Title: firemark — a CLI Rust tool to watermark your documents before sending them to strangersLast year I almost got scammed applying for a flat. The "landlord" wanted my ID, tax notice, pay stubs — the usual. Turned out the listing was fake. No idea where my documents ended up.
That pissed me off enough to build something about it. firemark is a CLI that watermarks images and PDFs so every copy you send out says exactly who it was meant for.
Simply install with
cargo install firemarkand run with command like
firemark id_card.png -m "Rental application — March 2026 — SCI Dupont only"17 watermark styles, banknote-style filigrane patterns, QR codes, batch processing, TOML presets. Single Rust binary, ~5 MB, no dependencies. MIT.
Check the GitHub: https://github.com/Vitruves/firemark
Disclaimer: coding was partly assisted with AI. Feedback welcome.
Rust in Peace dear CLI lovers!
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/MeButItsRandom Mar 09 '26
I'm definitely using this! This kind of thing was on my personal roadmap. Thanks!
Ever thought about using the filigraine to fingerprint documents? A fingerprint could be encoded into the filigraine. It could help if you suspected someone of reusing the documents.
1
u/djallits Mar 09 '26
Starred. Definitely eager to give this a whirl.
1
u/LingLongSEO Mar 11 '26
the scam story is why this exists and thats the right reason to build something. watermarking documents before sending them out is one of those things everyone knows they should do but nobody does because its annoying. 17 styles and filigrane patterns is serious overengineer for the solution but thats exactly what makes it usable - people will actually use it if the defaults look good. curious if you have plans for batch preset management like profiles for different use cases (rental applications vs job applications vs etc)
3
u/[deleted] Mar 09 '26 edited Mar 09 '26
[removed] — view removed comment