How as-offical/harammute-linux works
HaramMute Linux is a local audio-separation server for the HaramMute browser extension, with a desktop tray launcher. The main workflow accepts a media URL, creates and persists a job, downloads and converts audio, separates vocals (including chunked processing for longer media), and exposes status and result files through the API. The graph also preserves subscription handling and opt-in desktop telemetry as distinct capabilities. Source excerpts show the pipeline and processing stages; some API routes and telemetry wiring are only partially sampled, so uncertain links are omitted.
Main entry points: main.py Local API server · local_processing.py Local processing · pipeline.py Job pipeline · desktop_telemetry.py Desktop telemetry
Components 18
Desktop runtime
- Tray launcher
tray_launcher.py - Desktop telemetry
app/desktop_telemetry.py
API and access
- Local API server
app/main.py - API schemas
app/schemas.py - Subscriptions
app/main.py - Runtime settings
app/config.py
Job workflow
- Persistent job store
app/jobs.py - Job pipeline
app/pipeline.py - Job limits
app/limits.py - Job result files
app/pipeline.py
Audio processing
- Local processing
app/local_processing.py - Model cache
assets/model_cache/audio-separator
Other components
- Browser extension
- Polar service
- Media source
- FFmpeg tools
- Audio separator
- Telemetry endpoint
Connections 19
- Browser extension → Local API server: submits jobs
README.md - Tray launcher → Local API server: starts and probes
tray_launcher.py - Local API server → API schemas: validates requests
app/main.py - Local API server → Runtime settings: reads configuration
app/main.py - Local API server → Subscriptions: checks access
app/main.py - Subscriptions → Polar service: checks and creates checkout
app/main.py - Local API server → Persistent job store: creates and queries jobs
app/main.py - Local API server → Job limits: enforces limits
app/main.py - Local API server → Job pipeline: dispatches processing
app/main.py - Job pipeline → Persistent job store: updates job state
app/pipeline.py - Job pipeline → Local processing: converts and separates
app/pipeline.py - Local processing → Media source: downloads media
- Local processing → FFmpeg tools: converts and probes
- Local processing → Audio separator: separates stems
- Local processing → Model cache: loads model
- Job pipeline → Job result files: writes encoded output
app/pipeline.py - Local API server → Job result files: serves job results
app/main.py - Local API server → Desktop telemetry: imports telemetry module
app/main.py - Desktop telemetry → Telemetry endpoint: sends event batches