How ollehuss/softsec-project-group4 works
Tatou is a PDF-watermarking web platform, with a companion command-line toolkit. In the web workflow, a user submits PDF and watermark details; the server handles API requests and database operations, while the watermarking registry dispatches to a selected method. Users can also inspect PDFs and recover watermarks through the toolkit. The graph includes each indexed core module and the documented website/API and CLI capabilities. Some server routes and static-page wiring were not shown, so those links are omitted or marked unverified.
Main entry points: watermarking_utils.py Registry and PDF tools · watermarking_method.py Watermark method contract · server.py Web API · static Web pages
Components 12
Watermark toolkit
- CLI commands
server/src/watermarking_cli.py - Registry and PDF tools
server/src/watermarking_utils.py
Watermark methods
- Watermark method contract
server/src/watermarking_method.py - Append-after-EOF
server/src/add_after_eof.py - Metadata watermark
server/src/olles_metadata_watermark.py - Bash bridge watermark
server/src/unsafe_bash_bridge_append_eof.py - Visible repeat watermark
server/src/visible_repeat_watermark.py - Hidden-object watermark
server/src/watermarking_joshua.py
Persistent state
- Application database
db/tatou.sql
Other components
- User
Connections 16
- User → Web pages: uses
README.md - Web pages → Web API: calls API
- Web API → Application database: queries
server/src/server.py - Web API → Registry and PDF tools: uses registry
server/src/server.py - CLI commands → Registry and PDF tools: calls tools
server/src/watermarking_cli.py - Registry and PDF tools → Watermark method contract: dispatches methods
server/src/watermarking_utils.py - Registry and PDF tools → Append-after-EOF: registers method
server/src/watermarking_utils.py - Registry and PDF tools → Metadata watermark: registers method
server/src/watermarking_utils.py - Registry and PDF tools → Bash bridge watermark: registers method
server/src/watermarking_utils.py - Registry and PDF tools → Visible repeat watermark: registers method
server/src/watermarking_utils.py - Registry and PDF tools → Hidden-object watermark: registers method
server/src/watermarking_utils.py - Append-after-EOF → Watermark method contract: implements
server/src/add_after_eof.py - Metadata watermark → Watermark method contract: implements
server/src/olles_metadata_watermark.py - Bash bridge watermark → Watermark method contract: implements
server/src/unsafe_bash_bridge_append_eof.py - Visible repeat watermark → Watermark method contract: implements
server/src/visible_repeat_watermark.py - Hidden-object watermark → Watermark method contract: implements
server/src/watermarking_joshua.py