No project description provided
Project description
Forwarding bot
Not really scalable, but straightforward one-way VK->TG message forwarding bot
Forward your VK conversation messages to TG
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
pre-commit
usage is highly recommended
install hooks via pre-commit install -t=pre-commit -t=pre-push
License
Documentation
Installation
From PyPi
pip install forwarding-bot
From GitHub
git clone https://github.com/dhvcc/forwarding-bot.git
cd forwarding-bot
pip install .
Extras
You can install extra dependencies, such as speedups
or dev
pip install forwarding-bot[dev]
# You must be in a directory where setup.py is located
pip install .[speedups]
pip install forwarding-bot[speedups,dev]
Config
Config argument sources are prioritized
- Command-line arguments
- Local
.forwarding-bot
config - Environment variables
- Global
{HOME}/.forwarding-bot
config
Command-line arguments
To view help on cli arguments you can run forwarding-bot --help
INI configs
Every argument is optional if config and will be grabbed from other source if not present The syntax for config is the following:
[forwarding-bot]
BOT_TOKEN =
GROUP_TOKEN =
SOURCE_ID =
DESTINATION_ID =
Local/global INI configs must be named .forwarding-bot
Global config must be located in your home folder
Environment variables
Env vars should be prefixed with FORWARDING_BOT_
, for example, FORWARDING_BOT_BOT_TOKEN
Using environment variables
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for forwarding_bot-2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 730466ba9740328fc23c89f9e1e9952b087445ecc502aeb0f2032a0d3c9c698f |
|
MD5 | 01af1a2e4ca216cbcd8436b6f5d49704 |
|
BLAKE2b-256 | 61bd686d05915e9a38ae109295774d07ef5886236646d163dd782ed8c47c12f6 |