rodloboz

rodloboz

Sometime ago I had a Phoenix project where – among other reasons – I ended up switching the FE to React so I could use kbar lib. But in a lot of projects Phoenix LiveView is good and plenty, so I’m releasing a ⌘K command palette: so that we don’t have to wire a JS library to LiveView by hand.

Introducing Jumon (呪文, “spell”), a command palette for Phoenix that supports:

  • actions that navigate, patch, push an event, run JS commands, open a link, copy, or run a function on the server

  • one Commands module with the actions of your app, read for each socket, so each person sees what they may do

  • actions of the LiveView you’re on, which leave with it

  • searches of the server as you type, the slow ones in a task

  • pages of children, and actions that ask for their arguments (a choice, a search, a text) before they run

  • fuzzy search that forgives a typo and ignores accents, the same in the browser and in Elixir (Jumon.Match)

  • keyboard shortcuts and sequences like g h, with ? for a page of them all

  • “Recent” and frecency, in the browser or in your database with Ecto (Postgres or SQLite)

  • Jumon.Test to search and run actions in LiveViewTest without a browser

Like Kotoba and Koyomi, it ships as a prebuilt bundle in the Hex package, so no Node.js: mix jumon.install adds the hook and one stylesheet.

Your app’s actions, with sections, icons and shortcuts

Search the server as you type, typos included

Give results their own actions

Open pages of children

Ask for arguments before an action runs, checked again on the server

And list every shortcut

All the screenshots are from Notebook, the demo app I also use for Kotoba and Koyomi. Clone it, run mix setup and mix phx.server, and press ⌘K.

Would love to get your feedback and if you find bugs or have feature requests Issues are open and PRs are welcome.

Where Next? Top

Trending in Announcing Top

achempion
Hi, I would like to tell about my initiative to further maintain and develop Waffle project which is the fork of Arc library. The progre...
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
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
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’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

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
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
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
bartblast
If you haven’t tried Hologram yet, what’s stopped you? Here’s why I’m asking. Building a framework turns out to be two jobs, the framewo...
New
mat-hek
Popcorn, the library that runs Elixir code in the browser, is now stable :popcorn: This is possible because it now builds on a very stab...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews