MCPcopy Index your code
hub / github.com/ak-tr/go-rain

github.com/ak-tr/go-rain @main

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

go-rain

Screen Recording 2022-11-08 at 03 06 08

This is a very basic implementation of a terminal rain effect in Go using the goterm library.

Inspired by nkleeman's implemenatation in C.

Dependencies

As mentioned above, this program relies on goterm and gookit/color to print the rain drops to the terminal. If you decide you want to run the program, it should auto install any dependencies when you perform go run command.

Installation

Download the repo:

$ git clone https://github.com/ak-tr/go-rain

Move into directory:

$ cd go-rain

Run:

$ go run main.go

Alternatively, build with:

$ go build

Then, run:

$ ./go-rain

Issues

Windows support added. Should have no issues there.

MacOS users, if you encounter an xcrun: error: invalid active developer path error, run:

$ xcode-select --install

Also my first time using Golang, I appreciate any feedback...

Core symbols most depended-on inside this repo

generateRandomNumber
called by 5
main.go
fall
called by 1
main.go
add
called by 1
main.go
getSpeed
called by 1
main.go
getDropsPerLine
called by 1
main.go
main
called by 0
main.go

Shape

Function 4
Method 2
Struct 1
TypeAlias 1

Languages

Go100%

Modules by API surface

main.go8 symbols

For agents

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

⬇ download graph artifact