Skip to content

lxmfy/js8call-bot

Repository files navigation

LXMFy JS8Call Bot

LXMF JS8Call bot that uses the LXMFy bot framework.

Installation

Create directories for the bot

mkdir -p yourbotname/config yourbotname/storage yourbotname/.reticulum

Docker:

docker run -d \
    --name lxmfy-js8call-bot \
    --network host \
    -v $(pwd)/yourbotname/config:/bot/config \
    -v $(pwd)/yourbotname/.reticulum:/root/.reticulum \
    -v $(pwd)/yourbotname/storage:/bot/storage \
    --restart unless-stopped \
    ghcr.io/lxmfy/lxmfy-js8call-bot:latest

Podman:

podman run -d \
    --name lxmfy-js8call-bot \
    --network host \
    -v $(pwd)/yourbotname/config:/bot/config \
    -v $(pwd)/yourbotname/.reticulum:/root/.reticulum \
    -v $(pwd)/yourbotname/storage:/bot/storage \
    --restart unless-stopped \
    ghcr.io/lxmfy/lxmfy-js8call-bot:latest

Manual:

poetry install
poetry run lxmfy-js8call-bot

Configuration

The bot uses a configuration file located at config/lxmfy_js8call_bot.ini. You can use example-config.ini as a template.

Development

poetry install
poetry run lxmfy-js8call-bot

Docker

mkdir -p yourbotname/config yourbotname/storage yourbotname/.reticulum
docker build -t lxmfy-js8call-bot .


docker run -d \
    --name lxmfy-js8call-bot \
    --network host \
    -v $(pwd)/yourbotname/config:/bot/config \
    -v $(pwd)/yourbotname/.reticulum:/root/.reticulum \
    -v $(pwd)/yourbotname/storage:/bot/storage \
    --restart unless-stopped \
    lxmfy-js8call-bot

Podman

podman run -d \
    --name lxmfy-js8call-bot \
    --network host \
    -v $(pwd)/yourbotname/config:/bot/config \
    -v $(pwd)/yourbotname/.reticulum:/root/.reticulum \
    -v $(pwd)/yourbotname/storage:/bot/storage \
    --restart unless-stopped \
    lxmfy-js8call-bot