Skip to content

Latest commit

 

History

History
70 lines (36 loc) · 745 Bytes

README.md

File metadata and controls

70 lines (36 loc) · 745 Bytes

ScuttlebotCookbook

Recipes for how to do some important things with the scuttlebutt p2p net

Common Entities

  • Post
  • Pub
  • Vote

Sources of Data

  • PullStreams
  • Callbacks

Messages

Get Messages by claimed timestamp

sbot.createFeedStream()

Get All with conditions

sbot.createLogStream()

Filter by type

sbot.messagesByType( type: 'vote' )

### From one feed (person)

Feeds (accounts / people)

Get All

sbot.createLogStream()

Get All with conditions

?

Channels

Get All

sbot.createLogStream().map?

Get All with conditions

?

Indexes

### List all indexes

?

Create a new index

?

select all from an index

?

select with conditions from an index

?