Skip to content

Send-to-Telegram: an extension for Google Chrome that allows you to send web content to your own Telegram Bot.

License

Notifications You must be signed in to change notification settings

phguo/Send-to-Telegram-Chrome-Extension

 
 

Repository files navigation

Send-to-Telegram for Google Chrome

Chrome Web Store license: MIT

Send to Telegram: A Chrome Extension - Send web content to your Telegram bot privately. | Product Hunt

** IT WORKS (UPDATED: 2024-08-14) **

This is a Chrome extension that allows you to send web content (tab, text, image) to your own "Telegram Bot" using official Telegram API, such that you can sync interesting things across devices, i.e., your phone, your PC, and your laptop.

This project is an alternative to Pushbullet which stopped release on iOS (Not Available on iOS : PushBullet). Since a third-party server is not required for this extension, so you do not need to worry about privacy.

Getting Start

  1. Install "Send to Telegram" from Chrome Web Store - Send to Telegram.
  2. Create a Telegram Bot following Telegram official introduction and get your bot <API token>.
  3. Send any message to the bot created, in the Telegram APP.
  4. Get your <User ID> (value of id in the response) by visiting https://api.telegram.org/bot<API token>/getUpdates.
  5. Fill your <API token> and <User ID> in the extension setting page.
  6. If everything is working correctly, the settings page and your bot will display '"Send to Telegram" configured successfully!'.

Usage

You can use this extension intuitively:

  • Send tab to your bot
    • click on the top right extension icon Telegram icon.
  • Send text to your bot
    • select web content and right click -> Push this selection to Telegram Bot.
  • Send image to your bot
    • right click on an image -> Send to Telegram.
  • Send URL to your bot
    • right click on a URL -> Send to Telegram.

Changelog

  • v1.1.1 - Aug. 14, 2024

    • Migrate to Manifest V3.
    • Change the icon.
    • Add "Setup Instruction" to the options page.
  • v0.9 - Mar. 31, 2021

    • The first release.

TODO

  • Open link sent from phone.
  • Add shortcut (suggested by brucmao).
  • Add user interface for sending custom content (suggested by he110comex and Tgeek).
  • Send image file instead of URL (suggested by jemyzhang).
  • Set up API URL manually (suggested by windyskr).
  • Obtain <API token> automatically.
  • Open new tab in Chrome when a URL is send to bot from phone.

License

This project is licensed under the MIT License, see the LICENSE file for details.

Acknowledgments

About

Send-to-Telegram: an extension for Google Chrome that allows you to send web content to your own Telegram Bot.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 70.7%
  • HTML 28.8%
  • Makefile 0.5%