This is a template repository for developers to create a plugin for fcitx5-macos.
Start by clicking Use this template
or cloning the repo.
Follow the commands in ci.yml to generate package/google-doodle.zip
.
Unzip it under ~/.local/share/fcitx5/www/plugin
, so you get ~/.local/share/fcitx5/www/plugin/google-doodle/{dist, package.json}
.
Enable google-doodle
and curl
in Theme Editor
-> Advanced
.
Now with international network, you should see today's Google Doodle in scroll mode.
-
When developing your own plugin, remember to change the
name
field in package.json. It's the unique identifier of your plugin. Don't use organization namespace. -
APIs can be hooked but may break. Check latest global.d.ts here.
-
Do read platform's source code but don't use APIs undocumented here.
-
All plugins must have GPLv3 license noted in package.json in order to be loaded. Don't distribute your plugin if you don't want to share source code.