{"id":24582757,"url":"https://github.com/arun-1993/subtitle-converter","last_synced_at":"2026-02-15T18:33:57.603Z","repository":{"id":271268287,"uuid":"912894508","full_name":"arun-1993/Subtitle-Converter","owner":"arun-1993","description":"A simple command line tool to convert subtitle format","archived":false,"fork":false,"pushed_at":"2025-01-20T14:39:32.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T23:35:46.419Z","etag":null,"topics":["npm-package","subtitle","subtitle-conversion","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@arun-1993/subtitle-converter","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arun-1993.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-06T16:01:03.000Z","updated_at":"2025-01-23T07:03:16.000Z","dependencies_parsed_at":"2025-01-06T17:50:34.641Z","dependency_job_id":null,"html_url":"https://github.com/arun-1993/Subtitle-Converter","commit_stats":null,"previous_names":["arun-1993/subtitle-converter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arun-1993%2FSubtitle-Converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arun-1993%2FSubtitle-Converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arun-1993%2FSubtitle-Converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arun-1993%2FSubtitle-Converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arun-1993","download_url":"https://codeload.github.com/arun-1993/Subtitle-Converter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250575007,"owners_count":21452662,"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":["npm-package","subtitle","subtitle-conversion","typescript"],"created_at":"2025-01-24T03:57:32.395Z","updated_at":"2026-02-15T18:33:57.575Z","avatar_url":"https://github.com/arun-1993.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subtitle Format Converter\n\nA simple command-line tool to convert subtitle files between different formats. Currently, it supports converting between **.vtt** (WebVTT) and **.srt** (SubRip Subtitle) formats.\n\n## Installation\n\nInstall the Subtitle Format Converter globally using npm:\n\n```bash\nnpm i -g @arun-1993/subtitle-converter\n```\n\nAlternatively, you can clone the repository and build it locally:\n\n```bash\ngit clone https://github.com/arun-1993/Subtitle-Converter.git\ncd Subtitle-Converter\nnpm i\nnpm run build\nnpm i -g\n```\n\n## Usage\n\nOnce installed, you can use the `convertsubtitle` command to convert subtitles:\n\n```bash\nconvertsubtitle sourcefile destinationfile\n```\n\n- **sourcefile**: The input subtitle file.\n- **destinationfile**: The output subtitle file.\n\nIf you do not specify a destination file, the tool will automatically determine the destination filename based on the source file’s extension:\n\n- If the source is `.srt`, the output will be `.vtt`.\n- If the source is `.vtt` or any other file type, the output will be `.srt`.\n\n### Example\n\nConvert a `.srt` file to `.vtt`:\n\n```bash\nconvertsubtitle example1.srt example2.vtt\n```\n\nConvert a `.vtt` file to `.srt` (without specifying a destination file):\n\n```bash\nconvertsubtitle example.vtt\n```\n\nThis will create `example.srt` in the same directory.\n\n## License\n\nThis project is licensed under the ISC License - see the [LICENSE](./LICENSE.txt) file for details.\n\n## Contributing\n\nContributions are welcome! Please fork this repository, create a branch, and submit a pull request.\n\n---\n\nFor more information or to report issues, visit the [GitHub repository](https://github.com/arun-1993/Subtitle-Converter).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farun-1993%2Fsubtitle-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farun-1993%2Fsubtitle-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farun-1993%2Fsubtitle-converter/lists"}