Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
This Telegram bot provides a user-friendly interface to interact with the ANY.RUN API. It allows users to submit files and URLs for analysis, retrieve analysis results, and perform various operations with the ANY.RUN service directly through Telegram.
Follow these instructions to set up and run the bot.
Clone the repository:
git clone https://github.com/bykovk-pro/ANY.RUN-for-Telegram.git
cd ANY.RUN-for-Telegram
Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
Install the bot:
pip install .
Set up the environment variables:
Create a .env
file in the project root with the following content:
TELEGRAM_TOKEN=<your_telegram_token>
TELEGRAM_ADMIN_ID=<your_telegram_admin_id>
REQUIRED_GROUP_IDS=<comma_separated_group_ids>
LOG_LEVEL=<your_log_level>
TELEGRAM_LOG_LEVEL=<your_telegram_log_level>
SQLITE_LOG_LEVEL=<your_sqlite_log_level>
DB_PASSWORD=<your_backup_password>
Replace the placeholder values with your actual values.
To run the bot, use the following command:
anyrun-tg-bot start
The bot will start and run in the foreground. For production use, consider using a process manager to run the bot as a background service.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A Telegram bot for interacting with the ANY.RUN API
We found that anyrun-tg-bot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.