ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 ccdwyer

codebase-galaxy

저장소를 braille 기반의 실시간 힘 기반 별밭으로 렌더링하는 Claude Code 플러그인입니다. 파일은 별, import는 링크, Claude의 읽기·편집은 혜성이 됩니다.

번역 완료

이 mod 소개

Claude Code 안에서 저장소를 braille 기반의 실시간 힘 기반 별밭으로 보여 줍니다.

  • 별은 파일입니다. 색은 언어를, 밝기는 파일 크기를 나타내며 각 폴더는 자기 별 시스템이 됩니다.
  • 희미한 점선은 import입니다(TypeScript/JavaScript, Python, Kotlin/Java를 분석하고 다른 언어는 별로 표시하지만 링크는 없습니다).
  • Claude는 혜성입니다. 파일 이름을 지정하는 Read, Edit, Write 또는 셸 명령을 실행할 때마다 혜성이 희미해지는 꼬리를 끌며 날아갑니다. 편집은 호박색으로 번쩍이고 읽기는 청록색으로 울리며 명령은 녹색으로 맥동합니다.

/galaxy로 열고 /galaxy rescan으로 새로 고칩니다. 이동, 확대·축소, 혜성 따라가기, 경로에 마우스를 올려 보기, 클릭해서 복사하기를 지원합니다. 전부 컴퓨터에서 실행되며 네트워크로 아무것도 보내지 않습니다.

설치: /plugin marketplace add ccdwyer/claude-mods · /plugin install codebase-galaxy@ccdwyer-mods · /reload-plugins

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add ccdwyer/codebase-galaxy
claude plugin install codebase-galaxy
원문 / README

Codebase Galaxy

Codebase Galaxy demo

Watch the MP4 · Screenshot · Screenshot

Your repo as a live, force-directed starfield in braille, inside Claude Code.

  • Stars are files. Colour is the language, brightness is the file's size, and each folder (two levels deep, like src/ui) is its own star system.
  • Faint dotted threads are imports. TypeScript/JavaScript (relative imports, and @/ or ~/ read as src/), Python (relative and package imports) and Kotlin/Java (matched by package path) are parsed. Swift, Go, Rust and the rest still get stars and systems, but no links.
  • Claude is the comet. Every Read, Edit, Write, or shell command that names a file sends the comet flying there with a fading tail. Edits flare amber, reads ping cyan, commands pulse green. Files Claude creates, or touches outside the scanned set, appear as new stars.
  • It animates at about 30 fps on the pane's own frame clock: the layout settles live, stars twinkle, dust drifts behind it all.

Use

/galaxy          open the galaxy (scans the repo the first time)
/galaxy rescan   rescan after big changes

In the pane: click it to give it the keyboard, then

| Key / mouse | Does | |---|---| | ← ↑ ↓ → or drag | pan | | + / - | zoom | | 0 | fit everything again | | f | follow the comet | | r | re-heat the layout | | hover a star | show its path | | click a star | copy its path |

Big repos are capped at 600 stars, picked round-robin across systems so every one shows up, plus up to 100 more for files Claude touches. The scan skips node_modules, build output, caches, dotfolders and symlinked folders, and stops at fixed budgets; a status of of 2001+ means the scan was cut short. Surfaces without interactive views (mobile, VS Code) get a text chart of the systems instead.

Install

/plugin marketplace add ccdwyer/claude-mods
/plugin install codebase-galaxy@ccdwyer-mods
/reload-plugins

Develop

claude plugin validate .
claude plugin test .

Privacy

It runs entirely on your machine and sends nothing over the network. It lists your repo's folders and reads up to a few hundred source files only to find import links, and runs no programs.

Full policy: PRIVACY.md.

What it hooks

Events this mod hooks, as claude plugin validate reads the module:

  • session.start
  • command.run{command=galaxy}
  • tool.call
  • ui.message
  • ui.render{component=Pane, requestId=codebase-galaxy}

Engine calls it makes: $.command.register, $.fs.exists, $.fs.list, $.fs.read, $.session.cwd, $.state.get, $.state.set, $.ui.copy, $.ui.open, $.ui.resolve, $.ui.toast.

A tool.call hook sits in the middle of every tool call: it can see the call, refuse it, or add context to its result. This mod only watches successful calls to move the comet; it never changes or refuses one.

License

MIT

비슷한 프로젝트