Skip to content

haytok/gngc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gngc (Get and Notify GitHub Contributions)

A simple command line application to get GitHub contributions from GraphQL API and notify them to IFTTT.

gngc

How to setup

  • Create $HOME/.gngc.toml for credentials. Or, you can also optionally specify a configuration file. (such as gngc --config config/config.toml)
cat << EOF > $HOME/.gngc.toml
[GitHub]
UserName = "UserName"
Token = "Token"

[IFTTT]
EventName = "EventName"
Token = "Token"
EOF
  • Install
go install github.com/haytok/gngc@latest

How to use

> gngc -h
A simple command line application to get GitHub contributions and notify them to IFTTT.

Usage:
  gngc [flags]

Flags:
      --config string   config file (default is $HOME/.gngc.toml)
  -h, --help            help for gngc
  -n, --notify          Get GitHub contributions and notify them to IFTTT.
> gngc
2022 年 02 月 07 日のコミット数は 5 です!
> gngc -n
200 OK
Congratulations! You've fired the tools event

About

A simple command line application to get GitHub contributions and notify them to IFTTT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages