-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add some docs on plugins #4255
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting this together!
docs/plugins.md
Outdated
### Plugin types | ||
|
||
#### IPLD | ||
IPLD plugins add support for additional LD formats to `ipfs dag` and other IPLD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/additional LD/additional IPLD/
. We don't support other LD formats (JSON-LD etc...).
docs/plugins.md
Outdated
|
||
Since 0.4.11 go-ipfs has a plugin system for various added functionality. | ||
|
||
When IPFS node is created, it will load plugins from `.ipfs/plugins` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be precise, this should probably say "will load plugins from $IPFS_PATH/plugins
(where $IPFS_PATH
defaults to ~/.ipfs
)" or something like that.
docs/plugins.md
Outdated
@@ -0,0 +1,33 @@ | |||
# Plugins | |||
|
|||
Since 0.4.11 go-ipfs has a plugin system for various added functionality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should also note that this only works on Linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, we should explicitly state that this is "experimental".
f531c16
to
9a55a13
Compare
Updated with section on preload |
Cool thanks, this looks good! Could you also:
|
docs/plugins.md
Outdated
```bash | ||
go-ipfs$ mkdir -p ~/.ipfs/plugins/ | ||
go-ipfs$ cp plugin/plugins/git.so ~/.ipfs/plugins/ | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a step that checks if plugins have executable permission set.
9a55a13
to
cd5d027
Compare
License: MIT Signed-off-by: Łukasz Magiera <[email protected]>
License: MIT Signed-off-by: Jeromy <[email protected]>
f03bf0a
to
be69359
Compare
LGTM |
Closes #4243