BREAKING: Restructure from monolithic binary to modular plugin ecosystem Architecture changes: - Convert to Cargo workspace with crates/ directory - Create owlry-plugin-api crate with ABI-stable interface (abi_stable) - Move core binary to crates/owlry/ - Extract providers to native plugin crates (13 plugins) - Add owlry-lua crate for Lua plugin runtime Plugin system: - Plugins loaded from /usr/lib/owlry/plugins/*.so - Widget providers refresh automatically (universal, not hardcoded) - Per-plugin config via [plugins.<name>] sections in config.toml - Backwards compatible with [providers] config format New features: - just install-local: build and install core + all plugins - Plugin config: weather and pomodoro read from [plugins.*] - HostAPI for plugins: notifications, logging Documentation: - Update README with new package structure - Add docs/PLUGINS.md with all plugin documentation - Add docs/PLUGIN_DEVELOPMENT.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
11 lines
268 B
Plaintext
11 lines
268 B
Plaintext
// Hello World Plugin for Owlry
|
|
//
|
|
// This minimal plugin demonstrates:
|
|
// 1. Using owlry::log_* for logging
|
|
// 2. Basic Rune syntax
|
|
|
|
pub fn main() {
|
|
owlry::log_info("Hello Rune plugin loading...");
|
|
owlry::log_info("Hello Rune plugin loaded successfully!");
|
|
}
|