Skip to content

feat: add stdout event support (proof-of-concept)#242

Open
martinstark wants to merge 2 commits intophilj56:masterfrom
martinstark:feat/stdout
Open

feat: add stdout event support (proof-of-concept)#242
martinstark wants to merge 2 commits intophilj56:masterfrom
martinstark:feat/stdout

Conversation

@martinstark
Copy link

@martinstark martinstark commented Jan 4, 2026

This is a proof-of-concept for enabling scripting around tofi while it's running. For example, creating a clipboard history navigator with a preview window positioned relatively to tofi:

image image image

I'm happy to keep this in my own fork, but I'll put up a PR for a while as an interest check. I don't think the implementation is good, and JSON is probably not the correct format considering tofi's minimal approach.

Document the stream-events feature including all event types
(open, input, select, submit, close), JSON schemas, and usage example.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant