Feed and blob exporter/importer for Scuttlebot
Exports your whole feed and corresponding blobs to a directory. Or import / sync a local folder of messages and blobs.
Consists of the following files:
- export-data.js: exports your feed or a feed of your choice to a directory
- import-data.js: syncs a feed with a local folder, importing missing messages and blobs
- extract-mirrors.js: looks through your friends trying to find mirrors
- sync-mirrors.js: Uses extract-mirrors to find mirrors, followed by syncing all feeds locally
How do you publish a mirror?
Currently work in progress, but the following command should publish a mirror to your feed:
sbot publish --type about --about '<YOUR-FEED-ID>' --mirror '<YOUR-MIRROR>'
I published my mirror using:
sbot publish --type about --about '@6CAxOI3f+LUOVrbAl0IemqiS7ATpQvr9Mdw9LC4+Uv0=.ed25519' --mirror 'http://26thfiwfn3i3wnrf.onion/ssb/messages.txt'
I use the following shell script to sync my feed to my mirror:
./export-data.js -e export rsync -av -e ssh export/ pi:export
Hopefully at some point this can be integrated into patchwork making it possible to add friends by a link to their mirror.
Work in progress for static feeds
Built with git-ssb-web