Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/necauqua/chronotube
Automatically updates current YouTube or Twitch video URL with the timecode of the playing video
https://github.com/necauqua/chronotube
timecode twitch url youtube
Last synced: 28 days ago
JSON representation
Automatically updates current YouTube or Twitch video URL with the timecode of the playing video
- Host: GitHub
- URL: https://github.com/necauqua/chronotube
- Owner: necauqua
- License: mit
- Created: 2020-02-05T20:36:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T22:46:04.000Z (over 1 year ago)
- Last Synced: 2024-11-07T14:29:40.053Z (3 months ago)
- Topics: timecode, twitch, url, youtube
- Language: JavaScript
- Homepage:
- Size: 1.15 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.markdown
- Changelog: changelog.markdown
- License: LICENSE
Awesome Lists containing this project
README
# Chronotube
[![mozilla add-on page](https://img.shields.io/amo/v/chronotube)](https://addons.mozilla.org/en-US/firefox/addon/chronotube/)
[![mozilla add-on page reviews](https://img.shields.io/amo/stars/chronotube.svg)](https://addons.mozilla.org/en-US/firefox/addon/chronotube/reviews/)
[![mozilla add-on page](https://img.shields.io/amo/users/chronotube)](https://addons.mozilla.org/en-US/firefox/addon/chronotube/)This addon synces the playing YouTube or Twitch video with the URL, changing the timestamp URL parameter on the fly while the video plays. Does not clutter the history.
![addon demo gif](demo.gif)
This is very useful as now you will never lose the spot where you were watching, and eases a litte bookmarking or sharing videos with specific timecodes.
This addon evolved from my userscript just so that it would be synced across any of my devices where I happen to use Firefox (or even Chrome, since this is a web-extension apparently), and also fix the history clutter issue, which is a long-lived Firefox [bug](https://bugzilla.mozilla.org/show_bug.cgi?id=753264).
## Settings
You can configure how the timecode parameter looks like - at YouTube by default it looks like `4535s` and on Twitch it looks like `1h15m35s`, hovewer both sites support both formats so now this is configurable.Also, there is an offset setting.
I used to store not the exact second in the URL, but the one behind it, so that I definitely won't miss a couple of frames when reloading the page, for example.This offset of -1 was moved to the config so that you can set it to 0 to disable it, to -5 or -whatever to have some time to recall what's happening in the video, or even to some positive value if you wanted to for whatever reason.
## Contributing
There is a little system in place that eases adding support for other platforms - see `src/platforms.js` file.
You may submit a pull request where you add your desired platform there.## Building
You need to have git, npm and node installed, then you can clone this repo and run `npm install` and then `npm run build`.
The extension zip file will land in the dist folder.## License
Licensed under MIT except the icon, it was made by Freepik from www.flaticon.com