TeleIRC is a Go implementation of a Telegram <=> IRC bridge. TeleIRC works with any IRC channel and Telegram group. It bridges messages between a Telegram group and an IRC channel.
teleirc.com
$ appjail oci run -Pd \
-o overwrite=force \
-o virtualnet=":<random> default" \
-o nat \
-e TELEIRC_IRC_SERVER="irc.libera.chat" \
-e TELEIRC_IRC_CHANNEL="#channel" \
-e TELEIRC_IRC_BOT_REALNAME="Telegram bridge" \
-e TELEIRC_IRC_EDITED_PREFIX="(edited) " \
-e TELEIRC_IRC_QUIT_MESSAGE="TeleIRC bridge stopped." \
-e TELEIRC_TELEGRAM_CHAT_ID="-0000000000000" \
-e TELEIRC_TELEIRC_TOKEN="000000000:AAAAAAaAAa2AaAAaoAAAA-a_aaAAaAaaaAA" \
-e TELEIRC_IMGUR_CLIENT_ID="7d6b00b87043f58" \
ghcr.io/appjail-makejails/teleirc teleircNote that the above values are not actual values, this is for demonstration purposes only, use the correct values for your environment.
This image uses envsubst and this template to create the configuration file used by TeleIRC. See the template for a list of all available environment variables.
teleirc_from(default:ghcr.io/appjail-makejails/teleirc): Location of OCI image. See also OCI Configuration.teleirc_tag(default:latest): OCI image tag. See also OCI Configuration.
PGID(default:1000): Equivalent toPUIDbut for the Process Group ID.PUID(default:1000): Process User ID for the container's main process, allowing you to match the owner of files written to mounted host volumes to your host system's user. Writable volumes are changed based on this environment variable.
build:
variants:
- tag: 15.1
containerfile: Containerfile
aliases: ["latest"]
default: true
args:
FREEBSD_RELEASE: "15.1"
NO_PKGCLEAN: "1"
cache_dirs: ["pkgcache0:/var/cache/pkg"]