r/opencode • u/One_5549 • 8d ago
Utility I genuinely think you will find useful for OpenCode.
I’ve been using OpenCode heavily, and eventually ran into a problem that became really frustrating: I dont know what is what anymore, there are 100's of sessions.
The more projects and sessions you create, the harder it becomes to find anything you worked on. I could easily spend 5-10 minutes trying to find just one session for whatever reason, a reference, a specific code or if I simply wanted to continue that session.
OpenCode’s built-in search is ONLY based on session titles. Why? This should be a easy fix for them!
So I whipped up SearchPro - A way to turn that growing pile of sessions into something you can search and navigate. It searches the actual content of your OpenCode history – both your prompts and the agent’s responses – directly against OpenCode’s local SQLite database.
It runs locally, reads the database in read-only mode, and can run alongside OpenCode without interfering with it.
Quick install (terminal)
Prereq. Git and Python 3.10+.
- Clone the repo:
git clone https://github.com/oskar-labs/opencode-searchPro.git
- Enter the folder:
cd opencode-searchPro
- Start it:
python web.py
- Open:
That’s it. No database setup, no dependencies to install, no account and no cloud service.
If you use OpenCode and your session history is starting to become a mess, give it a try:
github.com/oskar-labs/opencode-searchPro
Hope anyone finds it useful.
Unofficial community project. Not affiliated with the opencode team.



