MCPcopy Index your code
hub / github.com/cachance7/fuzzy5e

github.com/cachance7/fuzzy5e @0.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.2.0 ↗ · + Follow
131 symbols 231 edges 8 files 19 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Contributors Issues

Logo

Fuzzy5e

A 5th edition SRD5 reference for your terminal.

Table of Contents

About The Project

As a DM I find myself constantly looking up spells and monster stat blocks while running the game. As a programmer, the terminal is my most concise at-a-glance space for text information. After years of struggling to juggle browser windows and tabs, I decided to build this as a sort of quick reference and HUD for my most commonly referenced information.

NOTE: This is very much a work in progress.

Screen Shot 2020-05-05 at 11 29 01 AM

Tiling in tmux turns out to be exactly what I wanted.

Built With

  • Rust - this app is written in rust
  • tuikit - leaned on this heavily for the terminal UI presentation
  • 5e-database - SRD5 data is sourced from here

Getting Started

fuzzy5e is a terminal UI written in Rust. It has been tested on Mac OSX Catalina and Linux. YMMV on Windows.

Prerequisites

Rust >=1.40 (if building from source)

Installation

  1. Clone the repo
git clone https://github.com/cachance7/fuzzy5e
  1. Build and run the executable
cd fuzzy5e && cargo run
  1. Enjoy!

Usage

  • Start the program with fuzzy5e helper script
  • Type to begin searching
  • Ctrl+N / Ctrl+P: select next / previous match
  • Up / Down / PgUp / PgDown: scroll the selected content up or down
  • Enter: show the selected match full window
  • Esc: quit

Contributing

If you'd like to contribute, feel free to open up a PR and let's make it work!

License

Distributed under the MIT License. See LICENSE for more information.

All searchable content is derived from SRD5 and is used courtesy of the OGL-1.0a

Contact

Casey Chance

Project Link: https://github.com/cachance7/fuzzy5e

Acknowledgements

Extension points exported contracts — how you extend this code

Index (Interface)
(no doc) [9 implementers]
src/index.rs
ScrollDraw (Interface)
(no doc) [6 implementers]
src/model.rs
Print (Interface)
(no doc) [3 implementers]
src/print.rs
Message (Interface)
(no doc) [3 implementers]
src/client.rs
Indexer (Interface)
(no doc) [2 implementers]
src/index.rs
DisplayName (Interface)
(no doc) [9 implementers]
src/model.rs
ToBytes (Interface)
(no doc) [1 implementers]
src/index.rs
Collection (Interface)
(no doc) [9 implementers]
src/model.rs

Core symbols most depended-on inside this repo

push
called by 33
src/main.rs
print
called by 25
src/model.rs
print_with_title
called by 19
src/model.rs
id
called by 17
src/model.rs
is_empty
called by 12
src/main.rs
send
called by 12
src/client.rs
update
called by 9
src/main.rs
break_at
called by 5
src/model.rs

Shape

Method 64
Class 28
Enum 15
Function 15
Interface 9

Languages

Rust100%

Modules by API surface

src/model.rs40 symbols
src/main.rs31 symbols
src/client.rs25 symbols
src/tantivy.rs12 symbols
src/worker.rs9 symbols
src/print.rs6 symbols
src/index.rs5 symbols
src/db.rs3 symbols

Datastores touched

(mongodb)Database · 1 repos

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page