Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ponkhy/piplator
Provides the option to in-place translate a message of a YouTube live chat
https://github.com/ponkhy/piplator
tampermonkey tampermonkey-script tampermonkey-userscript userscript
Last synced: 5 days ago
JSON representation
Provides the option to in-place translate a message of a YouTube live chat
- Host: GitHub
- URL: https://github.com/ponkhy/piplator
- Owner: Ponkhy
- License: mit
- Created: 2024-02-20T17:54:04.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-09T15:35:31.000Z (11 months ago)
- Last Synced: 2024-12-06T07:42:31.883Z (2 months ago)
- Topics: tampermonkey, tampermonkey-script, tampermonkey-userscript, userscript
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Piplator
It provides an simple option to in-place translate a message of a YouTube live chat.\
By clicking on "Translate" again after it has been translated, the original message will be shown again.---
## Installation
### Quick:
1. Install Tampermonkey | [Google Chrome](https://chromewebstore.google.com/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo) | [Firefox](https://addons.mozilla.org/firefox/addon/tampermonkey)
2. Click [Install](https://github.com/Ponkhy/Piplator/raw/main/piplator.user.js) here
### Alternative:
1. Open the **piplator.user.js** script in this repo.
2. Click the **Raw** button at the top of the file to view it's code
3. Copy the source code
4. Open Tampermonkey and click the "Create a new script..." button
5. Paste the code into the script window and click File -> Save## Configuration
Inside of the script at **line 19** your Google Translation API key needs to be added.\
To get an API key you can follow this [tutorial](https://locoaddon.com/how-to-generate-google-translate-api-key) (You can skip point 6. and 7.).It's also possible to change the target language at **line 22**, the string must be in ISO-639. You can find the supported list of languages and codes in [Google's Docs](https://cloud.google.com/translate/docs/languages).
---
### Known Issues
- Unicode emotes will be removed in the translation process