Modding & Extensibility - Incomplete-Infinity/eve-companion GitHub Wiki
The EVE Companion App is designed with modularity in mind, allowing for future expansion and third-party extensions.
- Keep modules loosely coupled and event-driven
- Use documented APIs for commands, events, and state
- Load new modules dynamically and sandboxed
Area | Extensible How? |
---|---|
UI Components | Via <template> injection, theme overrides |
Tools & Modules | Loaded from external folders or plugin registry |
Styles & Themes | Augmented UI + CSS vars = easy customization |
Data Layers | Override fetchers, enrich state stores |
export default {
name: 'MyPlugin',
version: '1.0.0',
onLoad({ dispatch, bus, api }) {
dispatch('window:open', { id: 'CustomTool' });
bus.listen('fit:parsed', (data) => console.log(data));
}
};
Plugins would be sandboxed via iframe or dynamic import.
- Validate plugin metadata and permissions
- Warn about missing commands/events/hooks
- Support debug mode with plugin console output