f34nk

f34nk

Lovely people :victory_hand:

I am happy to announce that smithy-beam is published to Maven Central and Hex :tada:

Smithy-beam generates Elixir and Erlang code from Smithy models.

Following the official Smithy ecosystem, smithy-beam is shipped as a JAVA package to Maven Central.
Check out How to generate an Elixir client.

The hex package smithy_beam supports `mix` and `rebar3` that handle the heavy lifting for you.

Frank

Showing Posts 1 to 5

felix-starman

felix-starman

Neat :blush:
You should post it to their awesome list for SEO

f34nk

f34nk OP

Already did many moons ago → awesome-smithy#code-generators :smiling_face_with_sunglasses:

f34nk

f34nk OP

For my understanding - Smithy is good for three distinct use cases.

  1. The Amazon use case - generate SDKs for hundreds of services in many languages.
    Best explained here: Scaling APIs with Smithy - Michael Dowling, Amazon Web Services
  2. The Monolith with many endpoints use case.
    Please check out this great talk One Monolith, Many Teams: Growing an Org with Elixir - Sofia Silva, André Albuquerque at ElixirConf 2026.
    They don’t use Smithy, but - in theory - since Smithy is human readable, typed and even offers test generation - replacing OpenAPI YAML with nice Smithy models could help to standardize a complex platform.
  3. The many clients for an Open Source project use case.
    The OpenRiak database now offers a Smithy model for API v3.4 and generated clients for Python, Elixir and Erlang :tada:
    Please check out the demos in f34nk/riak_clients to see how it works.
mudasobwa

mudasobwa

Creator of Cure

Since you are going to support Gleam, and there are also https://lfe.io/ and https://cure-lang.org and whatnot, would not make sense to provide the plugin architecture and treat other languages as plugins instead of hardcoded codegen directories?

f34nk

f34nk OP

Good question. Smithy is already a plugin architecture by design, just on the JAVA SPI level → see here

Smithy-beam implements the official DirectedCodegen. Because of that, for example, I was able to “hook” the OpenRiak clients into the generator → see here

So, by design: one codegen plugin per language.
Smithy-beam goes one step further by supporting multiple languages. Every language has subtle differences. They are still deployed as separate plugins.

The question why smithy is designed that way? I can only guess.
I really recommend the video above. It explains very well where smithy is coming from and what it tries to solve. The problem space is complex and the feature scope is huge.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

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
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
danschultzer
I’ve moved the strategies out of PowAssent and created a multi-provider framework for Elixir. This way the strategies can be used in any ...
New
gtcode
Aloha gang, There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here: ...
New
danschultzer
I needed something like premailer for rails, and after searching, I decided to make an easy-to-use library to handle inline styles and co...
New

Other Trending Topics Top

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
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
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
AstonJ
With advancements in AI gathering pace and set to increasingly accelerate, perhaps it’s worth having an annual thread on the topic - feel...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews