{"id":15599453,"url":"https://github.com/leerob/next-music-player","last_synced_at":"2025-05-15T09:02:39.762Z","repository":{"id":257166388,"uuid":"857504431","full_name":"leerob/next-music-player","owner":"leerob","description":"A blazing fast, information dense media player built with Next.js.","archived":false,"fork":false,"pushed_at":"2024-12-08T22:04:40.000Z","size":367,"stargazers_count":744,"open_issues_count":1,"forks_count":80,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-07T04:07:37.476Z","etag":null,"topics":["nextjs"],"latest_commit_sha":null,"homepage":"https://next-tracks.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leerob.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-14T20:28:29.000Z","updated_at":"2025-04-05T18:49:23.000Z","dependencies_parsed_at":"2024-09-18T00:13:07.746Z","dependency_job_id":"38bd8c7f-0767-4e13-985e-2e17e24586d1","html_url":"https://github.com/leerob/next-music-player","commit_stats":{"total_commits":47,"total_committers":2,"mean_commits":23.5,"dds":"0.021276595744680882","last_synced_commit":"4db86afb56fd591f5546e5723e9cfc75cf132c07"},"previous_names":["leerob/next-music-player"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leerob%2Fnext-music-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leerob%2Fnext-music-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leerob%2Fnext-music-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leerob%2Fnext-music-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leerob","download_url":"https://codeload.github.com/leerob/next-music-player/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248890814,"owners_count":21178511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nextjs"],"created_at":"2024-10-03T01:58:10.147Z","updated_at":"2025-04-14T13:48:10.300Z","avatar_url":"https://github.com/leerob.png","language":"TypeScript","funding_links":[],"categories":["TypeScript","App"],"sub_categories":[],"readme":"# Next.js Music Player\n\nA nice GUI for playing/viewing local media files.\n\n![CleanShot 2024-09-14 at 15 34 26@2x](https://github.com/user-attachments/assets/d1b747a4-bc0e-45fc-9df9-ecdba5fd0115)\n\n## Getting Started\n\n```bash\ngit clone https://github.com/leerob/next-music-player\ncd next-music-player\npnpm install\n```\n\n## Running Locally\n\nUse the included setup script to create your `.env` file:\n\n```bash\npnpm db:setup\n```\n\nAdd local audio files to a top level `tracks/` folder (git ignored). One option to download files is `yt-dlp`. You can provide arguments to download the song metadata, as well as the cover image, too.\n\n```bash\nyt-dlp -x --audio-format mp3 --add-metadata --embed-thumbnail \"https://www.youtube.com/playlist?list=...\"\n```\n\nThen, run the database migrations and seed the database with a songs and playlists:\n\n```bash\npnpm db:migrate\npnpm db:seed\n```\n\nFinally, run the Next.js development server:\n\n```bash\npnpm dev\n```\n\nYou can view your database contents with Drizzle Studio locally:\n\n```bash\npnpm db:studio\n```\n\nOpen [http://localhost:3000](http://localhost:3000) in your browser to see the app in action.\n\n## Features\n\n- ✅ Uses MediaSession API to sync track metadata with system controls\n- ✅ Press space to play/pause from anywhere in the app\n- ✅ View for all tracks\n- ✅ Click on song row to play\n- ✅ Move between songs in tracklist with up/down or j/k\n- ✅ Move between playlists panel and tracklist with h/l\n- ✅ Now playing animation in track row\n- ✅ Support for both local or remote files\n- ✅ Mobile responsiveness\n- ✅ Drag on the progress bar to seek song\n- ✅ Create a new playlist in the UI\n- ✅ Image upload to Vercel Blob for playlist images\n- ✅ Add/remove songs to a playist in the UI\n- ✅ Basic search over songs\n- Persist active song to storage\n- Hook up the volume controls\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleerob%2Fnext-music-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleerob%2Fnext-music-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleerob%2Fnext-music-player/lists"}