MCPcopy Index your code
hub / github.com/PureArtistry/oi

github.com/PureArtistry/oi @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
42 symbols 91 edges 23 files 1 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
      ▪  ▄▄ 
▪     ██ ██▌
 ▄█▀▄ ▐█·▐█·
▐█▌.▐▌▐█▌.▀ 
 ▀█▄▀▪▀▀▀ ▀  - trivia on the command line

Documentation is my...

define_ah

use oi --help for full usage information

dependencies:

on all platforms the only thing you need installed is cargo.

  • Windows: https://win.rustup.rs/
  • Linux/macOS: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh (or use your distro's package manager)

this is only required for building the binary, if you have no more use for cargo you can remove it afterwards

build instructions:

clone repo

cd into repo root

Linux

an install script has been provided, just run ./install.sh

macOS

run cargo build --release

then sudo cp ./target/release/oi /usr/local/bin

a zsh completion script is located at the following path ./etc/completions/_oi but I currently have no idea where to put it (sorry!)

Windows

run cargo build --release

then make a new folder in a location of your choosing

copy .\target\release\oi.exe [letter]:\path\to\your\folder

following this guide you can add your new folder to you environment PATH

a PowerShell completion script is located at the following path .\etc\completions\_oi.ps1 but I currently have no idea where to put it (sorry!)

I'll be providing pre compiled binaries for Linux, Windows & macOS in the releases section soon

TODO:

  • [x] shell completion scripts
  • [ ] add a proper release with binaries
  • [ ] license?
  • [ ] improve docs
  • [ ] user customisable colours (using an environment variable)
  • [ ] general code improvements (and probable bug fixes)

Core symbols most depended-on inside this repo

get_vec
called by 22
src/selectors/mod.rs
main
called by 15
src/selectors/maths.rs
name_to_id
called by 8
src/selectors/mod.rs
default_output
called by 7
src/selectors/mod.rs
sep_type
called by 3
src/io_functions.rs
get_cache_path
called by 3
src/io_functions.rs
no_result
called by 2
src/main.rs
corrections
called by 2
src/main.rs

Shape

Function 42

Languages

Rust100%

Modules by API surface

src/selectors/mod.rs7 symbols
src/io_functions.rs7 symbols
src/main.rs5 symbols
src/selectors/define.rs3 symbols
src/selectors/holidays.rs2 symbols
src/selectors/weather.rs1 symbols
src/selectors/translate.rs1 symbols
src/selectors/summary.rs1 symbols
src/selectors/sports.rs1 symbols
src/selectors/snippets2.rs1 symbols
src/selectors/snippets1.rs1 symbols
src/selectors/pronounce.rs1 symbols

For agents

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

⬇ download graph artifact