Code Monkey home page Code Monkey logo

atproto.tools's Introduction

AT Proto Looking Glass

A collection of looking-glass tools for the AT Proto Network

Services

Consumer

The Looking Glass Consumer is a Go service that connects to an AT Proto Firehose and listens for events.

When an event is received, the consumer will attempt to unpack any records from the event and add them to a SQLite database for later querying.

Event metadata is also added to the database, including the event's timestamp, the event's sequence number, and the event's type.

The consumer deletes old records from the database to keep the database from growing too large by default.

Running the Consumer

To run the consumer via Docker Compose, you can run: make lg-consumer-up.

The consumer stores its SQLite DB in ./data/lg-consumer by default.

Tools

Checkout

The Checkout tool lets you download your AT Proto repo as a directory of JSON files (one per record).

It lets you select a PDS to download from, defaulting to the Relay (bsky.network) and supports compressing the result into a gzipped tarball (since lots of this JSON data is highly compressible).

To use the Checkout tool, you can go run cmd/checkout/main.go <repo-DID>.

Use the --help flag for more options.

atproto.tools's People

Contributors

ericvolp12 avatar mozzius avatar mary-ext avatar

Stargazers

Eric Bailey avatar Tom Sherman avatar Seth Vincent avatar Christopher Jr Riley avatar Enguerran P. avatar David Dadon avatar Jay avatar PSingletary avatar  avatar Michael Staub avatar Kuba Suder avatar

Watchers

 avatar  avatar

Forkers

corn-flour

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.