Elixir Elixir

Open-source Elixir projects categorized as Elixir

Top 23 Elixir Elixir Projects

  • Phoenix

    Peace of mind from prototype to production

  • Project mention: Why, after 6 years, I'm over GraphQL | news.ycombinator.com | 2024-05-30

    > I seem to recall Meta/Facebook engineers on HN having said they have a tool that allows engineers to author SQL or ORM-like queries on the frontend and close to where the data is used, but a compiler or post-processor turns that into an endpoint.

    I don't know about on-HackerNews but there's a discussion about their "all of Facebook optimizing compiler" infrastructure from when they did the site redesign in 2020: https://engineering.fb.com/2020/05/08/web/facebook-redesign/...

    > perhaps not coincidentally, React introduced "server actions" as a mechanism that is very similar to [the above]

    Yep - there's also the Scala framework LiftWeb (https://www.liftweb.net/), the Elixir framework Phoenix (https://www.phoenixframework.org/) and of course the system we're using right now (Arc) that do similar things. Scaling these kinds of UUID-addressed-closures is harder (because the client sessions have to be sticky unless you can serialize closures and send them across the network between servers).

  • Plausible Analytics

    Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.

  • Project mention: Time Series Analysis of Plausible Data | dev.to | 2024-05-21

    # Function to get Plausible Analytics timeseries data def get_plausible_timeseries_data(): # Calculate the date range for the last 90 days date_to = datetime.today().strftime('%Y-%m-%d') date_from = (datetime.today() - timedelta(days=90)).strftime('%Y-%m-%d') # Setting the metrics we want to look at metrics='visitors,pageviews' # Actually pulling the data we want url = f"https://plausible.io/api/v1/stats/timeseries?site_id={site_id}&period=custom&date={date_from},{date_to}&metrics={metrics}" headers = { "Authorization": f"Bearer {api_key}" } response = requests.get(url, headers=headers) data = response.json() # Putting the data into a dataframe we can use for analysis results = data['results'] df = pd.DataFrame(results) # Adjusting the date field so we can avoid future warnings and be more accurate df['date'] = pd.to_datetime(df['date']) return df

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • realtime

    Broadcast, Presence, and Postgres Changes via WebSockets

  • Project mention: Reliably syncing database and frontend state: A realtime competitor analysis | dev.to | 2024-05-16

    Supabase has a feature called Postgres Changes, which is part of their realtime product offering. It allows you to listen to changes that happen in a single table, and send those changes to clients that are allowed to receive them.

  • 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: List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting. | dev.to | 2024-04-30

    Firezone - Layer 3/4 overlay network. Runs on kernel WireGuard® and supports SSO using generic OIDC/SAML connectors. Distributed under Apache 2.0 license and written in Elixir/Rust.

  • 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

  • electric

    Local-first sync layer for web and mobile apps. Build reactive, realtime, local-first apps directly on Postgres.

  • Project mention: Running PHP Fast at the Edge with WebAssembly | news.ycombinator.com | 2024-05-23
  • credo

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

  • SaaSHub

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

    SaaSHub logo
  • livebook

    Automate code & data workflows with interactive Elixir notebooks

  • Project mention: Elixir and Machine Learning in 2024 so far: MLIR, Arrow, structured LLM, etc. | news.ycombinator.com | 2024-05-29

    I have always considered helping the community grow into a diverse ecosystem to be my main responsibility (the Python community being a great example here).

    This particular effort started because some people got together and realized that we could do it! Do it in a way that felt part of Elixir and not just a bunch of bindings to C libraries.

    We honestly never had the expectation that we had to beat Python (otherwise we would simply not have started). Early on, we were not even sure if we could be better at one single thing. However, 3 years later, we do have features that would be quite hard or impossible to implement in Python. For example:

    * Nx Serving - https://hexdocs.pm/nx/Nx.Serving.html - allows you to serve machine learning models, across nodes and GPUs, with concurrency, batching, and partitioning, and it has zero dependencies

    * Livebook - https://livebook.dev - brings truly reproducible workflows (hard to achieve in Python due to mutability), smart cells, and other fresh ideas

    * A more cohesive ecosystem - Nx, Scholar, Explorer, etc all play together, zero-copy and all, because they are the only players in town

    Of course, there are also things that Python can do, that we cannot:

    * In Python, integration with C code is easier, and that matters a lot in this space. Python also allows C to call Python, and that's just not possible in the Erlang VM

    * Huge ecosystem, everything happens in Python first

    At the end of the day, what drives me is that the Erlang VM offers a unique set of features, and combining them with different problems have historically lead to interesting and elegant solutions. Which drives more people to join, experiment, run in production, and create new things.

  • elixir_style_guide

    A community driven style guide for Elixir

  • Absinthe Graphql

    The GraphQL toolkit for Elixir

  • guardian

    Elixir Authentication

  • blockscout

    Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.

  • distillery

    Simplify deployments in Elixir with OTP releases!

  • 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

  • httpoison

    Yet Another HTTP client for Elixir powered by hackney

  • nerves

    Craft and deploy bulletproof embedded software in Elixir

  • Project mention: Embedded Elixir | news.ycombinator.com | 2024-01-28
  • 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.

  • floki

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

  • poison

    An incredibly fast, pure Elixir JSON library

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

  • SaaSHub

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

    SaaSHub logo
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).

Elixir Elixir related posts

  • Demonstrating ArangoDB VelocyPack: A High-Performance Binary Data Format

    2 projects | dev.to | 31 May 2024
  • Elixir and Machine Learning in 2024 so far: MLIR, Arrow, structured LLM, etc.

    7 projects | news.ycombinator.com | 29 May 2024
  • Running PHP Fast at the Edge with WebAssembly

    1 project | news.ycombinator.com | 23 May 2024
  • Time Series Analysis of Plausible Data

    1 project | dev.to | 21 May 2024
  • Show HN: Wikipedia Golf – find the fewest clicks between two random wiki article

    1 project | news.ycombinator.com | 20 May 2024
  • Reliably syncing database and frontend state: A realtime competitor analysis

    1 project | dev.to | 16 May 2024
  • PostgreSQL Comes to Firebase

    1 project | news.ycombinator.com | 14 May 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 Phoenix 20,794
2 Plausible Analytics 18,666
3 realtime 6,510
4 firezone 6,304
5 Papercups 5,661
6 electric 5,072
7 credo 4,865
8 livebook 4,507
9 elixir_style_guide 4,314
10 Absinthe Graphql 4,234
11 guardian 3,391
12 blockscout 3,240
13 distillery 2,958
14 changelog.com 2,673
15 nx 2,516
16 broadway 2,322
17 quantum 2,265
18 httpoison 2,213
19 nerves 2,166
20 elixir_koans 2,134
21 floki 2,001
22 poison 1,996
23 tesla 1,966

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com