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

cridin1/Send-to-Telegram-Chrome-extension_GPT

 
 

Repository files navigation

Send-to-Telegram for Google Chrome

visitors Chrome Web Store license: MIT

This is a Chrome extension that allow you to send web content (tab, text, image) to your own "Telegram Bot" using official Telegram API, such that your can sync interesting things across devices, i.e., your phone, your PC, and your laptop. This Chrome extension also integrates ChatGPT. When the web content is selected, ChatGPT will try to respond to the request. Both the request and the response will be sent to your telegram chat.

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

This extension can be installed from Chrome Web Store - Send to Telegram for Google Chrome (recommended) or the release page.

Getting Start

  1. Install "Send to Telegram for Google Chrome" from Chrome Web Store.
  2. Create a Telegram Bot following Telegram official introduction and get your bot <API token>.
  3. Get your <User ID> by visiting https://api.telegram.org/bot<API token>/getUpdates after you send arbitrary content to your bot in telegram APP. The field "id" in the HTTP response is your <User ID>.
  4. Fill your <API key> and <Telegram Chat ID> in the extension setting page. If everything is going on smoothly, the setting page will show a green "Saved!" and your bot will send your a massage of "Setting for 'Send-to-Telegram' successfully.
  5. Fill your <ChatGPT token> and <Telegram Chat ID for ChatGPT> in the extension setting page."

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 for Google Chrome.
  • Send URL to yout bot

    • right click on a URL -> Send to Telegram for Google Chrome.
  • Send to Telegram Bot GPT -> works only selecting text in the web page

    • Your web content selection will be sent to ChatGPT.
    • ChatGPT request and response will be sent to your specified telegram chat.

License

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

Acknowledgments

This project was forked from rahimnathwani/pushover-for-chrome for Pushover.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.1%
  • HTML 10.6%
  • Makefile 0.3%