current progress on deleting content from flumedb
The source code opens two instances of flumedb: a
and b
. Each of the
messages are streamed with a.stream()
and appended to be with b.append()
as long as they pass the filter. The filter checks whether the message author
is "bob"
, and only appends messages that do not have that author.
If being used with Scuttlebutt, this module does not delete blobs.
git@github.com:fraction/flumedb-delete.git
cd flumedb-delete
This module includes a small demonstration in index.js
.
npm start
To delete a feed, first select a valid ssb feed id, and run these two commands:
node ssb.js --id='feedId'
node delete-views
It can also help to private block a feed, so that it doesn't resync later:
scuttlebot publish --type contact --blocking --recps 'yourId' --contact 'feedId'
If you'd like to delete a Scuttlebutt feed, you can experiment with ssb.js
.
Please keep in mind that this is highly experimental and you should only
participate in this experiment if you're comfortable with losing your SSB
database.
node ssb.js
.node delete-views.js
If you'd like to delete a different SSB feed, edit ssb.js
manually.
PRs accepted.
MIT © 2018 Fraction LLC