Elixir Elixir

Open-source Elixir projects categorized as Elixir

Top 23 Elixir Elixir Projects

  • Phoenix

    Peace of mind from prototype to production

    Project mention: Things I like about Gleam's Syntax | news.ycombinator.com | 2023-10-26

    Since you mention Rails, have you seen https://www.phoenixframework.org/

  • Plausible Analytics

    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.

  • InfluxDB

    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.

  • realtime

    Broadcast, Presence, and Postgres Changes via WebSockets

    Project 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.

  • firezone

    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
  • Papercups

    Open-source live customer chat

    Project 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 [1]. 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.

    [1] https://github.com/papercups-io/papercups

  • credo

    A static code analysis tool for the Elixir language with a focus on code consistency and teaching.

  • elixir_style_guide

    A community driven style guide for Elixir

  • Onboard AI

    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.

  • Absinthe Graphql

    The GraphQL toolkit for Elixir

  • livebook

    Automate code & data workflows with interactive Elixir notebooks

    Project mention: Advent of Code 2023 is nigh | news.ycombinator.com | 2023-12-01
  • guardian

    Elixir Authentication

  • distillery

    Simplify deployments in Elixir with OTP releases!

  • blockscout

    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

    BlockScout

  • changelog.com

    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...

  • nx

    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

  • broadway

    Concurrent and multi-stage data ingestion and data processing with Elixir

    Project 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).

  • quantum

    :watch: Cron-like job scheduler for Elixir

    Project 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

  • httpoison

    Yet Another HTTP client for Elixir powered by hackney

  • nerves

    Craft and deploy bulletproof embedded software in Elixir

    Project mention: Elixir for Ruby developers: the three most important differences | news.ycombinator.com | 2023-07-23
  • elixir_koans

    Elixir learning exercises

    Project mention: Gotchas? Tips&amp;tricks for beginners? | /r/elixir | 2023-10-25

    elixir-koans is a good repo for practicing some of the ins and outs.

  • poison

    An incredibly fast, pure Elixir JSON library

  • floki

    Floki is a simple HTML parser that enables search for nodes using CSS selectors.

  • tesla

    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.

  • bamboo

    Testable, composable, and adapter based Elixir email library for devs that love piping.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-12-01.

Elixir Elixir related posts

Index

What are some of the best open-source Elixir projects in Elixir? This list will help you:

Project Stars
1 Phoenix 20,143
2 Plausible Analytics 16,843
3 realtime 6,211
4 firezone 5,625
5 Papercups 5,492
6 credo 4,737
7 elixir_style_guide 4,255
8 Absinthe Graphql 4,172
9 livebook 3,986
10 guardian 3,342
11 distillery 2,948
12 blockscout 2,859
13 changelog.com 2,616
14 nx 2,354
15 broadway 2,202
16 quantum 2,193
17 httpoison 2,189
18 nerves 2,098
19 elixir_koans 2,038
20 poison 1,979
21 floki 1,937
22 tesla 1,905
23 bamboo 1,878
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com