DEV Community

Thejus
Thejus

Posted on

I built an open-source YouTube music player with offline downloads.

I was frustrated that most music apps are filled with ads, tracking, subscriptions, and unnecessary clutter.

So I built Gravity Music — a free and open-source music player powered by YouTube, designed for people who simply want to listen to music without distractions.

What is Gravity Music?

Gravity Music is a lightweight music app that lets you search, play, and download songs for offline listening while keeping the experience clean and privacy-friendly.

🌐 Website: https://gravity.iamthejus.in

Features

  • šŸŽµ Search and play music
  • šŸ“„ Offline downloads
  • 🚫 No ads
  • šŸ›”ļø No trackers
  • šŸ“± Android support
  • šŸ’» Desktop support
  • ✨ Modern glassmorphism UI

Why I built it

I wanted a music player that felt:

  • Lightweight instead of bloated
  • Private instead of tracking-heavy
  • Beautiful instead of cluttered
  • Offline-friendly for travel and poor network conditions

This project also became a great opportunity to improve my skills in deployment, UI design, and performance optimization.

Screenshots

Home screen

Gravity Music Home

Player screen

Gravity Music Player

Library / Downloads

Gravity Music Library

Tech stack

  • Android
  • Flutter
  • YouTube-powered playback
  • GitHub Pages
  • Cloudflare custom domain

Deployment

The website is hosted on GitHub Pages and served through my custom subdomain:

šŸ‘‰ https://gravity.iamthejus.in

I configured:

  • GitHub Pages
  • Cloudflare DNS
  • HTTPS/TLS
  • Custom domain routing

What I learned

Building and publishing this project taught me:

  • Custom domain setup with Cloudflare
  • GitHub Pages deployment
  • Responsive landing page design
  • Asset optimization
  • UI/UX improvements for dark themes

Source code

šŸ‘‰ https://github.com/IamThejus/Gravity-Music

Feedback

This is still an actively evolving project, and I’d love feedback from other developers, Android users, Linux users, and music lovers.

What feature would make you switch from your current music app to an open-source alternative like Gravity Music?

Top comments (0)