Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rennerdo30/todoist-youtube
This Chrome extension allows you to add the current YouTube video to your Todoist to-do list with the video title and duration. The extension uses a context menu for easy access.
https://github.com/rennerdo30/todoist-youtube
chrome-extension todoist todoist-api todoist-tasks
Last synced: about 11 hours ago
JSON representation
This Chrome extension allows you to add the current YouTube video to your Todoist to-do list with the video title and duration. The extension uses a context menu for easy access.
- Host: GitHub
- URL: https://github.com/rennerdo30/todoist-youtube
- Owner: rennerdo30
- License: mit
- Created: 2024-06-02T15:45:27.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-02T16:22:43.000Z (7 months ago)
- Last Synced: 2024-06-02T17:43:59.971Z (7 months ago)
- Topics: chrome-extension, todoist, todoist-api, todoist-tasks
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YouTube to Todoist Chrome Extension
This Chrome extension allows you to add the current YouTube video to your Todoist to-do list with the video title and duration. The extension uses a context menu for easy access.
## Features
- Adds the current YouTube video to your Todoist to-do list.
- Sets the task title to the video title.
- Sets the task duration to the length of the video.
- Allows you to configure your Todoist API token through an options page.## Installation
1. Clone or download this repository to your local machine.
2. Open Chrome and go to `chrome://extensions/`.
3. Enable "Developer mode" by toggling the switch in the top-right corner.
4. Click "Load unpacked" and select the directory where you downloaded or cloned this repository.## Usage
1. Navigate to a YouTube video page.
2. Right-click on the page and select "Add YouTube video to Todoist" from the context menu.
3. The video title and duration will be added to your Todoist to-do list.## Configuration
1. Click on the extension icon in the Chrome toolbar and select "Options" to open the options page.
2. Enter your Todoist API token and click "Save".## Files
- `manifest.json`: Defines the extension's configuration and permissions.
- `background.js`: Contains the background script to handle context menu interactions and Todoist API requests.
- `options.html`: Provides the UI for the options page where you can set your Todoist API token.
- `options.js`: Handles saving and retrieving the Todoist API token.
- `README.md`: This readme file.## Code
### `manifest.json`
```json
{
"manifest_version": 3,
"name": "YouTube to Todoist",
"version": "1.0",
"description": "Add the current YouTube video to Todoist as a task.",
"permissions": [
"activeTab",
"scripting",
"storage",
"contextMenus",
"identity",
"identity.email"
],
"host_permissions": [
"https://api.todoist.com/"
],
"background": {
"service_worker": "background.js"
},
"options_page": "options.html"
}