Telegram bot to upload media to telegra.ph

Overview

Telegraph @StarkTelegraphBot

A star from you means a lot to us !

Telegram bot to upload media to telegra.ph

Open Source Love svg1

Usage

Deploy to Heroku

Deploy

  1. Tap on above button and fill API_ID, API_HASH, BOT_TOKEN.
  2. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
  3. After deploying is complete, tap on "Manage App"
  4. Check the logs to see if your bot is ready!

Local Deploying

  1. Clone the repo

    git clone https://github.com/StarkBotsIndustries/TelegraphBot
  2. Edit Config.py and fill the needed variables

  3. Enter the directory

    cd TelegraphBot
  4. Run the file

    python3 main.py

Environment Variables

Mandatory Vars

  • API_ID - Get this from my.telegram.org
  • API_HASH - Get this from my.telegram.org
  • BOT_TOKEN - Get this from @BotFather
  • OWNER_ID - Your Telegram ID
  • DATABASE_URL - Will be automatically added by Heroku.

Optional Vars

Don't forget to add your bot in the chat you fill in MUST_JOIN.

  • MUST_JOIN - Username/ID of your telegram channel/group.

Owner Special Command

  • /stats - Get Total Users and Chats using your bot.

Functions

More features soon, this is a minimal example :)

Upload one of the below supported media type to Telegra.ph

  1. Image
  2. Video
  3. Sticker
  4. Gifs or Animation
  5. Videos
  6. Video Note
  7. Document (Video/Photo/Gif)

To-Do

That's on you mainly...

Stats

GitHub forks GitHub stars GitHub watchers Maintenance

License

License: AGPL v3

Contributing

GitHub contributors

Contributions are heartily accepted.

PRs Welcome

Credits

Support

Channel :- @StarkBots

Group Chat :- @StarkBotsChat

:)

ForTheBadge made-with-python

ForTheBadge built-with-love

ForTheBadge makes-people-smile

Owner
Stark Bots
Stark Bots
API development made easy: a smart Python 3 API framework

appkernel - API development made easy What is Appkernel? A super-easy to use API framework, enabling API creation from zero to production within minut

156 Sep 28, 2022
APRS Track Direct is a collection of tools that can be used to run an APRS website

APRS Track Direct APRS Track Direct is a collection of tools that can be used to run an APRS website. You can use data from APRS-IS, CWOP-IS, OGN, HUB

Per Qvarforth 42 Dec 29, 2022
AutoMetamon: Simple program to play Metamon automatically

AutoMetamon: Simple program to play Metamon automatically

Ngô Văn Tuấn 2 Sep 13, 2022
Cirq is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators

Cirq is a Python library for writing, manipulating, and optimizing quantum circuits and running them against quantum computers and simulators. Install

quantumlib 3.6k Jan 07, 2023
TB Set color display - Add-on for Blender to set multiple objects and material Display Color at once.

TB_Set_color_display Add-on for Blender with operations to transfer name between object, data, materials and action names Set groups of object's or ma

1 Jun 01, 2022
Project of the MSEC_LDD . group

HackathonJuntionXHN Project of team MSEC_LQĐ What did we do? Building application to generate whitelist regex for Web application firewall How to setu

Nguyễn Mạnh Cường 0 Dec 19, 2021
A project to work with databases in 4 worksheets, insert, update, select, delete using Python and MySqI

A project to work with databases in 4 worksheets, insert, update, select, delete using Python and MySqI As a small project for school or college hope it is useful

Sina Org 1 Jan 11, 2022
My solutions to Advent of Code 2021 (written in Python)

Advent of Code 2021 This repository contains my solutions for the 2021 edition of Advent of Code. Please do not expect perfectly polished solutions, m

Nils 2 May 29, 2022
A python script that automatically joins a zoom meeting based on your timetable.

Zoom Automation A python script that automatically joins a zoom meeting based on your timetable. What does it do? It performs the following processes:

Shourya Gupta 3 Jan 01, 2022
Easily map device and application controls to a midi controller

pymidicontroller Introduction Easily map device and application controls to a midi controller

Tane Barriball 24 May 16, 2022
Craxk is a SINGLE AND NON-REPLICABLE Hash that uses data from the hardware where it is executed to form a hash that can only be reproduced by a single machine.

What is Craxk ? Craxk is a UNIQUE AND NON-REPLICABLE Hash that uses data from the hardware where it is executed to form a hash that can only be reprod

5 Jun 19, 2021
A shim for the typeshed changes in mypy 0.900

types-all A shim for the typeshed changes in mypy 0.900 installation pip install types-all why --install-types is annoying, this installs all the thin

Anthony Sottile 28 Oct 20, 2022
A docker container (Docker Desktop) for a simple python Web app few unit tested

Short web app using Flask, tested with unittest on making massive requests, responses of the website, containerized

Omar 1 Dec 13, 2021
python scripts - mostly automation scripts

python python scripts - mostly automation scripts You can set your environment in various ways bash #!/bin/bash python - locally on remote host #!/bi

Enyi 1 Jan 05, 2022
Plock : A stack based programming language

Plock : A stack based programming language

1 Oct 25, 2021
How to access and display MyEnergi data

MyEnergi-Python-Example How to access and display MyEnergi data Windows PC Install a version of Python typically 3.10 The Python code here needs addit

G6EJD 8 Nov 28, 2022
Q-Tracker is originally a High School Project created by Admins of Cirus Lab.

Q-Tracker is originally a High School Project created by Admins of Cirus Lab. It's completly coded in python along with mysql.(Tkinter For GUI)

Adithya Krishnan 2 Nov 14, 2022
A test repository to build a python package and publish the package to Artifact Registry using GCB

A test repository to build a python package and publish the package to Artifact Registry using GCB. Then have the package be a dependency in a GCF function.

1 Feb 09, 2022
A dead-simple service that notifies you when something goes down.

Totmannschalter Totmannschalter (German for dead man's switch) is a simple service that notifies you when it has not received any message from a servi

1 Dec 20, 2021
A minimal configuration for a dockerized kafka project.

Docker Kafka Quickstart A minimal configuration for a dockerized kafka project. Usage: Run this command to build kafka and zookeeper containers, and c

Nouamane Tazi 5 Jan 12, 2022