No description
Find a file
Kasper Seweryn 8d3e7a6e3f
Some checks failed
Publish Docker image / build-and-publish (push) Has been cancelled
feat: auto restart kube log reader on crash
2024-11-04 13:57:04 +01:00
.github/workflows feat: add docker image 2024-10-31 21:46:39 +01:00
src feat: auto restart kube log reader on crash 2024-11-04 13:57:04 +01:00
.envrc feat: add flake 2024-10-30 22:08:02 +01:00
.gitignore feat: add kubernetes support 2024-10-31 21:37:03 +01:00
Cargo.lock feat: update crate name 2024-10-31 21:38:57 +01:00
Cargo.toml feat: update crate name 2024-10-31 21:38:57 +01:00
Dockerfile fix: fix libssl once again 2024-10-31 23:04:10 +01:00
flake.lock feat: add flake 2024-10-30 22:08:02 +01:00
flake.nix feat: add kubernetes support 2024-10-31 21:37:03 +01:00
justfile feat: update crate name 2024-10-31 21:38:57 +01:00
LICENSE feat: add license 2023-09-20 13:56:44 +00:00
README.md feat: update readme 2024-10-31 21:55:49 +01:00

Factorio <-> Telegram Bridge

This bridge uses RCON to forward messages from Telegram to Factorio and Factorio's console log file to forward messages from Factorio to Telegram

Usage

Usage: cracktorio-bot [OPTIONS] -t <TELEGRAM_TOKEN> -c <TELEGRAM_CHAT_ID> -p <FACTORIO_RCON_PASSWORD> <-l <FACTORIO_LOG_FILE>|-n <FACTORIO_KUBE_NAMESPACE>>

Below is a full list of options and environment variables

Option                        Env var                 Description
-s, --state-file-path         STATE_FILE_PATH         Path of state file that contains data shared between restarts
-t, --telegram-token          TELEGRAM_TOKEN          Telegram bot token
-c, --telegram-chat-id        TELEGRAM_CHAT_ID        Telegram chat id
-h, --factorio-rcon-host      FACTORIO_RCON_HOST      Factorio RCON host
-p, --factorio-rcon-password  FACTORIO_RCON_PASSWORD  Factorio RCON password
-l, --factorio-log-file       FACTORIO_LOG_FILE       Factorio console log file
-n, --factorio-kube-namespace FACTORIO_KUBE_NAMESPACE Factorio Kubernetes Namespace
-L, --factorio-kube-labels    FACTORIO_KUBE_LABELS    Factorio Kubernetes pod label filter
-e, --experimental            FACTORIO_EXPERIMENTAL   Use Experimental factorio version
    --fff                     FACTORIO_FRIDAY_FACTS   If set, the bridge will check for new Factorio Friday Facts and send them to the chat
-h, --help                                            Print help