Filipe Cabaço
banner
filipecabaco.com
Filipe Cabaço
@filipecabaco.com
Elixir Developer @supabase
how to learn about MCP?

build your own server with your framework ( github.com/filipecabaco/francis ) to control your Ikea desk with Bluetooth using Elixir <=> Rust with unix sockets...

👍
November 11, 2025 at 1:17 PM
Reposted by Filipe Cabaço
🚨 New Blog Post 🚨

I just finished this monster of a blog post!

How to listen to database changes through the Postgres WAL!

This is all @filipecabaco.com's fault who nerd-sniped me into low-level Postgres details!

Click here to suffer too:

peterullrich.com/listen-to-da...

#ElixirLang #Postgres
Listen to Database Changes through the Postgres WAL
An in-depth guide to listening to Postgres database changes through the WAL. Covers logical replication, publications, replication slots, and an Elixir implementation.
peterullrich.com
November 3, 2025 at 6:14 PM
🎉🎉🎉🎉
September 16, 2025 at 12:23 PM
Never backed anything in Kickstarter... but this one is worth it 🔥

www.kickstarter.com/projects/pee...
September 16, 2025 at 10:41 AM
Quick @elixir-lang.org hint:

when you are not sure where your PID is from, you can use hexdocs.pm/elixir/Proce... to find out get all the information you need
Process — Elixir v1.18.4
hexdocs.pm
September 9, 2025 at 12:22 PM
Critical because it's that bump 😅
September 6, 2025 at 10:25 PM
I have a critical PR to review from the community and I wanted to setup a way to interact with lower systems using sockets but honestly for the 90% it would be possible to use after the bump in tauri gets merged
September 6, 2025 at 10:24 PM
the biggest missing piece it's actually upgrading and finish ex_tauri
September 6, 2025 at 9:45 PM
then, after this, I'm indeed trying out and will release this week both the pglite lib and the replication lib and both together you would be able to have an offline first desktop application built with Liveview
September 6, 2025 at 9:45 PM
hey! for that kind of app I actually tried out doing a library to build applications using tauri but need to update it 🤦‍♂️

github.com/filipecabaco...
GitHub - filipecabaco/ex_tauri: Utility to build Phoenix Desktop applications using web views from Tauri
Utility to build Phoenix Desktop applications using web views from Tauri - filipecabaco/ex_tauri
github.com
September 6, 2025 at 9:45 PM
September 2, 2025 at 11:54 PM
September 2, 2025 at 11:53 PM
September 2, 2025 at 11:01 PM
Reposted by Filipe Cabaço
News includes a new SQL #analytics library called Lotus, plus an interview with Mateusz Front about the Popcorn project enabling Elixir to run in #WebAssembly in the browser! #ElxirLang @ElixirLang www.youtube.com/watch?v=-85K...
Thinking Elixir Podcast 268: Got your Popcorn here!
YouTube video by Mark Ericksen
www.youtube.com
September 2, 2025 at 12:13 PM
will share the code probably this week 👍
September 2, 2025 at 7:14 AM
it works! now it allows me to have data from a source database being replicated to my in-memory database and sync using replication

using pglite from @electric-sql.com , bun to run wasm and @elixir-lang.org which allows to do all this magic easily ❤️
September 1, 2025 at 10:24 PM
working for insert 🎉
August 31, 2025 at 11:47 PM
Using pg_dump from a source database to pglite and now I have an in memory version of my db

This means I could get a subset of data to be available ( supabase.com/blog/partial... )

Going to tackle now replication to keep it up to date using github.com/filipecabaco...
August 31, 2025 at 11:00 PM
I'm still working on adding some other demo code so I can share it properly and have a proper expectations set
August 25, 2025 at 3:59 PM
pglite adventures:

Ecto proved to be an interesting problem. Due to the fact that pglite only allows one connection we need to go around it in migrations but it shows how awesome Ecto is as it does allow us to do that 😍
August 25, 2025 at 3:09 PM
hope I can share more about it soon 💜
August 23, 2025 at 2:22 PM
Reposted by Filipe Cabaço
Ahh, finally pglite for #ElixirLang 💜
using bun and pglite from @electric-sql.com I'm able to create in memory or persisted postgres instances (one per bun process) available to use with Postgrex via `socket_dir`

in theory I could have a "cheap read replica" or simpler testing #myelixirstatus
August 23, 2025 at 1:03 PM
still fixing some quirks and trying to get some good examples in and will share afterwards
August 23, 2025 at 2:21 PM
not really, it's postgres running in wasm which allows it to be in multiple environments and does support some extensions.

it's an awesome project!
August 23, 2025 at 2:21 PM
using bun and pglite from @electric-sql.com I'm able to create in memory or persisted postgres instances (one per bun process) available to use with Postgrex via `socket_dir`

in theory I could have a "cheap read replica" or simpler testing #myelixirstatus
August 23, 2025 at 9:38 AM