Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alireza-mh/persian-subtitle-fix
Fix persian subtitle encoding
https://github.com/alireza-mh/persian-subtitle-fix
persian-subtitle persian-subtitle-cli persian-subtitle-fix
Last synced: about 5 hours ago
JSON representation
Fix persian subtitle encoding
- Host: GitHub
- URL: https://github.com/alireza-mh/persian-subtitle-fix
- Owner: alireza-mh
- Created: 2019-08-31T09:50:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T16:12:18.000Z (over 1 year ago)
- Last Synced: 2024-11-14T03:20:53.205Z (5 days ago)
- Topics: persian-subtitle, persian-subtitle-cli, persian-subtitle-fix
- Language: JavaScript
- Homepage:
- Size: 19.5 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Persian subtitle fix
![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)
![NPM version](https://img.shields.io/npm/v/persian-subtitle-fix?color=green)### Why
In case you are not using notepad or any other editor that helps you change files encoding this tool can help.
### How to use
you just need to have npm(version 5.2+) on your system.
```shell
npx persian-subtitle-fix -I path/to/file.srt -O path/to/outputFile.srt
```in case you want to make it available on your bash you should install it globally
```shell
sudo npm install persian-subtitle-fix --global
```Also if you don't provide any flags in cli you will enter to interactive mode.