An open API service indexing awesome lists of open source software.

https://github.com/berkguzel/github-weekly-report

watches your repositores and sends notification once in week
https://github.com/berkguzel/github-weekly-report

docker github github-golang go golang

Last synced: 3 months ago
JSON representation

watches your repositores and sends notification once in week

Awesome Lists containing this project

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/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](https://github.com/google/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

![](docs/demo.png)