quda

quda

Tired of old REST/GraphQL web APIs I am wondering if there is a library for building Elixir APIs on/with RPC ?
I’ve been using trpc - nice, swift, easy to deploy - but on Node & Typescript; I feel the need of something similar on Elixir.

I found Erlang rpc but this module is very cryptic for me, impossible to use. An Elixir wrapper would be great.

Showing Posts 1 to 10

tomkonidas

tomkonidas

Can look into gRCP

Exadra37

Exadra37

If you don’t mind to use gRPC then you can read this blog:

by @akoutmos

quda

quda OP

Mmmm.. thanks I am already aware of gRPC, is there something else available ? Maybe a wrapper around Erlang rpc module ?

Anyway the gRPC Elixir library doesn’t seem very mature (v.0.3.1 and this long todo)

al2o3cr

al2o3cr

What specifically are you looking for? “Something else” doesn’t give folks much insight into your criteria.

For instance, CORBA is “something else” - it was even part of the OTP distribution until OTP 21 (2018)! You almost certainly do NOT want it. GitHub - erlang/corba: The Corba and Cos* applications from OTP · GitHub

Exadra37

Exadra37

That TODO List have all boxes ticked:

So, nothing more left to do on that list.

The latest tag is 0.4.0 not 0.3.1:

quda

quda OP

you’re right, my mistake. Thanks but not interested in this anyway.

quda

quda OP

@al2o3cr Thanks but was asking for Elixir not Erlang, that has already a rpc module.

“Something else” such as I specified initially, something similar to trpc:

I’ve been using trpc - nice, swift, easy to deploy

Quote from trcp website:

tRPC allows you to easily build & consume fully typesafe APIs, without schemas or code generation

LE: Or maybe “something” that implements JSON-RPC 2.0 Specification where I could specify my own methods, in my own way, beyond the get/post/put/delete of REST. :love_you_gesture:t3:

krasenyp

krasenyp

If nothing existing suits your needs then it might be the time to implement it yourself and share it with the world.

onaxon

onaxon

Twirp

Twirp is a framework for service-to-service communication emphasizing simplicity and minimalism.
JSON & Protocol Buffers.

twirp-elixir

Where Next? Top

Trending in Questions Top

itzmidinesh
Hi all, I’m working on a Phoenix project where I need to make external HTTP requests and I’m trying to choose between Req and HTTPoison....
New
yarrichar
I’m very new to Elixir, so sorry if this is a silly question: I am wondering what happens to the mailbox of a process when the machine i...
New
pragdave
How do I tell Hologram not to escape HTML when substituting into templates? {Textile.render(@product.long_description)} escapes the HTM...
New
Fl4m3Ph03n1x
Background When trying to execute mix release on a Windows 11 machine for a Phoenix project I get the following error: * assembling mark...
New
rlipscombe
I’d like to create a file with 600 permissions (rw-------), but there’s a race condition if I create it and then change the permissions. ...
New
saleyn
Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This woul...
New
rlipscombe
When I use Mix.install with a git dependency, using git@github.com:... how do I change the SSH identity used? I’ve got two Github accoun...
New

Other Trending Topics Top

mandar1045
Hey everyone, I’ve been working on something for the past while and finally published it, so I wanted to share. It’s called Infusion. Y...
New
dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews