GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - evanmcneely/opencode-tree: Tree plugin for the OpenCode TUI.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

81 Commits
81 Commits

Folders and files

NameName
Last commit message
Last commit date
.opencode
.opencode
 
 
scripts
scripts
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
bun.lock
bun.lock
 
 
demo.gif
demo.gif
 
 
package.json
package.json
 
 
tsconfig.build.json
tsconfig.build.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

PI-style /tree plugin for the OpenCode TUI.

opencode-tree adds a tree view for branched conversations without modifying OpenCode core. OpenCode remains the source of truth, while the plugin stores only the branch data needed for navigation and rendering

Demo

opencode-tree demo

Installation

Install globally:

opencode plugin @ishaksebsib/opencode-tree --global

Install in the current project:

opencode plugin @ishaksebsib/opencode-tree

Configuration

~/.config/opencode/tui.json

By default, tree state is saved globally.

To save it in the current project’s .opencode folder instead, set storageScope to local:

{
  "plugin": [["@ishaksebsib/opencode-tree", { "storageScope": "local" }]]
}

Full Configuration

All options are optional. This example shows the default values:

{
  "plugin": [
    [
      "@ishaksebsib/opencode-tree",
      {
        "storageScope": "global",
        "lines_per_jump": 20,
        "keybinds": {
          "move_up": "up,k",
          "move_down": "down,j",
          "jump_up": "shift+up,shift+k",
          "jump_down": "shift+down,shift+j",
          "collapse": "left,h",
          "expand": "right,l",
          "select": "return",
          "back": "escape,ctrl+c"
        }
      }
    ]
  ]
}

Storage

  • if local: <projectRoot>/.opencode/opencode-tree/
  • if global: <opencode-state>/plugins/opencode-tree/
    • Where <opencode-state> is:
      • Linux: ~/.local/state/opencode
      • macOS: ~/Library/Application Support/opencode
      • Windows: %LOCALAPPDATA%\\opencode

About

Tree plugin for the OpenCode TUI.

Resources

Readme
License
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.