Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev. Learn more →
Top 23 Elixir Elixir Projects
Peace of mind from prototype to production
Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.Project mention: 11 Ways to Optimize Your Website | dev.to | 2023-11-12
There are many good, lightweight, and open-source alternatives to Google Analytics, such as Plausible, Matomo, Fathom, Simple Analytics, and so on. Many of these options are open-source, and can be self-hosted.
Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.
Broadcast, Presence, and Postgres Changes via WebSocketsProject mention: Unpacking Elixir: Observability | news.ycombinator.com | 2023-10-25
We use :telemetry to collect usage data per tenant for Supabase Realtime.
We do this for rate limiting but it also makes it very easy for us to attach a listener (https://github.com/supabase/realtime/blob/main/lib/realtime/...) which ships these (per second) aggregates to BigQuery (via Logflare), which then the billing team can aggregate further to display and actually bill people with.
Open-source VPN server and egress firewall for Linux built on WireGuard. Firezone is easy to set up (all dependencies are bundled thanks to Chef Omnibus), secure, performant, and self hostable.Project mention: WireGuard -based scalable remote access platform | news.ycombinator.com | 2023-11-16
Open-source live customer chatProject mention: Linen.dev – Building a chat app with Elixir and NextJS | news.ycombinator.com | 2023-06-27
The best language for the task at hand, when presented with time constraints, is the one that you already know well. OP said in the article that they authored Papercups . Adopting Elixir for a websocket-push service makes a lot of sense, then. However, why don't you learn Elixir, some OTP, and then reconsider that question? You could be missing out.
A static code analysis tool for the Elixir language with a focus on code consistency and teaching.
A community driven style guide for Elixir
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
The GraphQL toolkit for Elixir
Automate code & data workflows with interactive Elixir notebooksProject mention: Advent of Code 2023 is nigh | news.ycombinator.com | 2023-12-01
Simplify deployments in Elixir with OTP releases!
Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.Project mention: Looking for a BlockExplorer for a custom EVM chain | /r/ethereum | 2023-03-04
Changelog is news and podcast for developers. This is our open source platform.Project mention: Ask HN: How does your CI/CD stack look like today? | news.ycombinator.com | 2023-07-30
Another https://dagger.io fan here. Have been using it since late 2021 to continuously deploy a Phoenix app to Fly.io: https://github.com/thechangelog/changelog.com/pull/395. Every commit goes into production.
This is what the GHA workflow currently looks like: https://github.com/thechangelog/changelog.com/blob/c7b8a57b2...
FWIW, you can see how everything fits together in this architecture diagram: https://github.com/thechangelog/changelog.com/blob/master/IN...
Multi-dimensional arrays (tensors) and numerical definitions for Elixir (by elixir-nx)Project mention: Unpacking Elixir: Concurrency | news.ycombinator.com | 2023-08-25
Does nx not work for you? https://github.com/elixir-nx/nx/tree/main/nx#readme
Concurrent and multi-stage data ingestion and data processing with ElixirProject mention: Switching to Elixir | news.ycombinator.com | 2023-11-09
You can actually have "background jobs" in very different ways in Elixir.
> I want background work to live on different compute capacity than http requests, both because they have very different resources usage
In Elixir, because of the way the BEAM works (the unit of parallelism is much cheaper and consume a low amount of memory), "incoming http requests" and related "workers" are not as expensive (a lot less actually) compared to other stacks (for instance Ruby and Python), where it is quite critical to release "http workers" and not hold the connection (which is what lead to the creation of background job tools like Resque, DelayedJob, Sidekiq, Celery...).
This means that you can actually hold incoming HTTP connections a lot longer without troubles.
A consequence of this is that implementing "reverse proxies", or anything calling third party servers _right in the middle_ of your own HTTP call, is usually perfectly acceptable (something I've done more than a couple of times, the latest one powering the reverse proxy behind https://transport.data.gouv.fr - code available at https://github.com/etalab/transport-site/tree/master/apps/un...).
As a consequence, what would be a bad pattern in Python or Ruby (holding the incoming HTTP connection) is not a problem with Elixir.
> because I want to have state or queues in front of background work so there's a well-defined process for retry, error handling, and back-pressure.
Unless you deal with immediate stuff like reverse proxying or cheap "one off async tasks" (like recording a metric), there also are solutions to have more "stateful" background works in Elixir, too.
A popular background job queue is https://github.com/sorentwo/oban (roughly similar to Sidekiq at al), which uses Postgres.
It handles retries, errors etc.
But it's not the only solution, as you have other tools dedicated to processing, such as Broadway (https://github.com/dashbitco/broadway), which handles back-pressure, fault-tolerance, batching etc natively.
You also have more simple options, such as flow (https://github.com/dashbitco/flow), gen_stage (https://github.com/elixir-lang/gen_stage), Task.async_stream (https://hexdocs.pm/elixir/1.12/Task.html#async_stream/5) etc.
It allows to use the "right tool for the job" quite easily.
It is also interesting to note there is no need to "go evented" if you need to fetch data from multiple HTTP servers: it can happen in the exact same process (even: in a background task attached to your HTTP server), as done here https://transport.data.gouv.fr/explore (if you zoom you will see vehicle moving in realtime, and ~80 data sources are being polled every 10 seconds & broadcasted to the visitors via pubsub & websockets).
:watch: Cron-like job scheduler for ElixirProject mention: Library for reliably running jobs | /r/elixir | 2023-04-23
In addition, here's a good project for you to look at for cron (Crontab) type functionality you might want to borrow from: https://github.com/quantum-elixir/quantum-core
Yet Another HTTP client for Elixir powered by hackney
Craft and deploy bulletproof embedded software in ElixirProject mention: Elixir for Ruby developers: the three most important differences | news.ycombinator.com | 2023-07-23
Elixir learning exercisesProject mention: Gotchas? Tips&tricks for beginners? | /r/elixir | 2023-10-25
elixir-koans is a good repo for practicing some of the ins and outs.
An incredibly fast, pure Elixir JSON library
Floki is a simple HTML parser that enables search for nodes using CSS selectors.
The flexible HTTP client library for Elixir, with support for middleware and multiple adapters.Project mention: Elixir for Cynical Curmudgeons | news.ycombinator.com | 2023-08-03
I haven’t used commanded, exmachina, or ash:
- Tesla has a mode which can be used completely without macros, and I am increasingly encouraging that it be the only way that it is used. So does the author (as of 2020): https://github.com/elixir-tesla/tesla/issues/367#issuecommen...
There is also `req` mentioned in a recent post as an alternative (it looks good, but I am still playing with it to see if it is a suitable replacement for Tesla in all cases).
- Absinthe is something of a compiler itself, because it has to strictly define things the way that is specified in the GraphQL spec. You can now import an SDL file, but you still need to hook resolvers and middleware into it. Honestly, I don’t think that the schema definitions in JS/TS are much better for GraphQL in terms of readability.
Being heavily macro-based means that there are sharp edges that are harder to work around when you want to add your own macros for code reuse purposes. That said, aside from the schema definition, Absinthe is entirely usable without macros. Within the schema definition, Absinthe isn’t making anything up, it’s using the same basic definitions that the GraphQL spec do, adapted for Elixir syntax.
Exmachina didn’t interest me because I don’t think much of factory_bot (which used to be called factory_girl), as I saw it abused far more than used well (IMO, it’s impossible to use correctly). Ash…looks like an interesting experiment, but I don’t know that there’s a lot of pick-up with it compared to Phoenix. And I have yet to find a use for CQRS/ES, so there’s no reason for me to play with commanded. I certainly wouldn’t consider any of these three to be "major" players in Elixir. Tesla and Absinthe? Yes.
Testable, composable, and adapter based Elixir email library for devs that love piping.
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Elixir Elixir related posts
Open-source tool for building courses like Duolingo
2 projects | /r/SideProject | 19 Nov 2023
Svelte Inside Phoenix Liveview with Seamless End-to-End Reactivity
1 project | news.ycombinator.com | 16 Nov 2023
Switching to Elixir
11 projects | news.ycombinator.com | 9 Nov 2023
Next LS v0.15.0, elixir-tools.vscode v0.12.0, Tableau v0.10.0, and a new documentation site
3 projects | /r/elixir | 9 Nov 2023
Ask HN: What music have you been listening to lately?
1 project | news.ycombinator.com | 31 Oct 2023
Elixir and Phoenix can do it all
7 projects | news.ycombinator.com | 28 Oct 2023
Things I like about Gleam's Syntax
4 projects | news.ycombinator.com | 26 Oct 2023
A note from our sponsor - Onboard AI
getonboard.dev | 1 Dec 2023
What are some of the best open-source Elixir projects in Elixir? This list will help you: