Skip to content

MarcoBaeuml/lighthouseTelegramBot

Repository files navigation

Lighthouse Telegram Bot

Generate Lighthouse reports with Telegram bot

lighthouseTelegramBot_example.png

Docker

Docker run

docker run -d -e BOT_TOKEN=<BOT_TOKEN> -v $HOME/lighthouseTelegramBot:/app/data --restart always marcobaeuml/lighthousetelegrambot

Docker compose

version: '3'
services:
    lighthousetelegrambot:
        image: marcobaeuml/lighthousetelegrambot
        container_name: lighthousetelegrambot
        environment:
            - BOT_TOKEN=<BOT_TOKEN>
        volumes:
            - '$HOME/lighthouseTelegramBot:/app/data'
        restart: always

Block user

If you want to block unwanted users, you can add a whitelist

Create whitelist.json in $HOME/lighthouseTelegramBot/data and add the chat IDs you want to grant access to

echo '{ "chatId": [<chatI>, <chatId>] }' > $HOME/lighthouseTelegramBot/whitelist.json

If no whitelist file is provided, any user will be accepted

Help

Create Telegram bot

https://core.telegram.org/bots

Get chat ID

When you send a message to the bot, a log file is created where you can find your chat ID

About

Generate Lighthouse reports with Telegram bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •