How digisamroc/eraser works
Eraser is a privacy tool that sends personal-data removal requests to data brokers and tracks their replies and any manual follow-up. The main workflow is: configure a profile and email account, select brokers, render and send requests, then monitor broker emails and surface confirmation links, forms, or verification tasks. It offers both a CLI and browser-based interface, plus automated browser form filling. The README documents these capabilities; some connections to unsampled web and browser paths are therefore documented rather than source-verified.
Main entry points: main.go CLI commands · server.go Web interface · monitor.go Inbox monitor · browser.go Browser automation
Components 20
User interfaces
- CLI commands
cmd/eraser/main.go - Web interface
internal/web/server.go - Setup sessions
internal/web/session.go
Removal requests
- Request templates
internal/template/template.go - Email sender
internal/email/sender.go - SMTP transport
internal/email/smtp.go
Reply and follow-up
- Inbox monitor
internal/inbox/monitor.go - Reply classifier
internal/inbox/classifier.go - Link parser
internal/inbox/parser.go - Manual follow-up
internal/history/history.go - Browser automation
internal/browser/browser.go - Form filler
internal/browser/filler.go - CAPTCHA handling
internal/browser/captcha.go - Confirmation handling
internal/browser/confirm.go
Shared services
- Profile and settings
internal/config/config.go - Broker directory
internal/broker/broker.go - Request history
internal/history/history.go
Other components
- User
- Data brokers
- Email provider
Connections 26
- User → CLI commands: runs commands
README.md - User → Web interface: uses interface
README.md - CLI commands → Profile and settings: loads settings
cmd/eraser/main.go - Web interface → Setup sessions: manages setup
internal/web/server.go - Web interface → Profile and settings: reads settings
internal/web/server.go - CLI commands → Broker directory: selects brokers
cmd/eraser/main.go - Web interface → Broker directory: lists brokers
internal/web/server.go - CLI commands → Request templates: renders requests
cmd/eraser/main.go - CLI commands → Email sender: sends requests
cmd/eraser/main.go - Email sender → SMTP transport: uses transport
internal/email/sender.go - SMTP transport → Email provider: delivers email
internal/email/smtp.go - Email sender → Data brokers: sends removal request
README.md - CLI commands → Request history: records results
cmd/eraser/main.go - Web interface → Request history: shows request status
internal/web/server.go - Email provider → Inbox monitor: provides replies
README.md - CLI commands → Inbox monitor: fetches broker mail
cmd/eraser/main.go - Inbox monitor → Reply classifier: classifies replies
- Inbox monitor → Link parser: extracts links
- Inbox monitor → Request history: stores responses
- Request history → Manual follow-up: tracks pending tasks
internal/history/history.go - Web interface → Manual follow-up: presents follow-up
internal/web/server.go - CLI commands → Browser automation: fills opt-out forms
cmd/eraser/main.go - Browser automation → Form filler: fills fields
internal/browser/browser.go - Browser automation → CAPTCHA handling: checks challenges
- Browser automation → Confirmation handling: handles confirmation
- Manual follow-up → Data brokers: prompts manual action
README.md