Skip to content

skyfeed-dev/indexer-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkyFeed Indexer

ATProto/Bluesky Indexer, powered by SurrealDB and Jetstream, written in Rust.

The indexer attaches a websocket to a Jetstream endpoint and converts all received events to SurrealDB queries. Temporary outtages are handled by the cursor system, which allows the indexer to resume indexing from the last known event.

The database can then be used to run powerful queries on the network data or build advanced custom feeds. All skyfeed.xyz feeds are powered by this service.

Installation

  1. Install the latest stable rust compiler from rustup.rs.
  2. Install either onto your system or into a docker container a SurrealDB.
  3. Generate a secure password, which may be generated using openssl rand -base64 32 or pwgen -s 32 1.
  4. Launch SurrealDB with the following flags: surreal start --user root --pass <password here> --bind 127.0.0.1:8000 <dbtype>:<dbfile>.
  5. Clone the repository and run cargo build --release.
  6. Launch the indexer with ./target/release/skyfeed-indexer [--help].

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages