Skip to content
/ ghmsg Public

GitHub Messages a CLI that gets my GitHub messages and displays them to me.

Notifications You must be signed in to change notification settings

nkxxll/ghmsg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Message

GitHub Message is an application that uses the GitHub API to display the messages one user received on GitHub b in the terminal. You can set different filters or search for a specific term.

Authentication for GitHub user

Documentation here...

Documentation for the REST API

The documentation is here...

How to list notifications

The info for that is here...

API Key is saved in dotenv file

For this project I used the lib dotenvy for .env environment variables.

use dotenvy::dotenv;

fn get_vars() {
    // load vars from .env file
    dotenv().ok();
    // get one var by name
    let test = dotenvy::var("TEST");
    // match the result
    match test {
        Ok(test) => println!(test),
        Err(_) => println!("test not set")
    }
}

Contribution

If you have an idea or see a bug or a best practice missed feel free to make a PR, I am eager to learn :D!

About

GitHub Messages a CLI that gets my GitHub messages and displays them to me.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages