r/PiCodingAgent • • Oct 12 '26

Plugin View your files inside Pi: presenting pi-navigator

pi-navigator files-git-viewer mode

Hey everyone, I'm pleased to share my new extension for Pi called pi-navigator.

I kept wanting to check the files my agent was writing without leaving the terminal or minimizing Pi, so I built an overlay for it. It shows your project’s file tree, some basic git info (staged/unstaged files, commits, diffs), and a viewer where you can actually read the files. It’s read-only, renders markdown, and shows images through the Kitty protocol if your terminal supports it. For terminals that don’t, it falls back to chafa (this depends on my upcoming pi-chafa extension)*.

By default you get all three panels, but you can also run just files + viewer or git + viewer.

It’s purely a quality-of-life thing and doesn’t influence LLM performance. Open it with /navigator.

Install using pi install npm:@lordekeen/pi-navigator

*pi-chafa is released: pi-chafa

14 Upvotes

11 comments sorted by

5

u/whiterose0000001 Oct 12 '26

Bro one change request show file size in terms of Tok as well

1

u/lordekeen Oct 12 '26

I'll look into it!

1

u/lordekeen Oct 13 '26

Done, version 0.17.0 ships a chars/4 heuristic for token counting (same Pi uses), not a real tokenizer but the values should be pretty close, this avoids adding a new dependency like gpt-tokenizer. The token count is displayed on the top of the viewer.

2

u/capsid Oct 12 '26

Nice! Great idea. is it worktree aware or does it always start at project root?

2

u/lordekeen Oct 12 '26

Only project root for now, but support for worktrees is a good idea, gonna check how it could be done.

2

u/capsid Oct 12 '26

unrelated what color theme is that? I love it

2

u/lordekeen Oct 12 '26

Its 'Linux Colors' from Konsole (KDE Plasma) ported to Kitty, Pi is configured to use the system theme, and pi-navigator inherits pi's theme.

1

u/lordekeen Oct 15 '26

Hey everyone, there's a new feature in pi-navigator v0.18.0: the minimap! When the file content spans below the bottom edge of the panel you can now view a map of the whole file on the right side of the viewer, with syntax and search highlights.

-5

u/[deleted] Oct 12 '26

[removed] — view removed comment

1

u/lordekeen Oct 12 '26

If the image protocols aren't available it shows a simple card with the image metadata, so nothing breaks, image support is completely optional. If Git is available in the repo the user can see what was changed using the git panel and the files get marked in the file tree as well, just like in any other IDE, but that is the far as i would go in this matter, i don't plan to include deeper interaction with what the agent is writing.

3

u/wildjokers Oct 12 '26

This is an AI generated comment, what is even the goal of this comment?