github-weekly-report

module
v0.1.1-0...-5be040a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2021 License: Apache-2.0

README

github-weekly-report

github-weekly-report watches your repositories, specified by you, and notifies you on Telegram about what occurred on your repositories.

USAGE

ACCESS_TOKEN = Github Access Token.

OWNER = Owner of the Github account.

REPOSITORY = Name of your repositories you want to get notification.

  • You can pass all
    • REPOSITORY="all"
  • You can pass many repositories by seperating them using comma
    • REPOSITORY="repository1, repository2"

CHATID = Telegram provides CHATID in response of this url https://api.telegram.org/bot<TOKEN>/getUpdates?offset=0

TOKEN = Telegram provides TOKEN when you created a Bot.

You can run also without Docker but firstly you should pass the variables.

export ACCESS_TOKEN="" \
> OWNER="" \
> REPOSITORY="" \
> CHATID="" \
> TOKEN="" \

Docker

 docker build -t github-weekly-report .
docker run -d --restart \
> -e ACCESS_TOKEN="" \
> -e OWNER="" \
> -e REPOSITORY="" \
> -e CHATID="" \
> -e TOKEN="" \
> github-weekly-report

You can also use ko to create image.

docker run -d --restart $(ko publish ./cmd) \ ...
INTERVAL and FORK choices are also available. You may change your time interval to get notification and see the occurred stuffs on your repositories you forked.

You can get your notifications as daily, hourly or in minutes. Default value is weekly.


> INTERVAL = 1h    -> notify you once in a hour.
> FORK     = true  -> notify you about forked repositories 

DEMO

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL