Julow / Unexpected-Keyboard

A lightweight virtual keyboard for developers.
GNU General Public License v3.0
1.25k stars 168 forks source link

[Feature Proposal] Extensions support? #596

Open derei opened 3 months ago

derei commented 3 months ago

I understand the initial purpose of this keyboard and I believe it shouldn't be bloated with a lot of features which would slow it down... However, exactly because Unexpected Keyboard is bringing new ways on how to conveniently type, a lot of people (myself included) adopted it for daily use. Of course, for a general purpose use, predictions, autocorrect, would be more than welcome, but such functionality is not so much needed for programmers.

But what if the Unexpected Keyboard would accept some plugins/extensions? This would still provide a barebone responsive keyboard, and give the possibility of enhancing it's functionality the way each user may please.

Julow commented 3 months ago

The heavy weight part of word prediction/correction is the model/dictionary, which is just data. This would be worth distributing as separate "addon" applications, like AnySoftKeyboard seems to do: https://github.com/AnySoftKeyboard/AnySoftKeyboard/tree/main/addons where "languages", "quicktexts" and "themes" are distributed separately from the main app.

Thinking of that as an extension that is not just data but also code is interesting but perhaps harder to maintain over time. Any experimentation is welcome :)