Short feedback loops make me happy. I want to get ideas on a screen while they're still fresh and work through them with other people. That's how I like to make software.
When I started hacking on Shelley, I got bogged down waiting for it to restart. I put together a way to inject CSS and JavaScript into a running instance, then built a staging app where Shelley could make variations of individual components—font sizes, comment placements, interaction UIs. It reminded me of the tight loop I loved with Figwheel and Emacs: change something, see it in the browser, keep going.
That made working on Shelley faster, but I wanted the same loop on other pages. I also wanted to point an agent at part of the DOM without having to describe where to find it.
Shelley Inject is my attempt at that: point at something, say what I want to try, and see what happens. Natural language and voice instead of parentheses.
A few things make the loop work:
- I can click the part of the page I mean, move the selection up to its parent, or select several elements together.
- I can type or speak a comment. Shelley gets the selected part of the page as context, so I don't have to spend a turn explaining where to look.
- CSS and HTML changes appear in a temporary preview. I can react to them right there, or reset and try something else.
Instead of firing off a prompt, going to make coffee, and hoping for the best, I can stay on the page, see the changes in real time, and keep iterating until they feel right. When I’m happy with the result, Shelley can bring it back into the source.
Shelley is just another web app running on a VM I control, so I can change the tool as well as the thing I'm building. In fact, Shelley Inject grew out of doing exactly that.
Shelley is just another web app running on a VM I control, so I can change both the tool and the thing I’m building. Shelley Inject grew out of doing exactly that.
If you’ve also been making Shelley your own, we’d love to know. Come find us on Discord and show us how.
