- download anghami songs easily on a backend that's built to scale to the moon 🚀📈🌕
- Uses Elixir, RabbitMQ and Redis worker queues. Fully distributed out of the box! (why? I am gonna run this on a $5 VPS alsan lol)
Spawns and controls Selenium workers that download the songs.
- publish a message that looks like
{"song_url":"https://play.anghami.com/song/25770989"}
to queuedownload_requests
- consume
downloaded_songs
and wait for a job completion message that should look like{"spng_state":"OK","song_id":"25770989","song_media_name":"Anghami_25770989.mp3"}
to be published - the song should be located in the
SONG_DIR_PATH
under the name of thesong_media_name
param
Frontend and basic Backend that talks to Venator and back. Keep the user happy while things are happening in the background.
docker-compose up
this will build and setup everything.- open localhost:4000 in your browser.