Skip to content

lxmfy/js8call-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 29, 2024
b7e4847 · Dec 29, 2024

History

5 Commits
Dec 28, 2024
Dec 28, 2024
Dec 28, 2024
Dec 28, 2024
Dec 28, 2024
Dec 28, 2024
Dec 28, 2024
Dec 29, 2024
Dec 28, 2024
Dec 28, 2024
Dec 28, 2024
Dec 28, 2024

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