git ssb

0+

Josiah / ssb-tags



Tree: 19a08953f3b270a849252d612c1d6c68f450a3fa

Files: 19a08953f3b270a849252d612c1d6c68f450a3fa / README.md

642 bytesRaw

sbot-tags

scuttlebot plugin for indexing reduced "tags" state.

API

sbot.tags.get(cb)

Where cb is a function of signature (err, data).

data is an object of form

{
  tags: {
    '@G8f7U95FUInPUBGAELZkH....=.ed25519': {  // a user id
      'faq': {                                // a tag
         '%x423jsadxj...': {                  // a msg id
           timestamp: 1204594095
           tagged: true
         }
       }
    }
  }
  messages: ....
}

sbot.tags.stream() => pull-stream

see flumeview-reduce docs, this behaves a little interestingly

abot

License

MIT

Built with git-ssb-web