ncarlier / feedpushr

A simple feed aggregator daemon with sugar on top.
GNU General Public License v3.0
334 stars 25 forks source link

Plugins #87

Open ahmaddxb opened 7 months ago

ahmaddxb commented 7 months ago

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

ncarlier commented 7 months ago

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
Janhouse commented 5 months ago

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.

ncarlier commented 5 months ago

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.