All Projects → Tkd-Alex → Telegram Instapy Scheduling

Tkd-Alex / Telegram Instapy Scheduling

A Telegram bot for scheduling InstaPy

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Telegram Instapy Scheduling

aboutmeinfo-telegram-bot
ℹ️ About Me Info Bot: Share your social media and links on Telegram
Stars: ✭ 20 (-85.29%)
Mutual labels:  social, instagram, telegram
Socialmanagertools Igbot
🤖 📷 Instagram Bot made with love and nodejs
Stars: ✭ 699 (+413.97%)
Mutual labels:  bot, social, instagram
Telegram Pm Chat Bot
Telegram Private Message Chat Bot
Stars: ✭ 69 (-49.26%)
Mutual labels:  bot, telegram, message
Telegram Forward Bot
Simple Telegram Bot for forwarding messages easily between various related channels and groups.
Stars: ✭ 132 (-2.94%)
Mutual labels:  bot, telegram
Instagram Bot Dm
Instagram bot to send direct messages
Stars: ✭ 101 (-25.74%)
Mutual labels:  bot, instagram
Botogram
Just focus on your bots.
Stars: ✭ 106 (-22.06%)
Mutual labels:  bot, telegram
Lua Telegram Bot
Lua Library for the Telegram Bot API
Stars: ✭ 100 (-26.47%)
Mutual labels:  bot, telegram
Madelineproto
Async PHP client/server API for the telegram MTProto protocol
Stars: ✭ 1,776 (+1205.88%)
Mutual labels:  bot, telegram
Awesome Telegram Bot
Manual picked bot of Telegram.
Stars: ✭ 107 (-21.32%)
Mutual labels:  bot, telegram
Messaging Apis
Messaging APIs for multi-platform
Stars: ✭ 1,754 (+1189.71%)
Mutual labels:  bot, telegram
Moodle Downloader 2
A Moodle downloader that downloads course content fast from Moodle (eg. lecture pdfs)
Stars: ✭ 118 (-13.24%)
Mutual labels:  bot, telegram
Hackernewsbot
📰 Telegram bot that posts new hot stories from Hacker News to telegram channel
Stars: ✭ 103 (-24.26%)
Mutual labels:  bot, telegram
Telegram Bot Github
Allows to you receive GitHub notifications right in the Telegram
Stars: ✭ 103 (-24.26%)
Mutual labels:  bot, telegram
Zanzara
Asynchronous PHP Telegram Bot Framework built on top of ReactPHP
Stars: ✭ 107 (-21.32%)
Mutual labels:  bot, telegram
Ex gram
Telegram Bot API low level API and framework
Stars: ✭ 103 (-24.26%)
Mutual labels:  bot, telegram
Novagram
An Object-Oriented PHP library for Telegram Bots
Stars: ✭ 112 (-17.65%)
Mutual labels:  bot, telegram
Node Telegram Api
A simple API to create and control Telegram bots
Stars: ✭ 117 (-13.97%)
Mutual labels:  bot, telegram
Bull
Premium Queue package for handling distributed jobs and messages in NodeJS.
Stars: ✭ 11,748 (+8538.24%)
Mutual labels:  job, message
Instalike Instagram Bot
automate instagram activities using instagram bot - like follow/unfollow comment; python requests lib
Stars: ✭ 128 (-5.88%)
Mutual labels:  bot, instagram
Monit2telegram
A simple script to send Monit alerts using Telegram bot.
Stars: ✭ 97 (-28.68%)
Mutual labels:  bot, telegram

Telegram-InstaPy-Scheduling v2!

Telegram-InstaPy-Scheduling is bot for telegram which helps user to schedule InstaPy.

What's new?

  • Run multiple scripts simultaneously.
  • Configure your scripts in an easy way!
  • Create user lists.

What you need

  • This repo and all requirements.txt installed.
  • InstaPy working on your pc/server.
  • Telegram bot token.

How to setup

  1. Create a bot with @BotFather.
  2. Rename settings.json.dist => settings.json.
  3. Contact @GiveChatId_Bot and get your chat id with /chatid command
  4. Clone this repo into any folder
  5. Install requirements with pip install -r requirements.txt
  6. Populate settings.json with your data. instapy_folder is the path to your InstaPy installation.
{
    "telegram_token": "xxxx",
    "instapy_folder": "/home/xxxx/GitHub/instapy_bot",
    "allowed_id": [ "chat_id from GiveChatId_Bot", "342342" ],
    "project_path": [ "/path_where_you_want_load_your_files" ], # Optional, default: ./
    "users_file": "new_user_list_file.pickle"                   # Optional, default: users.pickle
}
  1. Write your personal scripts:

How?

  • Rename scripts.py.dist in scripts.py and edit it.
  • Create a function with any name and copy your InstaPy script inside it, for example (Make sure your first param is InstaPy):
def script_for_big_like(InstaPy, username, password, proxy):
    session = InstaPy(username=username, password=password)
    session.login()
    
    # your stuff here, e.g.
    session.like_by_tags(['natgeo', 'world'], amount=10)
    
    session.end()
  • Save and exit.
  • Launch main.py. You can pass the settings.json from outside this folder, print help: main.py -h for other info.

Avaiable commands

Users management

Command Parameters Description
/add_user <username> <password> <proxy:optional> Save new user.
/delete_user <username> Delete an user.
/users Print all users saved

Jobs management

Command Parameters Description
/set <username> <job_name> <script_name> <hh:mm:ss> Create a new schedule. Select the day from bot.
/unset <job_name> Delete a schedule.
/jobs Print all jobs that have been set
/reload Jobs are saved in db now. Use this cmd to reload.
/scripts Print all your scripts
/status <job_name:optional> Print the status of all your thread or a single thread.
/logs <username> <line_number> Show n lines of username/general.log file.
/now <script_name> <username> Run immediately.
/stop <job_name> Stop immediately.
/time Prints current server time, useful for scheduling.
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].