How jpsamuelson/sc-gate-dl works
sc-gate-dl accepts SoundCloud tracks through a CLI or local Web UI, resolves an unlock gate, performs any required browser-based verification, downloads audio, and prepares a tagged output. The README also documents track search, manual metadata correction, account cleanup, managed-account export, and a SoundCloud userscript. The graph preserves these distinct capabilities; several provider and job internals are represented at module level where source excerpts are incomplete.
Main entry points: server.ts HTTP job server · index.ts CLI workflow · browserLaunch.ts Browser launcher · soundcloud.ts SoundCloud client
Components 25
Entry points
- CLI workflow
src/index.ts - Web interface
webui/src/components/App.tsx
Job orchestration
- HTTP job server
src/server.ts - Job queue
src/jobQueue.ts - Job state
src/jobStore.ts - Browser launcher
src/browserLaunch.ts
Gate and download
- Hypeddit gates
src/hypeddit.ts - Droploud gates
src/droploud.ts - GateRush gates
src/gaterush.ts - DownloadGater gates
src/downloadgater.ts - StillHype gates
src/stillhype.ts - PumpYourSound gates
src/pumpyoursound.ts - MyPressKit gates
src/mypresskit.ts - Bandcamp downloads
src/bandcampGate.ts - Direct downloads
src/directDownload.ts - Browserless gates
src/hypedditHttp.ts
Audio and SoundCloud
- SoundCloud client
src/soundcloud.ts - Track search
src/search.ts - yt-dlp downloads
src/ytdlp.ts - Audio processing
src/audioProcessor.ts - Archive extraction
src/archiveAudio.ts - Account cleanup
src/downloadCleanup.ts
Web and account tools
- SoundCloud userscript
userscript/sc-gate-dl.user.js - Managed export
manage-acc.ts
Other components
- User
Connections 38
- User → CLI workflow: starts download
README.md - User → Web interface: uses interface
README.md - CLI workflow → SoundCloud client: fetches track
src/index.ts - CLI workflow → Hypeddit gates: runs gate
src/index.ts - CLI workflow → Droploud gates: runs gate
src/index.ts - CLI workflow → GateRush gates: runs gate
src/index.ts - CLI workflow → DownloadGater gates: runs gate
src/index.ts - CLI workflow → StillHype gates: runs gate
src/index.ts - CLI workflow → PumpYourSound gates: runs gate
src/index.ts - CLI workflow → MyPressKit gates: runs gate
src/index.ts - CLI workflow → Bandcamp downloads: runs gate
src/index.ts - CLI workflow → Direct downloads: downloads link
src/index.ts - CLI workflow → Browserless gates: uses fast path
src/index.ts - HTTP job server → Job queue: queues jobs
src/server.ts - HTTP job server → Job state: updates jobs
src/server.ts - HTTP job server → Track search: serves search
src/server.ts - HTTP job server → SoundCloud client: fetches track
src/server.ts - HTTP job server → Browser launcher: launches browser
src/server.ts - HTTP job server → Hypeddit gates: dispatches gate
src/server.ts - HTTP job server → Direct downloads: downloads file
src/server.ts - HTTP job server → Audio processing: processes audio
src/server.ts - HTTP job server → Archive extraction: extracts archive
src/server.ts - HTTP job server → yt-dlp downloads: downloads track
src/server.ts - HTTP job server → Account cleanup: offers cleanup
src/server.ts - HTTP job server → Web interface: serves jobs
- Track search → SoundCloud client: searches tracks
src/search.ts - Hypeddit gates → Bandcamp downloads: delegates gate
src/hypeddit.ts - Droploud gates → Browser launcher: uses browser
src/droploud.ts - GateRush gates → Browser launcher: uses browser
src/gaterush.ts - DownloadGater gates → Browser launcher: uses browser
src/downloadgater.ts - StillHype gates → Browser launcher: uses browser
src/stillhype.ts - PumpYourSound gates → Browser launcher: uses browser
src/pumpyoursound.ts - MyPressKit gates → Browser launcher: uses browser
src/mypresskit.ts - Bandcamp downloads → yt-dlp downloads: downloads media
src/bandcampGate.ts - Direct downloads → Archive extraction: may unpack ZIP
README.md - Audio processing → SoundCloud client: gets metadata
- User → SoundCloud userscript: opens panel
README.md - Managed export → SoundCloud client: exports account data
manage-acc.ts