{"id":16152815,"url":"https://github.com/retchut/srt-editor","last_synced_at":"2025-06-18T10:42:00.473Z","repository":{"id":49441242,"uuid":"377879739","full_name":"Retchut/srt-editor","owner":"Retchut","description":"Simple srt file editing tool created to aid in my manual modification (and occasional creation) of subtitle files.","archived":false,"fork":false,"pushed_at":"2022-10-08T20:09:47.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T23:29:05.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/Retchut.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}},"created_at":"2021-06-17T15:33:53.000Z","updated_at":"2021-12-24T22:53:25.000Z","dependencies_parsed_at":"2023-01-19T17:47:10.041Z","dependency_job_id":null,"html_url":"https://github.com/Retchut/srt-editor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Retchut/srt-editor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Retchut%2Fsrt-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Retchut%2Fsrt-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Retchut%2Fsrt-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Retchut%2Fsrt-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Retchut","download_url":"https://codeload.github.com/Retchut/srt-editor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Retchut%2Fsrt-editor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260537026,"owners_count":23024532,"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":"2024-10-10T01:09:09.755Z","updated_at":"2025-06-18T10:41:55.454Z","avatar_url":"https://github.com/Retchut.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# srt-editor\n\n\nSimple srt file editing tool created to aid in my manual modification (and occasional creation) of subtitle files.\n\n## Building\nNavigate to the src folder and make:\n\n***make*** (if on an unix-based system)\n\n***mingw32-make.exe*** (if on windows, using gnu make)\n\n## Running\nTo run the program, simply run one of the following commands from a terminal, while inside the src folder:\n\n\u003e./srt-editor +/- hh:mm:ss:msc h1:m1:s1:ms1 h2:m2:s2:ms2 srtFile\n\n***adds/subtracts hh:mm:ss:msc to all subtitles on srtFile beginning between h1:m1:s1:ms1 and h2:m2:s2:ms2 (inclusive)***\n\n\u003e./srt-editor +/- hh:mm:ss:msc srtFile\n\n***adds/subtracts hh:mm:ss:msc to all subtitles on srtFile***\n\nAfter running the program on one file, an edited file, aptly named \"'original-file-name'-edited.srt\" will be created on the same directory as the original file.\n\n## Notes\n\t-hh, mm, ss and msc are the offset to add to the hours, minutes, seconds and milisseconds, respectively\n\n\t-srtFile is either the relative path to the file, or an absolute path to the file you want to edit.\n\n\t-on windows, replace *srt-editor* with *srt-editor.exe*\n\nLine endings will be preserved, save for the line with the timestamps. The line ending in each timestamp will follow the conventions for the OS this program is run in.\nEventually, I'll take the time to fix this, but it shouldn't cause any issues whatsoever.\n\n## TODO\n\n---\u003e Clean up \"modular arithmetic-like\" code up (I was sleep deprived while writing it, don't judge)\n\n---\u003e Change all files in directory if the path provided was a directory;\n\n---\u003e Maybe maybe maybe add an option to overwrite the old file;\n\n---\u003e Add utility to create an empty subtitle at any timestamp (taken up by another sub or not);\n\n---\u003e Simple cli to allow selecting the utility to be used;\n\n---\u003e Abstract file generation into a function;\n\n---\u003e Abstract sub reading loop into a function;","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretchut%2Fsrt-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fretchut%2Fsrt-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fretchut%2Fsrt-editor/lists"}