Music Uploader

Streamlined Flask service to download tracks from SoundCloud/YouTube and add them to your Apple Music library.

← Back to Home

Gallery

screenshot 1
Apple music
screenshot 2

Overview

A personal Flask-based web service that leverages SoundCloud and YouTube download APIs and macOS AppleScript to automate music ingestion into Apple Music. Accessible from any device on your local network, this tool streamlines capturing and uploading your favorite tracks.

Project Structure

Installation & Usage

  1. Clone: git clone https://github.com/BaileyHelfer/upload_amusic.git
  2. Create & activate venv:
    python3 -m venv venv && source venv/bin/activate
  3. Install deps: pip install -r requirements.txt
  4. Configure config.yaml
  5. Run: python main.py
  6. Open http://localhost:5000 in browser or phone

Challenges

With no official API for Apple Music uploads, macOS AppleScript provided the only reliable path—albeit a workaround—requiring user login in the Music app.

Inspiration

I wanted a seamless way to save streamed music into my personal library without manual downloads and file transfers. This service automates that flow end-to-end.

Contributing

Fork the repo, open issues or pull requests—MIT licensed and open to community improvements.

Source Code

View on GitHub