{"id":20742417,"url":"https://github.com/glpecile/srt-cli","last_synced_at":"2026-04-27T04:32:30.347Z","repository":{"id":263067989,"uuid":"872083429","full_name":"glpecile/srt-cli","owner":"glpecile","description":"Basic text to .srt file cli.","archived":false,"fork":false,"pushed_at":"2025-02-05T23:35:45.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T16:44:31.345Z","etag":null,"topics":["bun","cli","str"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/srt-cli","language":"TypeScript","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/glpecile.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-13T18:27:55.000Z","updated_at":"2025-02-05T23:35:48.000Z","dependencies_parsed_at":"2024-11-15T23:43:32.114Z","dependency_job_id":"962b131f-c26c-44e2-a37f-d95029008953","html_url":"https://github.com/glpecile/srt-cli","commit_stats":null,"previous_names":["glpecile/text-to-sub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/glpecile/srt-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glpecile%2Fsrt-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glpecile%2Fsrt-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glpecile%2Fsrt-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glpecile%2Fsrt-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glpecile","download_url":"https://codeload.github.com/glpecile/srt-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glpecile%2Fsrt-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32323213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bun","cli","str"],"created_at":"2024-11-17T07:05:36.525Z","updated_at":"2026-04-27T04:32:30.330Z","avatar_url":"https://github.com/glpecile.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# srt-cli\n\nA small Command Line Input (CLI) that takes a text file and converts it into a `.srt` file.\n\n## Why?\n\nWhile watching re:zero season 3 I noticed the re:zero break time season 3 was airing simultaneously.\n\nI wanted to watch the break time episodes with subtitles but couldn't find any.\nThat is until I saw a commentor by the name of [@KakoeiSbi](https://www.youtube.com/@KakoeiSbi) who translated the break time episodes in a specific format.\n\nI decided then to create a CLI that would take the text and convert it into a `.srt` file and then download the video from youtube with the subtitles.\n\n## Run script from npm\n\n```sh\nnpx srt-cli\n```\n\nThen follow the CLI steps.\n\nThe text entered should follow the format:\n\n```sh\n(mm:ss) \u003ccharacter\u003e: “\u003cdialogue\u003e” # mm:ss \u003ccharacter\u003e: “\u003cdialogue\u003e” also works\n```\n\n## Run Locally\n\nTo install dependencies:\n\n```bash\nbun install\n```\n\nTo run:\n\n```bash\nbun run src/index.ts\n```\n\nThis project was created using `bun init` in bun v1.1.30. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglpecile%2Fsrt-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglpecile%2Fsrt-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglpecile%2Fsrt-cli/lists"}