Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/anonyma/gh-skipped-commit-alarm

Pings you when you skip "commit day" ๐Ÿ’ช
https://github.com/anonyma/gh-skipped-commit-alarm

codecommit commit contributions github github-api notifier

Last synced: 15 days ago
JSON representation

Pings you when you skip "commit day" ๐Ÿ’ช

Awesome Lists containing this project

README

        

# Github commit-skipper alarm

**Skip leg day, not commit day แ•ฆ(รฒ_รณห‡)**

_Frequently forget to commit + push your code at the end of the day? Worry not, we have the right tool to help you..._

## Instructions
> Prerequisites: You will need `npm` (or `yarn`) and Node.js installed
1) `git clone` this repo
2) `cd` into it and run `npm install`
3) Fill in the `.env` file
4) Keep it running in the background with `pm2` or `forever` _(you will need to have these installed)_ or by adding it as a systemd service
```bash
pm2 start index.js
```
_(or alternatively, dockerize it and open a PR :) )_

ย 

---

### Cron syntax
Find an explanation [here](https://www.npmjs.com/package/node-cron)
```bash
0 19 * * *
# ^ run everyday at 19:00
30 14 * * *
# ^ run everyday at 14:30
```

#### โš™๏ธ `NOTIFY_ON_WEEKEND`
Set it to `true` if you want to receive alerts on Sat/Sun