Apparently, it's not that hard to add a Betula integration to Miniflux. Shaarli and Pinboard are already there.
=> https://github.com/miniflux/v2/tree/main/internal/integration
I started implementing one.
The only issue occurs that it is a no go if using username/password for integration. In Betula every login event creates a new entry in a sessions table. Sadly, Miniflux creates an integration client instance on every save request.
So, I used a cookie related solution. Just pass the betula-token of some session to integration settings and you’re ready to save articles from Miniflux to Betula.
Translation needed, of course, too
Thank you! The cookie approach is what I expected, yes. We might want to have the Copy cookie button in the session manager as well. Tell me if you need any guidance with the Miniflux integration development.
Tell me if you need any guidance with the Miniflux integration development
I definitely need some help with translations
And of course some help with introducing the integration to Miniflux authors
- I don't think I'm the polyglot who could translate to all languages. Does Miniflux expect new integrations to be in all languages from the get-go or are they fine with partially untranslated work?
- Do you want me to start the pull request from your branch? Or do you want me to help you write the message you will post?
do you want me to help you write the message you will post?
This
Does Miniflux expect new integrations to be in all languages from the get-go or are they fine with partially untranslated work?
Yes, they are fine with partially untranslated work.
https://miniflux.app/docs/i18n.html#update-translationsAlternatively, you could use the English text as a reference for other translations. Sometimes, it might be preferable to have a proper translation done by a native speaker.
So, it was merged. Wonderful! They ask to write some docs, I will do it.