jola

jola

The Authenticated Transfer Protocol, or atproto, is the protocol underpinning Bluesky and a growing ecosystem of apps and services, like Leaflet and Tangled. It’s a decentralized system where each user has all their data in one place, but can still participate in shared spaces. This has cool side-effects like there being tons of different frontends for Bluesky, and apps being able to integrate with each other without even having an API.

The mechanism that makes it feasible to have 3K+ active data servers, but a place like Bluesky that shows it all in one place, is the relay, which is an aggregated stream of all events from all data servers.

Jetstream is the user friendly way of consuming that data, as JSON records over websockets. Kite provides an Elixir native integration with the jetstream that manages the websocket lifecycle, keep alive, and automatic per connection filters.

For the wow factor, try it out in a terminal with Mix.install

Mix.install([:kite])

defmodule MyApp.Posts do
  use Kite,
    endpoint: "wss://jetstream.us-west.bsky.network",
    collections: ["app.bsky.feed.post"],
    kinds: [:commit]

  def handle_event(payload, _context), do: IO.inspect(payload)
end

MyApp.Posts.start_link([])

Process.sleep(:timer.seconds(60))

Run it and enjoy all the live content on Bluesky in fast mode.

For a more permanent setup you’ll want to add the module to your application children list instead, and probably define the cursor handling callbacks. There’s a bunch of neat features, including filtering on collections (eg app.bsky.feed.post for all the Bluesky posts) and dids, the decentralized IDs of user accounts.

For a full set of features and more documentation, take a look at:

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
woylie
I released Doggo, a collection of unstyled Phoenix components. https://github.com/woylie/doggo Features Unstyled Phoenix components....
New
GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
CodeSync
:microphone: ElixirConf 2026 - Call for Talks is open! We’re heading to Chicago :united_states: :round_pushpin: In person + virtual :d...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews