All Projects → idoco → Intergram

idoco / Intergram

Licence: mpl-2.0
Free live chat widget linked to your Telegram messenger

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Intergram

University News Notifier
📚 University news notifier
Stars: ✭ 56 (-94.9%)
Mutual labels:  telegram-bot, telegram
Telepyth
Telegram notification with IPython magics.
Stars: ✭ 54 (-95.08%)
Mutual labels:  telegram-bot, telegram
Telegram Php
Stars: ✭ 31 (-97.17%)
Mutual labels:  telegram-bot, telegram
Marvin
The paranoid bot (framework)
Stars: ✭ 51 (-95.35%)
Mutual labels:  telegram-bot, telegram
Bot Telegram
Exemplo de como criar um BOT para o melhor app de mensagens do mundo: Telegram.
Stars: ✭ 53 (-95.17%)
Mutual labels:  telegram-bot, telegram
Tikvidbot
🎵🤖 TikTok Any Video Downloader Telegram Bot
Stars: ✭ 20 (-98.18%)
Mutual labels:  telegram-bot, telegram
Telegram Bot Ruby
Ruby wrapper for Telegram's Bot API
Stars: ✭ 1,039 (-5.29%)
Mutual labels:  telegram-bot, telegram
Torpedo
Pluggable, multi-network asynchronous chat bot written in Go
Stars: ✭ 19 (-98.27%)
Mutual labels:  telegram-bot, telegram
Telegramgroup
Telegram群合集,如果有更多好玩的telegram群,欢迎在 issue 提出或者pull requests
Stars: ✭ 1,073 (-2.19%)
Mutual labels:  telegram-bot, telegram
Planetpython telegrambot
Django App Planet Python Telegram Bot
Stars: ✭ 42 (-96.17%)
Mutual labels:  telegram-bot, telegram
Nikoro
A plugin-based, all-in-one, Telegram Bot written in Node.js
Stars: ✭ 51 (-95.35%)
Mutual labels:  telegram-bot, telegram
Teletor
Telegram Torrents Bot
Stars: ✭ 54 (-95.08%)
Mutual labels:  telegram-bot, telegram
Pytelbot
A playful bot in telegram
Stars: ✭ 12 (-98.91%)
Mutual labels:  telegram-bot, telegram
Rssbot
Lightweight Telegram RSS bot for notifications only. 用于消息通知的轻量级 Telegram RSS 机器人
Stars: ✭ 952 (-13.22%)
Mutual labels:  telegram-bot, telegram
Xye Bot
Бот Хуификатор
Stars: ✭ 26 (-97.63%)
Mutual labels:  telegram-bot, telegram
Spytrojan keylogger
[Solo para programadores] Troyano espía | Keylogger solo para Windows, se replica en el sistema y se inicia automaticamente al iniciar sesión. | Envío de registro mediante [Base de Datos], [Gmail] o [BotTelegram].
Stars: ✭ 32 (-97.08%)
Mutual labels:  telegram-bot, telegram
Mypackbot
🤖 Your own unlimited pack of Telegram-stickers
Stars: ✭ 18 (-98.36%)
Mutual labels:  telegram-bot, telegram
Micha
Client lib for Telegram bot api
Stars: ✭ 18 (-98.36%)
Mutual labels:  telegram-bot, telegram
Moviemagnetbot
🤖 telegram bot for movies
Stars: ✭ 39 (-96.44%)
Mutual labels:  telegram-bot, telegram
Laravel
Laravel package for PHP Telegram Bot Library
Stars: ✭ 57 (-94.8%)
Mutual labels:  telegram-bot, telegram

Intergram - Demo

A Free live chat widget that you can easily add to your website. It will let you chat with your website visitors using your Telegram messenger.

🎉 Main Contributors 🎉

How?

You initiate a chat with my Telegram bot and add 2 lines of script to your website to embed the widget. Visitors' messages are sent from the chat widget to my bot server, which sends them to your Telegram messenger where you can answer them. You can also self-host the bot server to get more control of this process.

Why use a Telegram bot to implement a chat widget?

By using a Telegram bot, I delegate all the message routing work and chat state management to Telegram. I don't have to build fancy mobile and desktop apps for several platforms because Telegram already has a great multiplatform chat client. And, I can easily handle a huge amount of load, because my app runs completely stateless (No database) and just serves as a pipe between Telegram and the chat widget users.

Embed Intergram in your website with these 2 simple steps

  1. Open Telegram messenger, search for @Intergram and hit /start to get your unique chat ID. (direct link)

  1. Paste this code snippet right before the closing body tag of every page where you want the chat to appear (Don't forget to add your actual chat ID).
<script> window.intergramId = "Your unique chat id" </script>
<script id="intergram" type="text/javascript" src="https://www.intergram.xyz/js/widget.js"></script>

Note: replying to a specific message should be used to respond to that specific visitor. Sending a standard message will broadcast to all connected chat clients (You might find it easier to use if you have only one active conversation)

Important Notice: I plan to keep the hosted chat service 100% free (no ads also!), but there are some hosting expenses (servers, domain, cdn, etc), so I will soon start bundeling a Loadmill component with the Intergram script. Loadmill is a new concept and still in Beta - If you don't feel comfortable with this, please use your own self hosted version.

Customization - Try It

Currently you can customize all visible texts and the main widget color by setting an optional intergramCustomizations object in the injection script tag. (All its properties are also optional and will fallback to their original values)

<script> 
    window.intergramId = "Your unique chat id";
    window.intergramCustomizations = {
        titleClosed: 'Closed chat title',
        titleOpen: 'Opened chat title',
        introMessage: 'First message when the user opens the chat for the first time',
        autoResponse: 'A message that is sent immediately after the user sends its first message',
        autoNoResponse: 'A message that is sent one minute after the user sends its first message ' +
                        'and no response was received',
        mainColor: "#E91E63", // Can be any css supported color 'red', 'rgb(255,87,34)', etc
        alwaysUseFloatingButton: false // Use the mobile floating button also on large screens
    };
</script>
<script id="intergram" type="text/javascript" src="https://www.intergram.xyz/js/widget.js"></script>

Initial Footprint

  • Using Preact helped creating a pretty minimal js bundle.
  • The widget injection script is about 5KB gziped and executes only after the host page finished loading ('onload' event).
  • The chat iframe will only be loaded if the user interacts with the chat widget (currently about 40KB gziped).

Deploy your own Intergram instance (Self Hosting)

  1. Talk to Telegram @BotFather, create a new bot and get its API Token.

  2. Deploy this repo to your own chat server.

  • Clone it locally and install or if you use Heroku, fork this repository and point the new app to it.
  • Set an .env variable named TELEGRAM_TOKEN with the value you got from @BotFather
  1. Point the bot webhook to your bot server by making a GET request to the following url https://api.telegram.org/bot<TOKEN>/setWebhook?url=<Server url>/hook (Don't forget to replace with your token and server url)

  2. Open a chat with your bot and hit /start to get your unique chat ID

  3. Embed this code snippet in your website

<script> 
    window.intergramId = "Your unique chat ID"
    window.intergramServer = "Server url"
</script>
<script id="intergram" type="text/javascript" src="<Server url>/js/widget.js"></script>
  1. 🎉
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].