feedpushr icon indicating copy to clipboard operation
feedpushr copied to clipboard

Plugins

Open ahmaddxb opened this issue 2 years ago • 3 comments

I dont know how to get plugins for docker to work. If i add this to my docker compose the container wont start

environment:
  - FP_PLUGINS=`./plugins/feedpushr-twiter.so,./plugins/feedpushr-rake.so`

Installation Copy the feedpushr-rake.so file into your Feedpushr working directory.

I can not fine a file called feedpushr-rake.so

ahmaddxb avatar Nov 13 '23 10:11 ahmaddxb

Using this syntaxe with backquotes is maybe the problem. Can you try one of these syntaxes? :

environment:
  - FP_PLUGINS=./plugins/feedpushr-twiter.so,./plugins/feedpushr-rake.so
# OR (with key/value)
environment:
  FP_PLUGINS: "./plugins/feedpushr-twiter.so,./plugins/feedpushr-rake.so"
# OR (list with absolute path)
environment:
  - FP_PLUGINS=/usr/local/share/feedpushr/plugins/feedpushr-twiter.so,/usr/local/share/feedpushr/plugins/feedpushr-rake.so

ncarlier avatar Nov 27 '23 08:11 ncarlier

The documentation is bad. Compose example suggests bind mounting /usr/local/share/feedpushr which contains all the plugins, so they won't ever exist in the container.

~~Then, if you fix that problem, after loading plugins, they don't seem to appear in the "add new output" view. Maybe the one for mastodon doesn't have UI. :shrug:~~ Ignore that last part, appears there was some weird cache issue.

Janhouse avatar Jan 22 '24 22:01 Janhouse

Ah yes! Sorry for the error. The documentation for the Docker example has been corrected. The "cache issue" is due to the fact that output and filter specifications are loaded only once and stored in session storage.

ncarlier avatar Jan 23 '24 08:01 ncarlier