The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Elixir HTTP Projects
-
tesla
The flexible HTTP client library for Elixir, with support for middleware and multiple adapters.
-
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.
-
bypass
Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Maxwell
Maxwell is an HTTP client which support for middleware and multiple adapters. (by zhongwencool)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
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.
I'd just mitigated this exact thing in Bandit last month!
https://github.com/mtrudel/bandit/blob/main/lib/bandit/http2...
TBH, from an implementors perspective this is a super obvious thing to cover off. It had long been on my radar and was something that I'd always figured other implementations had defended against as well.
One example is HTTP libraries.
For instance, take Mint (https://github.com/elixir-mint/mint):
> Mint is different from most Erlang and Elixir HTTP clients because it provides a process-less architecture.
Mint is a low-level library which doesn't make attempt to manage processes (including HTTP pooling).
In contrast, Finch (which builds on top of Mint) includes pool management:
https://github.com/elixir-mint/mint#connection-management-an...
It can take someone a bit off guard when they realise that the library they use provide a "default pool" they were not aware of, and that it can become a bottleneck etc.
Project mention: How to implement a disk cache plugin for Elixir's Req HTTP client? | news.ycombinator.com | 2023-08-17
Project mention: OSS tools and guidelines for sending webhooks easily, securely and reliably | news.ycombinator.com | 2024-01-04
Elixir HTTP related posts
- OSS tools and guidelines for sending webhooks easily, securely and reliably
- Unpacking Elixir: Resilience
- Crawly – Elixir web scraping framework
- How to implement a disk cache plugin for Elixir's Req HTTP client?
- Exponential Backoff with Elixir
- Taming the Time: how to install & develop with XTDB
- An Elixir OAuth 2.0 Client Library
-
A note from our sponsor - WorkOS
workos.com | 25 Apr 2024
Index
What are some of the best open-source HTTP projects in Elixir? This list will help you:
Project | Stars | |
---|---|---|
1 | httpoison | 2,215 |
2 | tesla | 1,954 |
3 | bandit | 1,543 |
4 | mint | 1,328 |
5 | finch | 1,205 |
6 | standard-webhooks | 1,071 |
7 | bypass | 935 |
8 | Crawler | 917 |
9 | Crawly | 840 |
10 | oauth2 | 734 |
11 | httpotion | 725 |
12 | tentacat | 438 |
13 | PlugAttack | 417 |
14 | scrape | 326 |
15 | neuron | 322 |
16 | Ace | 304 |
17 | chaperon | 119 |
18 | webdriver | 119 |
19 | Maxwell | 111 |
20 | river | 82 |
21 | cauldron | 74 |
22 | FakeServer | 72 |
23 | absinthe_client | 66 |
Sponsored