{"id":25511628,"url":"https://github.com/simplylu/nicegui-audio-player","last_synced_at":"2026-02-13T17:32:25.978Z","repository":{"id":277831912,"uuid":"735343311","full_name":"simplylu/nicegui-audio-player","owner":"simplylu","description":"Sample Audio Player using NiceGUI and Wave.js","archived":false,"fork":false,"pushed_at":"2025-02-16T12:25:08.000Z","size":4676,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T17:08:22.262Z","etag":null,"topics":["nicegui","python","python3","wavejs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplylu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-12-24T15:09:26.000Z","updated_at":"2025-04-07T13:40:46.000Z","dependencies_parsed_at":"2025-02-16T13:44:08.380Z","dependency_job_id":"e6c6a0e4-ca23-4ab0-a8e0-25ff7ffaeb15","html_url":"https://github.com/simplylu/nicegui-audio-player","commit_stats":null,"previous_names":["simplylu/nicegui-audio-player"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simplylu/nicegui-audio-player","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-audio-player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-audio-player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-audio-player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-audio-player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplylu","download_url":"https://codeload.github.com/simplylu/nicegui-audio-player/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-audio-player/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29413395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nicegui","python","python3","wavejs"],"created_at":"2025-02-19T10:46:46.078Z","updated_at":"2026-02-13T17:32:25.964Z","avatar_url":"https://github.com/simplylu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample Audio Player using NiceGUI and Wave.js\n![Screenshot of the Audio Player](screenshot.png)\nThis is just an experiment on how to create an audio player with [NiceGUI](https://github.com/zauberzeug/nicegui) and some nice [wave.js](https://github.com/foobar404/Wave.js/) animations.\n\nCurrently only playback of the sample song is possible, but this code is only there to provide a starting point if you need a Audio Player that is a bit more beautiful than the plain HTML5 player. So hack yourself into this project and create something even more beautiful.\n\nAlso, be happy that I did all the stuff to make the interactions with the invisible audio element possible. It was damn annoying. \n\nStill, the interaction with that slider is not working or kinda buggy. I'd like to move the slider somewhere and make the audio jump to that timestamp.\n\nTried it as follows, it is not working quite well. So if you have a fix or any further suggestions, please contribute, I'm happy to test and merge!\n\n```python\n# mousedown, does not work\nslider = ui.slider(...).on(type=\"mousedown\", handler=lambda: audio.seek(slider.value))\n\n# Or mouseup, worked a bit better but it is still very unreliable due to the fast intervals in which I update the slider based on changes in the audio currentTime\n# Respective line of code: audio.on(\"timeupdate\", handler=update_slider)\nslider = ui.slider(...).on(type=\"mouseup\", handler=lambda: audio.seek(slider.value))\n\n# Or using both, but that ended in Chaos and also in some audio bugs.\n```\n\n### How to use\nIn the music folder is a copyrightfree piece of music with the following attribution:\n```\nSong: T \u0026 Sugah - For You (ft. Snnr) [NCS Release]\nMusic provided by NoCopyrightSounds\nFree Download/Stream: -\nWatch: -\nThumbnail: YouTube\n```\n\nStart the app by simply calling `python3 app.py`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplylu%2Fnicegui-audio-player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplylu%2Fnicegui-audio-player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplylu%2Fnicegui-audio-player/lists"}