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-botconfig - Environment variables
- Global
{HOME}/.forwarding-botconfig
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 =
USER_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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file forwarding_bot-2.5.2-py3-none-any.whl.
File metadata
- Download URL: forwarding_bot-2.5.2-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad9fb2497f1166c55cf35588c40efe8f9bf4938de083ecd00e9a7f19c991eb4b
|
|
| MD5 |
5b94ba3b3c34eddd6ca9280aeca835f6
|
|
| BLAKE2b-256 |
caf896914c15d79e2fbcfb22c8e7f79ec246f16bfa800b40fb91f569f8435081
|