Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.
/ bot Public archive

Future 🏑 of our little Telegram πŸ€–

Notifications You must be signed in to change notification settings

incompleto/bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

af97ca9 Β· Sep 4, 2020

History

65 Commits
Jun 25, 2018
Feb 5, 2019
Feb 5, 2019
Feb 12, 2019
Feb 4, 2019
Mar 27, 2018
Feb 5, 2019
Sep 4, 2020
Feb 12, 2019
Feb 12, 2019
Feb 12, 2019
Feb 12, 2019

Repository files navigation

Bot

Telegram bot that stores URLs, photos, and avatars from a chat in to an Airtable base.

How to install it

The installation process requires you to:

  1. Create a glitch project.
  2. Create a base in Airtable and copy the tokens/credentials.
  3. Create the Telegram bot
  4. Invite your bot to a Telegram chat

Creating a Glitch project

In this step you'll create a Glitch project that will host a server to handle the communications between your Telegram bot and your Airtable base.

  1. Fork this repo.
  2. Go to your glitch.com dashboard.
  3. Create a new "hello-express" project.
  4. Open the project options and click on "Advanced options".
  5. Grant access to your GitHub account.
  6. Click on "Import from GitHub".
  7. In the prompt window write the path to the repo in github: username/bot.
  8. Using the glitch browser to copy the contents of the env.sample file and use it to replace the contents of the secret .env file.

Creating a base in Airtable

In this step you'll create and setup an Airtable base to collect URLs, photos, and avatars from a chat

  1. Go to Airtable and create a new base using Import a spreadsheet
  2. Pick the option to create the table using a CSV file and use the CSV files in the templates folder.
  3. Rename the base and copy the name β†’ AIRTABLE_BASE_NAME
  4. Go to your account and copy the API key β†’ AIRTABLE_API_KEY

Create the Telegram bot

TBD

Invite your bot to a Telegram chat

TBD