r/elixir • • 16h ago

Chironium: open-source practice management built on Ash

Thumbnail
github.com
7 Upvotes

r/elixir • • 21h ago

How much of your Elixir does an LLM write now?

26 Upvotes

Jacob Luetzow (Elixir Mentor) no longer writes code on Killswitch, but reads every PR. He credits Ash: one way to do everything, which LLMs follow well. Allen Wyma got close to 100% first-pass output with two additions: custom usage_rules and custom Credo checks that enforce his defaults, like AshPaperTrail and AshArchival. Francesco Cesarini still designs the process structure and supervision strategy himself before handing over small components.
From the BEAM There, Done That / Elixir Mentor crossover: https://youtu.be/rPbLWY_393I


r/elixir • • 2h ago

[vibecode] Built a pocket / readlater / instapaper platform for my kobo libra 2

2 Upvotes

I'm sorry this isn't a pure elixir post, but the server is elixir :)

... in a few hours, with fly.io free tier running a Wallabag compatible API that kobo libra 2 can interface with (KOReader on libra 2). The server is Elixir.

I've also had claude create a chrome extension that speaks to the server, and a way to share in the phone by using the HTTP Shortcut and having it share articles via API key to the server.

Man the world we live in is crazy. I've always loved Pocket and going to some day work up a confidence to try to hack it into KOReader (which is done in lua).

But the server was always the problem. But now my sandbox do-everything elixir vm has a new router endpoint that speaks Wallabag API! Which is a php service.

Now I have my personal article saving platform that works across chromium, firefox, phone, and ebook.

It's so simple with Opus 5.5 (running subagents and different models to save time), and with superpower skill that if you want to build one for yourself, I think above is all you need.


r/elixir • • 14h ago

Kathikon v0.5.0: job uniqueness for a Mnesia-backed job queue

3 Upvotes

Kathikon is a durable job queue for Elixir that runs on the BEAM and keeps its state in Mnesia. v0.5.0 adds job uniqueness:

use Kathikon.Worker, unique: [period: 60, criteria: fn job -> job.args["media_id"] end]

A duplicate inserted inside the period returns the existing job. The criteria is an ordinary function, so you choose what makes two jobs the same. Completed jobs block duplicates until they are pruned or the period ends. Failed and dead jobs do not block retries.

Also in this release: rerun ignores uniqueness by default, and invalid worker returns fail the job instead of crashing the dispatcher.

Source and changelog: https://github.com/AnimaLogica/kathikon

Feedback on the uniqueness API is welcome.