GDPR v2.0.0 — a security toolkit for managing GDPR compliance workflows from the command line. Log security operations, audit trails, policy changes, and more. Each entry is timestamped and persisted locally. Works entirely offline — your data never leaves your machine.
Each domain command works in two modes: log mode (with arguments) saves a timestamped entry, view mode (no arguments) shows the 20 most recent entries.
CommandDescriptiongdpr generate <input>Log a generation event (privacy policy, consent form, etc.)gdpr check-strength <input>Log a strength check result (password, encryption, etc.)gdpr rotate <input>Log a key/credential rotation eventgdpr audit <input>Log an audit finding or compliance check resultgdpr store <input>Log a data storage event (what was stored and where)gdpr retrieve <input>Log a data retrieval/access eventgdpr expire <input>Log a data expiration or retention eventgdpr policy <input>Log a policy change or updategdpr report <input>Log a report entry or compliance summarygdpr hash <input>Log a hashing operation (data anonymization, etc.)gdpr verify <input>Log a verification result (identity, consent, integrity)gdpr revoke <input>Log a revocation event (consent withdrawal, access removal)
CommandDescriptiongdpr statsShow summary statistics across all log filesgdpr export <fmt>Export all data to a file (formats: json, csv, txt)gdpr search <term>Search all log entries for a term (case-insensitive)gdpr recentShow the 20 most recent entries from the activity loggdpr statusHealth check — version, data dir, entry count, disk usagegdpr helpShow the built-in help messagegdpr versionPrint the current version (v2.0.0)
All data is stored locally at ~/.local/share/gdpr/. Each domain command writes to its own log file (e.g., audit.log, policy.log, revoke.log). A unified history.log tracks all actions across commands. Use export to back up your data at any time.
bash
# Log a compliance audit finding
gdpr audit "User data export endpoint missing encryption — needs fix"
# Record a policy update
gdpr policy "Updated cookie consent banner to include analytics opt-out"
# Log a consent revocation
gdpr revoke "User #4521 withdrew marketing consent via email"
# Track a key rotation
gdpr rotate "API key rotated for payment service, old key expires 2025-04-01"
# Log data storage event
gdpr store "Backup of EU customer PII moved to Frankfurt region"
# Verify identity check
gdpr verify "KYC verification passed for account #8832"
# Log a data expiration
gdpr expire "Inactive accounts older than 2 years purged per retention policy"
# Generate a hash record
gdpr hash "SHA-256 hash of user export file: a3f8c9..."
# Search across all logs
gdpr search "consent"
# Export everything as CSV
gdpr export csv
# Check overall status
gdpr status
# View recent activity
gdpr recent
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com