{"id":24561777,"url":"https://github.com/netgian/lyric2srt","last_synced_at":"2025-09-08T13:34:45.239Z","repository":{"id":270889256,"uuid":"911762723","full_name":"netgian/lyric2srt","owner":"netgian","description":"converts synchronized lyrics (in timestamp format) to SRT files","archived":false,"fork":false,"pushed_at":"2025-02-10T16:36:19.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T17:36:33.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netgian.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":"2025-01-03T19:37:57.000Z","updated_at":"2025-02-10T16:36:22.000Z","dependencies_parsed_at":"2025-02-10T17:28:13.195Z","dependency_job_id":"866698e3-9a11-449e-a85f-11dba5304117","html_url":"https://github.com/netgian/lyric2srt","commit_stats":null,"previous_names":["netgian/lyric2srt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgian%2Flyric2srt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgian%2Flyric2srt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgian%2Flyric2srt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netgian%2Flyric2srt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netgian","download_url":"https://codeload.github.com/netgian/lyric2srt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243941707,"owners_count":20372292,"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":[],"created_at":"2025-01-23T08:39:53.553Z","updated_at":"2025-03-16T22:25:32.111Z","avatar_url":"https://github.com/netgian.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# lyric2srt\n\n`lyric2srt` is a Python script that converts synchronized lyrics (in timestamp format) to SRT files, the standard format used for subtitles. \nThis project was made possible thanks to the [lrclib.net](https://lrclib.net) API.\n\n## Requirements\n\n- Python 3.7 or higher.\n- Required libraries:\n  - `requests`\n\nInstall requests by running:\n```bash\npip install requests\n```\n\n## Usage\n\nThe script can be run from the command line with the following arguments:\n\n```bash\npython lyric2srt.py \u003ctrack\u003e \u003cartist\u003e [--album \u003calbum\u003e] [--duration \u003cduration\u003e]\n```\n\n### Example:\n\n```bash\npython lyric2srt.py \"Shape of You\" \"Ed Sheeran\" --album \"Divide\" --duration 233\n```\n\nThis command will fetch the synchronized lyrics of the song and save them in a `lyrics.srt` file.\n\n## Output\n\nThe output file (`lyrics.srt`) contains the synchronized lyrics in SRT format, ready to be used as subtitles in compatible media players.\n\n### Example SRT output:\n\n```\n1\n00:00:00,000 --\u003e 00:00:10,500\nThe club isn't the best place to find a lover\n\n2\n00:00:10,500 --\u003e 00:00:15,200\nSo the bar is where I go\n```\n\n## Contribution\n\nIf you'd like to contribute, please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgian%2Flyric2srt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetgian%2Flyric2srt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetgian%2Flyric2srt/lists"}