Ash Framework

AF

Ash Framework

The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.

Join

support

showcase

today-i-learned

Ash Weekly: Issue #19

Homepage revamp & docs improvements, file uploads in AshAdmin, Ash AI improvements, new modes for usage_rules, new reactor projects, and three new community extensions! https://ashweekly.substack.com/p/ash-weekly-issue-19...

Authors in changelogs

Thanks to @abeeshake456, our changelogs now show the author of changes (linking to their github profile where possible), which also means that Ash Weekly should show who did what, increasing visibility of our contributors. Great work!
No description

AshNeo4j Datalayer

Ash Neo4j is a Datalayer for Neo4j https://github.com/diffo-dev/ash_neo4j/ 'Why have an Ash Neo4j DataLayer?...

Reactor has new documentation

Thanks to Zach who remembers the arcane knowledge of hexdocs better than I, Reactor’s brand new fancy documentation has been published. I lot of work went into these improvements and I’m super proud of the result. https://hexdocs.pm/reactor/readme.html

AshOutstanding Extension

AshOutstanding is an Ash Extension that lets you declare how your Ash Resources implement the Outstanding Protocol. https://github.com/diffo-dev/ash_outstanding and...

Ash Weekly: Issue #18

CheckCodegenStatus plug, --dev migrations, Ash.Scope, shared action context, usage-rules.md, ash_ai.gen.chat improvements, Igniter.Scribe https://open.substack.com/pub/ashweekly/p/ash-weekly-issue-18?r=f3smb&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true...

`:shared` context | automatically passing context to child actions

As part of the upcoming Ash.Scope capabilities, I decided to tackle something we've wanted for quite some time, which is the ability for some context to automatically be passed down to child actions & actions called from hooks. This will soon be in main. Here is the relevant docs: Context...

`Ash.Scope` PR has been merged, allowing you to group actor/tenant/context into a single value

See the PR and docs from the PR here: https://github.com/ash-project/ash/pull/2050 Anyone who wants to set this up in AshAuthentication installer LMK, and AshPhoenix installers could also react to the presence of a module called MyApp.Scope and swap out the current_user logic for scope....

I'm joining the EEF Board

And I encourage anyone here who can to support them, both by joining as a member (paying if you can afford it) and by participating in the working groups 😎 https://bsky.app/profile/zachdaniel.dev/post/3lpkb4p7cd22t...

AshCommanded: Declarative CQRS and ES patterns for Ash

Some people would call me slow...I would have to agree as it took me only a few decades to finally contribute back to the open-source community. This extension will let you declare commands, events, etc inside your resources and will generate the modules required for integration with the Commanded library at runtime for you. https://hexdocs.pm/ash_commanded/readme.html...

hapësirë - quote collection with a simple API

a quotes/sayings/proverbs collection with a simple API made with 💜, Ash, Plug and Slime - https://hapesire.kira.computer/ there is a personal coding challenge that i started randomly almost 4 years ago. the main point is to make a CLI utility that fetches random quotes and sayings from one API, formats them in an unsophisticated way: basic colors with ANSI codes and text wrapping by specific width. basically i've been making the same utility in different programming languages preserving the style and some key features however this API is really and i mean really old and has some problems like malformed json responses - apostrophes are escaped for some reason while double quotes are not. i haven't noticed the second issue in all these years until recently. how would you fix unescaped double quotes inside a string in some JSON? by reinventing the wheel with too much effort and pain... and fixing escaped apostrophes was not a problem for me a few weeks ago i was going to make the same utility in Gleam. i paused and thought for a moment on how i would tackle this issue with malformed JSON responses? by using XML or plaintext responses instead (again)? after a quick search for libraries, i got annoyed, frustrated and angry thinking of making such an API myself (there are no other good alternatives)...
No description