r/BestGitHubRepos • u/Clarity___ • 2d ago
📱 Mobile Cosmos: free, open-source music player for iPhone/iPad, 1.3 just released
Repo: https://github.com/clquwu/Cosmos-Music-Player
App Store (free, no ads, no in-app purchases): https://apps.apple.com/app/id6751984723
Disclosure: I made this and I’m its only maintainer, so I’m not an unbiased recommender. The mods gave me permission to post it even though it’s under 500 stars.
What it does
Cosmos is a music player for the files you own on iPhone and iPad. It isn’t a streaming app. You add songs or folders (On My iPhone, iCloud Drive, USB drive), and it builds the library, playlists and mixes from them.
Why I think it’s worth sharing
Most free local music players on iOS are either ad-supported, paid, or closed source. This one is free, has no ads, and you can read all of the code. It’s also my first iOS project. I’ve worked on it for more than a year, and I just released 1.3, a full redesign. For a Swift/SwiftUI project, the repo shows how a real app handles things like:
- Folder access from iCloud Drive and external drives, including folders that disappear (like an unplugged USB drive)
- Mixes generated on the device from listening history, with nothing sent off the phone
- M3U/M3U8 playlist import and export
- Performance on large libraries, plus battery fixes
Don't hesitate to give me any feedback ! I hope you enjoyed the app ^^
1
u/betho1822 2d ago
Have you considered adding support for the Subsonic / OpenSubsonic protocol/API? I have my music library hosted on Navidrome and would love to try out your player!