ghlog

GitHub Actions Workflow Status Top Language Last Commit

ghlog lets you view a GitHub user’s recent activity.

View a demo of ghlog’s output here.

NOTE: ghlog is alpha software. Its interface and behavior might change in the near future.

🤔 Motivation

I sometimes need a quick and easy way to get to the last few things I worked on on GitHub. Sadly, GitHub doesn’t really offer a good UI for this. As such, I built a simple tool for this. Besides my own activity, I sometimes use it to keep up with what other people I follow are working on.

💾 Installation

cargo:

cargo install --git https://github.com/dhth/ghlog

⚡️ Usage

$ ghlog run -h

Fetch and display events for a GitHub user

Usage: ghlog run [OPTIONS] <USERNAME>

Arguments:
  <USERNAME>  GitHub username to run for

Options:
  -l, --limit <LIMIT>             Maximum number of events to show [default: 20]
  -f, --format <FORMAT>           Output format to use [default: terminal] [possible values: html, markdown, plain, terminal]
      --html-template <TEMPLATE>  HTML template to use [default: terminal] [possible values: editorial, notebook, terminal, zine]
  -h, --help                      Print help (see more with '--help')

📄 Output Formats

ghlog can show results in several formats.

formatdescription
htmlA static HTML report
markdownMarkdown list with links
plainPlain unstyled text
terminalANSI-colored text with links

HTML output

ghlog offers 4 built-in templates for the HTML output.

Editorial

Serif typography with a magazine-style layout.

DarkLight
outputoutput

Notebook

Handwritten typography on a dotted-paper background.

DarkLight
outputoutput

Terminal

Monospaced layout resembling a terminal window.

DarkLight
outputoutput

Zine

Sans-serif display type with colored labels per event kind.

DarkLight
outputoutput