All Projects → dmcallejo → ASFBot

dmcallejo / ASFBot

Licence: GPL-3.0 license
Control your ArchiSteamFarm with Telegram

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to ASFBot

Addarr
Telegram Bot for adding series/movies to Sonarr/Radarr or for changing the download speed of Transmission/Sabnzbd
Stars: ✭ 150 (+383.87%)
Mutual labels:  telegrambot
tdlight-telegram-bot-api
The TDLight Telegram Bot API is an actively enhanced fork of the original Bot API, featuring experimental user support, proxies, unlimited files size, and more.
Stars: ✭ 71 (+129.03%)
Mutual labels:  telegrambot
DailyGakki
😘 每日分享最可爱的Gakki😭老婆嫁人啦😭
Stars: ✭ 29 (-6.45%)
Mutual labels:  telegrambot
TeleTweet
🦉 A telegram Twitter bot that will allow you send tweets!
Stars: ✭ 34 (+9.68%)
Mutual labels:  telegrambot
joinhider bot
Telegram bot to delete user joined messages
Stars: ✭ 20 (-35.48%)
Mutual labels:  telegrambot
TrashMailClient-TelegramBot
A Telegram Bot allows you to quickly create a trashmail and automatically confirm mails
Stars: ✭ 40 (+29.03%)
Mutual labels:  telegrambot
Superset
Apache Superset is a Data Visualization and Data Exploration Platform
Stars: ✭ 42,634 (+137429.03%)
Mutual labels:  asf
WilliamButcherBot
Telegram Group Manager Bot Written In Python Using Pyrogram.
Stars: ✭ 187 (+503.23%)
Mutual labels:  telegrambot
nosticker bot
Bot that fights telegram stickers
Stars: ✭ 18 (-41.94%)
Mutual labels:  telegrambot
tinjecttelegram delphi
LMCODE
Stars: ✭ 37 (+19.35%)
Mutual labels:  telegrambot
tdlight-java
Complete Bot and Userbot Telegram library based on TDLib
Stars: ✭ 128 (+312.9%)
Mutual labels:  telegrambot
Boting
Simple but powerful Telegram Bot library
Stars: ✭ 21 (-32.26%)
Mutual labels:  telegrambot
F80
A Professional Telegram-Bot Based On valtman.name/telegram-cli
Stars: ✭ 36 (+16.13%)
Mutual labels:  telegrambot
FileRenameBot
A Telegram File Renamer Bot With Permanent Thumbnail Support Also It Can Convert Files Into Video!!
Stars: ✭ 369 (+1090.32%)
Mutual labels:  telegrambot
Terminal
All-in-one solution for the management and security of your Telegram group. This is the third version and is written in C#
Stars: ✭ 12 (-61.29%)
Mutual labels:  telegrambot
pmChatBot
A simple feed-back bot written in PHP. Like Livegram. Heroku Support
Stars: ✭ 31 (+0%)
Mutual labels:  telegrambot
FreeSteamGames-TelegramBot
A Telegram Bot that sends you a message when a game on steam is free
Stars: ✭ 35 (+12.9%)
Mutual labels:  telegrambot
search photo-telegram-bot-heroku
一个可以部署在heroku上的搜图机器人
Stars: ✭ 137 (+341.94%)
Mutual labels:  telegrambot
TelegramShillBot
A simple Telegram bot, written in Python, that you can use to shill (i.e. send messages) your token, or whatever, to channels.
Stars: ✭ 42 (+35.48%)
Mutual labels:  telegrambot
FallenMusic
A Super Fast and Powerful Telegram bot for streaming music on telegram videochats, Powered by PyTgCalls and Pyrogram
Stars: ✭ 30 (-3.23%)
Mutual labels:  telegrambot

ASFbot

Telegram Bot coded in python to control your ASF instance.

Control your ASF instance anywhere.

Docker Build Action Docker Pulls

Usage:

  • Executable: (python3) bot.py
  • Arguments:
    • --token : Telegram API token given by @botfather (mandatory).
    • --alias : Telegram alias of the bot owner. Only this user can send commands to ASF. (mandatory).
    • --host : ASF IPC host (defaults to 127.0.0.1)
    • --port : ASF IPC listening port (defaults to 1242)
    • --password : ASF IPC password (if you have set one)
    • --verbosity: Log verbosity (DEBUG, INFO, WARN, ERROR)

You can also use environment variables to configure the bot. Environment variables would override any command argument set. The naming is pretty self-explanatory:

  • TELEGRAM_BOT_TOKEN
  • TELEGRAM_USER_ALIAS
  • ASF_IPC_HOST
  • ASF_IPC_PORT
  • ASF_IPC_PASSWORD

Once the bot has started and verified the connection to the ASF instance, you can send commands through your telegram bot using standard ASF notation (i.e.: !status asf) or Telegram notation (i.e.: /status asf). The bot also reads messages containing Steam cd-keys. It will automatically parse every key and activate them on your accounts with !redeem asf {{parsed_cdkey}} notifying you the process.

Quickstart (with docker)

  1. Create a bot via @botfather.
  2. Copy and fill the docker-compose.yml example below.
  3. Start it!

Notes

I recommend running it via its Docker image. Here it is an example docker-compose.yml to run bot ASF and the bot on Docker. Copy this to a file named docker-compose.yml, fill the appropriate missing data:

  • (1) your ASF/config directory path (remember to include in your ASF.json a permissive IPCPrefix like http://*:1242/)
  • (2) Your Telegram bot token
  • (3) Your Telegram user alias

Run docker-compose up -d

P.S.: ARMv7 and ARM64 docker builds are untested. Did you try them? Contact me!

docker-compose.yml template

version: '3.2'
services:
  asf:
    image: justarchi/archisteamfarm
    container_name: asf
    hostname: asf
    restart: unless-stopped
    environment:
      - ASF_ARGS=--server
    ports:
      - 1242:1242
    volumes:
      - # (1) paste here your old ASF/config directory :/app/config
  asfbot:
    image: ghcr.io/dmcallejo/asfbot
    container_name: asfbot
    hostname: asfbot
    restart: unless-stopped
    command: --host asf
    environment:
      - TELEGRAM_BOT_TOKEN= # (2) paste here your API token given by @botfather
      - TELEGRAM_USER_ALIAS= # (3) paste here your Telegram alias i.e.: @myalias
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].