Skip to content
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

how to use nopfs? #2

Closed
monperrus opened this issue May 27, 2023 · 3 comments
Closed

how to use nopfs? #2

monperrus opened this issue May 27, 2023 · 3 comments

Comments

@monperrus
Copy link

Hi, nopfs looks perfect for integrating bad bits. However, it's unclear to me how to install and use nopfs.

Thanks!

@hsanjuan
Copy link
Collaborator

Hello,

I'm currently waiting for a stable release of Kubo to include the necessary changes. This will allow to align dependencies and provide either a pre-built plugin or at least an streamlined way of building it.

This can currently be done with master etc. by aligning dependencies manually with current Kubo master.

Other than that, nopfs provides a Go Blocker implementation that can be used to parse the compact list format and ask questions (i.e IsCidBlocked). And the Kubo plugin is built using wrappers around NameSystem, BlockService and Resolver types, that call the Blocker methods, which could of course also be used when building something custom.

All in all, as soon as I can depend on a stable release of Kubo & co. there code will be made to work as easy as possible with upstream. Leaving this open until then.

@monperrus
Copy link
Author

monperrus commented May 28, 2023 via email

@hsanjuan
Copy link
Collaborator

@hsanjuan hsanjuan closed this as completed Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants