#git-repository #git #osint #security

app glit-cli

Cli - Retrieve all mail related to a git repository, user, or organization

1 unstable release

0.2.0 Dec 26, 2023
0.1.0 Nov 28, 2022

#124 in Email

MIT/Apache

53KB
1K SLoC

glit

glit is a little osint tool to retrieve all mails of user related to a git repository, a git user or a git organization.

README Sections: UseInstallation



Use

Commands

Usage: glit [OPTIONS] [COMMAND]

Commands:
  repo  Extract emails from repository
  org   Extract emails from all repositories of a github organisation.
  user  Extract emails from all repositories of a user
  help  Print this message or the help of the given subcommand(s)

Options:
  -v, --verbose        Add information on commit hash, username ...
  -o, --output <PATH>  export data to json
  -h, --help           Print help information
  -V, --version        Print version information

Repository

Fetch emails of all user/committer related to a repository.

glit repo -u https://github.com/rust-lang/git2-rs

User

Fetch emails of all user/committer from all repositories of a user.

glit user -u https://github.com/rust

Organization

Fetch emails of all user/committer from all repositories of an organization.

glit org -u https://github.com/netflix

Other options

  • -a , --all-branches : Search in all branches
  • -o , --output : Write output as JSON

Installation

With cargo

cargo install glit-cli

From Github Release

Download a release, extract and run.

tar -xvf glit-x86_64-unknown-linux-gnu-v0.2.0.tgz
mv glit /usr/local/bin/

ROADMAP

  • Change git2 for Gitoxide via the git_repository crate.
    • Use rustls-tls

Dependencies

~25–39MB
~665K SLoC