A simple web application to convert Spotify music track URLs to ther YouTube Music equivalents and vice-versa. It features a Python FastAPI backend and a minimalist HTML, CSS, and JavaScript frontend.
- Bidirectional Conversion:
- Convert Spotify track URLs to YouTube Music URLs.
- convert Youtube Music track URLs to Spotify URLs.
- Automatic Detection: The frontend automatically determines the conversion direction based on the input URL.
- Copy to Clipboard: Easily copy the converted URL.
- Open the web application in your browser.
- Paste a valid Spotify track URL (e.g.,
https://open.spotify.com/track/...
) or a YouTube Music URL (e.g.,https://music.youtube.com/watch?v=...
) into the input field. - Click the "Convert" button.
- Click the copy icon next to the URL to copy it to your clipboard.
Backend:
- Python 3.12+
- FastAPI: For building the API.
- Uvicorn: ASGI server to run FastAPI.
- Redis: For rate limiting.
Frontend:
- HTML5
- CSS3
- Vanilla JavaScript (ES6+)
DevOps/Tooling:
- Docker & Docker Compose (Recommended): For local testing and simple deployments.
- Docker Stack + GitHub Actions: For production deployments.