Skip to content

πŸ“Ί Send almost every stream from Chrome to Kodi with SendToKodi

License

Notifications You must be signed in to change notification settings

firsttris/chrome.sendtokodi

Repository files navigation

SendToKodi

SendToKodi Banner

Check Build Chrome Web Store Chrome Web Store Users Mozilla Add-on Mozilla Add-on Users

Stream almost any video from your browser directly to Kodi - Simple, powerful, and open source.

✨ Features

  • 🎬 Universal Streaming - Support for 1000+ websites via yt-dlp
  • πŸ“‹ Playlist Support - Send entire playlists with a single click
  • πŸ”„ Multiple Connections - Save and manage different Kodi instances
  • πŸš€ One-Click Send - Stream instantly from your browser
  • πŸ”’ Privacy-Focused - No data collection, fully open source
  • 🎨 Modern UI - Built with modern web technologies

πŸ“¦ Installation

Chrome Web Store

Available in the Chrome Web Store

Mozilla Add-ons

Get the Add-On

Microsoft Edge Add-ons

Get the Add-On

πŸ“‹ Requirements

To use this extension, you need to install the SendToKodi Addon in Kodi:

Kodi Addon: plugin.video.sendtokodi

The addon handles the actual streaming on the Kodi side and must be installed for this extension to work.

πŸ”§ Configuration for Firefox

After installing the extension in Firefox, you need to configure permissions to allow access to all website URLs. This is required for the extension to function properly with all supported sites.

  1. Open the Firefox Add-ons Manager by navigating to about:addons.
  2. Locate the SendToKodi extension and click on the gear icon or the settings button.
  3. Go to the Permissions tab.
  4. Enable the option Access your data for all websites.

Here’s an example of how the permissions screen should look:

Firefox Settings

πŸ› οΈ Tech Stack

TypeScript
TypeScript
Solid.js
Solid.js
Vite
Vite
Tailwind CSS
Tailwind CSS

πŸ’» Development

Prerequisites

  • Node.js 20 or higher
  • npm

Setup

# Clone the repository
git clone https://github.com/firsttris/chrome.sendtokodi.git
cd chrome.sendtokodi

# Install dependencies
npm install

# Start development server
npm run start
# For Firefox compatibility
npm run start:firefox

Load Extension

Chrome:

  1. Open Chrome and navigate to chrome://extensions/
  2. Enable Developer mode (toggle in top-right)
  3. Click Load unpacked
  4. Select the build folder from the project

Firefox:

  1. Open Firefox and navigate to about:debugging
  2. Click This Firefox
  3. Click Load Temporary Add-on...
  4. Select any file in the build folder

The extension will hot-reload as you make changes.

πŸ” Privacy & Security

  • 100% Open Source - All code is available for review
  • No Tracking - We don't collect any data
  • Local Processing - Everything runs on your device
  • Transparent Permissions - Only uses necessary browser APIs

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Special thanks to our contributors:

πŸ“€ Publishing

How to get the secrets for publishing

Chrome Web Store

GitHub Actions workflow automates publishing to Chrome Web Store.

Setup:

  1. Generate API credentials following chrome-webstore-upload-keys
  2. Run npx chrome-webstore-upload-keys to get your REFRESH_TOKEN
  3. Add these secrets to your GitHub repository:
    • CHROME_EXTENSION_ID
    • CHROME_CLIENT_ID
    • CHROME_CLIENT_SECRET
    • CHROME_REFRESH_TOKEN

Deploy:

# Trigger via GitHub Actions workflow
gh workflow run submit_chrome_webstore.yml

Mozilla Add-ons

GitHub Actions workflow automates publishing to Mozilla Add-ons store.

Setup:

  1. Go to Mozilla Add-on API Keys
  2. Generate your API credentials (JWT issuer and JWT secret)
  3. Add these secrets to your GitHub repository:
    • FIREFOX_EXTENSION_ID
    • FIREFOX_JWT_ISSUER
    • FIREFOX_JWT_SECRET

Deploy:

# Trigger via GitHub Actions workflow
gh workflow run submit_firefox_addon.yml

Microsoft Edge Add-ons

GitHub Actions workflow automates publishing to Edge Add-ons store.

Setup:

  1. Go to Microsoft Partner Center - Publish API
  2. Generate API credentials
  3. Add these secrets to your GitHub repository:
    • EDGE_PRODUCT_ID
    • EDGE_CLIENT_ID
    • EDGE_API_KEY

Deploy:

# Trigger via GitHub Actions workflow
gh workflow run submit_edge_store.yml

Made by the open source community

⭐ Star us on GitHub β€’ πŸ› Report a Bug β€’ πŸ’‘ Request a Feature