whatisgithub

What is safedocument?

ingenieroseed/safedocument — explained in plain English

Analysis updated 2026-05-18

62HTMLAudience · generalComplexity · 1/5LicenseSetup · easy

In one sentence

A single offline HTML file that destructively watermarks ID photos with a stated purpose, so reuse means forgery, not recovery.

Mindmap

mindmap
  root((SafeDocument))
    What it does
      Destructive watermark
      Purpose bound copies
      Field redaction
    Tech stack
      HTML
      JavaScript
      No dependencies
    Guarantees
      Offline only
      CSP blocks network
      Auditable single file
    Use cases
      Share ID for hotel check in
      Send document for a stated purpose
      Redact unneeded fields
    Audience
      Privacy conscious users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Watermark a copy of an ID document with a specific stated purpose before sending it to a hotel or landlord.

USE CASE 2

Redact fields like a signature or ID number that the recipient does not need before marking the document.

USE CASE 3

Verify a tool's privacy claims by reading its Content Security Policy instead of trusting a README promise.

What is it built with?

HTMLJavaScript

How does it compare?

ingenieroseed/safedocumentnhclimber87/llm-serve-dashboardruanyf/website
Stars626262
LanguageHTMLHTMLHTML
Last pushed2023-02-14
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity1/52/51/5
Audiencegeneraldevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

No install needed, just download the single HTML file and open it in a browser, ideally offline.

CC0 1.0, released into the public domain, free to use, copy, and modify with no restrictions.

So what is it?

SafeDocument is a single HTML file, with no dependencies, no build step, no server, and no network access, that adds a destructive watermark to photos of ID cards, passports, or invoices before you send them somewhere like a hotel or landlord. The README explains the problem it targets: once you hand over a plain photo of your ID for one purpose, that same file can be reused for anything else, since nothing ties it to why it was shared. Instead of overlaying a watermark on top of the image, the tool replaces the actual pixels underneath with the stated purpose, printed repeatedly across the document, and destroys the original color data in a way that cannot be undone. The README stresses that this is the real protection: removing the mark does not recover the original document, it means fabricating a new one, and a fabricated ID is a forged document with legal consequences for whoever uses it. The tool also lets you black out fields the recipient does not need, such as a support number or signature, before adding the mark. Using it means opening the HTML file directly in a browser, with no installation required, and the README specifically recommends turning off WiFi first since the app works identically offline. Workflow is drag in a document, redact unneeded fields, type a specific purpose such as a named hotel reservation with exact dates, then generate and download the result. Privacy claims are enforced by a Content Security Policy declared in the page itself that blocks all network requests, images, and outside resources, rather than relying only on a written promise in the README. The README is explicit about what SafeDocument is not: it is not encryption, since the recipient still reads your personal data in plain sight, it is not anonymization, since your name and ID number remain visible, and it is not a technical guarantee against someone simply photographing the screen or retyping the data by hand. It is offered as a semantic and legal deterrent built around a single, auditable, roughly 860-line file, released under the CC0 1.0 public domain license. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Explain how this repo's destructive watermarking differs from a normal overlay watermark.
Prompt 2
Walk me through the workflow this repo's README describes for marking a document.
Prompt 3
What does this repo's Content Security Policy actually block, and why does that matter for privacy?
Prompt 4
Summarize what this tool is not, according to its own README.

Frequently asked questions

What is safedocument?

A single offline HTML file that destructively watermarks ID photos with a stated purpose, so reuse means forgery, not recovery.

What language is safedocument written in?

Mainly HTML. The stack also includes HTML, JavaScript.

What license does safedocument use?

CC0 1.0, released into the public domain, free to use, copy, and modify with no restrictions.

How hard is safedocument to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is safedocument for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.