{"id":16696676,"url":"https://github.com/zenithalhourlyrate/i3lyrics","last_synced_at":"2025-03-14T03:11:35.903Z","repository":{"id":130587168,"uuid":"296040386","full_name":"ZenithalHourlyRate/i3lyrics","owner":"ZenithalHourlyRate","description":"Show Netease lyrics in i3bar","archived":false,"fork":false,"pushed_at":"2021-03-07T15:46:43.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T22:13:06.717Z","etag":null,"topics":["i3","i3bar","lyrics","netease-music"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ZenithalHourlyRate.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":"2020-09-16T13:26:06.000Z","updated_at":"2021-03-07T15:46:45.000Z","dependencies_parsed_at":"2023-04-03T21:34:29.627Z","dependency_job_id":null,"html_url":"https://github.com/ZenithalHourlyRate/i3lyrics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZenithalHourlyRate%2Fi3lyrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZenithalHourlyRate%2Fi3lyrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZenithalHourlyRate%2Fi3lyrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZenithalHourlyRate%2Fi3lyrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZenithalHourlyRate","download_url":"https://codeload.github.com/ZenithalHourlyRate/i3lyrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243515567,"owners_count":20303258,"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":["i3","i3bar","lyrics","netease-music"],"created_at":"2024-10-12T17:44:32.926Z","updated_at":"2025-03-14T03:11:35.879Z","avatar_url":"https://github.com/ZenithalHourlyRate.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i3lyrics\n\nThis repo is meant for those wanting lyrics shown in their i3bar. Currently only the lyrics of [netease-music](https://github.com/darknessomi/musicbox) can be shown in i3bar. More contribution can be made to make i3bar show more lyrics from more softwares.\n\n## Demo\n\n![Demo of i3lyrics with song playing and workspace button shown](demo.png)\n\n## lyric.sh\n\nBased on the work of Michael Stapelberg. This script continuously reads the song name and current lyric and wrap them in a block of json and send it to stdout, which is read by i3bar.\n\nThe script is now configured to read song name from `/tmp/netease-song` and read current lyric from `/tmp/netease-lyric`. You can change it in your favor, as long as corresponding changes are made in the patch or code.\n\n## config of i3\n\nYou should edit the config of i3 and add the following block\n\n```\nbar {\n    id lyric\n    status_command exec /path/to/i3lyric.sh\n}\n```\n\nYou can add other parameters to make this bar suitable for displaying lyrics, the following parameters are listed for you to choose.\n\n```\nbar {\n    id lyric\n    status_command exec /path/to/i3lyric.sh\n    position top\n    tray_output none\n    binding_mode_indicator no\n    workspace_buttons no\n}\n```\n\n## patch of netease-musicbox\n\nYou should add patches such that `/tmp/netease-song` and `/tmp/netease-lyric` can be generated when the song is being played.\n\nCurrently `ui.py.patch` is against version 0.3.1-2 (-2 added by archlinuxcn pkg) of [netease-music](https://github.com/darknessomi/musicbox). You can make your own changes in `ui.py` as long as the files needed are generated.\n\nOne possible path of `ui.py` is `/usr/lib/python3.9/site-packages/NEMbox/ui.py`. Do the patch based on your own situation please.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenithalhourlyrate%2Fi3lyrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzenithalhourlyrate%2Fi3lyrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzenithalhourlyrate%2Fi3lyrics/lists"}