olivierkes / manuskript

A open-source tool for writers
http://www.theologeek.ch/manuskript
GNU General Public License v3.0
1.77k stars 235 forks source link

Gtk Port: Plugins? #1118

Open TheShadowOfHassen opened 1 year ago

TheShadowOfHassen commented 1 year ago

I know Manuksript is open source and people can change it easily because of python but has anyone thought of making plugins?

Plugins could do things like add different themes, different layouts or even non cosmetic things like changing the data fill ins for characters. Some of the idea my require some refracting on data types. I just thought it'd be something that would be decided before too far in the development.

TheJackiMonster commented 1 year ago

Plugins need quite a bit work on API and it needs to be even more stable. I don't think it's necessary since it's already possible to fork and contribute easily. But maybe we can change the spell checking to act more modular.

obw commented 1 year ago

I also would like something like a Plugin-Interface / API.

The first step I see will be following two things:

  1. The Spellchecker - So we will be able more to use Spell-Check options. In Germany, we have Langtool and also Duden, which is professional Closed-Source Spell-Checker, with a defined API!
  2. The Revision / Versioning Tool which is actual not usable with bigger Projects, because it's too slow! The Idea behind it, is interesting but also why we make it a simple API and have some Plugins. One Plugin, the default should work like the old Version, but faster;) and then perhaps use normal Versioning-Tools, like SVN or GIT!

Other API-Parts could simply follow later! Like an interface for real Versioning, or a Compiler which generates HTML direct in the Clipboard by the use of the PopUp-Menu, from a Scene or Chapter.

TheShadowOfHassen commented 1 year ago

So my idea was to also be able do have any plugins like rhythmnbox, we could start with Languages and then also add revisions and other things later. Yes its easy to do pull requests but plugins can be used for features that everyone don't necessarily want like fantasy calendars or different fill in boxes. I have requests for these from some friends who use Manuksript. My thought with customizable UI has something to do with my idea for an updated focus mode.

That said it is low priority and might be able to wait until the Gtk 4 port. Yes, I am already planning for that.

By the way @obw we were planning on switching to revisions git eventually, and I'm assuming sometime late during the gtk development.