MCPcopy Index your code
hub / github.com/Ryu0118/Kusa

github.com/Ryu0118/Kusa @0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.0 ↗ · + Follow
13 symbols 23 edges 1 files 0 documented · 0% updated 3y ago0.1.0 · 2023-06-25★ 1372 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

image

#### Kusa is a simple CLI tool that works on any platform and displays GitHub contribution graphs.

Language:Rust License:MIT Latest Release Platform Compatibility Twitter

Installation

Homebrew (only macOS)

$ brew tap Ryu0118/Kusa
$ brew install kusa

or download the appropriate file for your device from releases

Building From Source

To build and run Kusa on your machine put your GitHub Personal Access Token as the "GITHUB_ACCESS_TOKEN" variable (src/main.rs, line 9), your token does not need any scopes.

static GITHUB_ACCESS_TOKEN : &str = "GITHUB_ACCESS_TOKEN";

then run this

$ cargo run <github user name>

How To Generate A Github Access Token

Go to github developer settings.

Set the expiration date to "No Expiration".

Click "Generate Token" and then copy the token it generates.

Known Issues

  • Terminal.app on macOS does not support 24-bit color, so colors are not displayed, therefore, use iTerm2, Hyper, Warp or other terminals to display colors correctly.

Usage

kusa --help

USAGE:
    kusa <github user name>

ARGS:
    <github user name>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

kusa Ryu0118

image

Extension points exported contracts — how you extend this code

HexToRGB (Interface)
(no doc) [1 implementers]
src/main.rs

Core symbols most depended-on inside this repo

get_month
called by 3
src/main.rs
get_rgb
called by 2
src/main.rs
get_github_contributions
called by 1
src/main.rs
post_graphql_query
called by 1
src/main.rs
transpose
called by 1
src/main.rs
print_month
called by 1
src/main.rs
print_gradation
called by 1
src/main.rs
print_kusa
called by 1
src/main.rs

Shape

Function 7
Class 3
Method 2
Interface 1

Languages

Rust100%

Modules by API surface

src/main.rs13 symbols

For agents

$ claude mcp add Kusa \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page