Giter Club home page Giter Club logo

pytelebetter's Introduction

PyTeleBetter

Introduction

A refactoring and cleanup of a really old project of mine. PyTeleBetter is an app that allows to automatically reply to the posts in Telegram channels. It aims to be powerful and simple to use.

Features

  • Multi-account
  • Multi-channel
  • Automatic account setup
  • Automatic channel for account setup (not tested as i don't have a premium account, but it worked in the past.)

Installation

git clone https://github.com/InvincibleDude/PyTeleBetter/
poetry install
poetry run main

Configuration

In config_accounts.json.example file there is an example of how to setup an account for this tool. There are two reply modes - peg and py. The latter is unrecommended and untested, as it poses a security risk. The peg mode is able to randomize your messages by using a simple template language. You can look at an example of it in the provided example config file. You can add as many variations as you can, by separating them with |, but you can't nest the variations. The images for the channel layer setup are put in the images folder and their names must follow the following template:

# (all|{index}) - chooses a photos that are assigned to all (0) or to specific account ({index})
# (pfp|clp|ptsw):
#   pfp - profile picture
#   clprofile - channel layer profile picture
#   clpost - channel layer profile post pics
# ([0-9]) - index of photo
# Examples: 0_ptsw_1.png, 0_ptsw_2.jpg

pytelebetter's People

Contributors

invincibledude avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.