Skip to content

feat(plugins): create internal plugin api - #369

Draft
olivermrose wants to merge 22 commits into
mainfrom
feat/internal-plugins
Draft

olivermrose wants to merge 22 commits into
mainfrom
feat/internal-plugins

Conversation

@olivermrose

@olivermrose olivermrose commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

This is Phase 1 of #202. I'm going to be incrementally adding to the plugin API as needed for internals until I feel it's ready for public usage. For now, 7TV, BTTV, and FFZ have been moved to plugins as I've been wanting to do for a while for decoupling purposes. Eventually, Phase 2 will include #113.

I opted for a class-based design instead of functional for organizational/structural purposes. As seen in 7TV, complex plugins could require/may want to split up their code into many helpers, and it's easier to reason with classes instead of shoving function declarations inside each other. Why not support both? Less maintenance overhead, less "this-or-that" for authors.

A monorepo has consequently been set up for the plugin api, native plugins, and other future packages that consumers may depend on. A full explanation of the api will be finalized once it goes public since things are going change between now and then.

@olivermrose
olivermrose force-pushed the feat/internal-plugins branch from 50dd565 to 9835790 Compare December 5, 2026 16:52
@blacksmith-sh

This comment has been minimized.

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