AndyL
Interesting discussion in the may office hours!
Questions about igniter:
- it sounds like igniter works with a tree of code-elements that perform generation. what do you call the bit of code that implements an ‘generator operation’? an agent? a performer? an action? (ansible calls them ‘modules’)
- is the sequencing and structure of the “igniter tree” defined within the ‘modules’ (functional composition), or by a playbook type of recipe comparable to how ansible does it?
- how is idempotency handled?
- could igniter emit data that describes the application structure (someone said something about a diff…)
- can someone post the URL of the igniter repo, to let outsiders study the pre-release code?
If it’s premature for questions like these, no problemo I’m happy to wait. Just thought I’d post these questions while they are fresh in my mind. ![]()
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
Hey there,
It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Quite interesting article Google brought me. Didn’t find any mentions about it here.
What do you think in general? Would you use togethe...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Hi there! :wave:
@frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Just published claude-code-elixir, a plugin marketplace for Claude Code with Elixir support. These are the plugins I’ve been using for my...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 3- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
zachdaniel
So there are two levels of granularity that are relevant here. There is a “task”, which is an abstraction over a mix task with one minor change, which is that you only define an
igniter/2function, which takes an igniter (a small wrapper around aRewrite) and returns an igniter. This enables chaining. For example, here is a very early version ofmix igniter.install.ash.resourceThat level of granularity would be called a
task, and tasks can be composed withIgniter.compose_task/2. This means any task can be called viamixor composed, which is a very useful property.At a lower level of granularity, you have individual functions that will modify a
rewriteto make some code modification. We don’t currently have a name for these aside from “functions”, but you could perhaps call them “codemods”. Here is an example snippet frommix igniter.install.ashadd_dependency,import_depandconfigureare examples of the building blocks Igniter will provide.As you can see above, it is functional composition. A playbook/DSL version may come some day, but is not necessary to start.
When you run an igniter task, it displays a diff of all changes. Here is example output from running
mix igniter.install ashin a new package (ignore the bit about the local dependency. You have to use a local dependency to test/work on your igniterSince those are all new files, I need to figure out a way to hide the left side of those line numbers representing the original files, just haven’t done that yet
The codebase is not quite ready, but I will share it before too long.
zachdaniel
In the spirit of building in the open, the source code has been made public: GitHub - ash-project/igniter: A code generation and project patching framework. · GitHub There isn’t much to it yet, but more will come, and a
0.1release should happen in the next few weeks ideally.TwistingTwists
Waiting!