mudasobwa
Creator of Cure
Yeesh is a straightforward live component wrapper for xterm.js, supporting a predefined set of Yeesh.Commands.
There is a sample Phoenix project in examples folder, although adding it to the Phoenix projects should be a piece of cake.
I needed this functionality for my fancy upcoming Language Agnostic Code Audit SaaS (yes, I am still a believer that CLI interface is the best humanity ever invented—except for chili con carne—and I’m positive any SaaS must have a CLI in browser.)
Enjoy!
Trending in Announcing
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries.
offset-based pagination with...
New
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
I released Doggo, a collection of unstyled Phoenix components.
https://github.com/woylie/doggo
Features
Unstyled Phoenix components....
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
Hello
Published a new library - ProcessHub!
ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
It’s not that it’s vocabulary is too advanced. It’s something worse.
I get lost trying to follow even a paragraph written by Claude. It’...
New
This showed up on my feed.. anyone heard of it? Just hype?
Ox Alpha is a reasoning model designed for coding, sustained ag...
New
Hey folks,
I just published a post about Hologram’s funding and where the project goes next - the short version:
Curiosum as Main Spons...
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
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security












Showing Posts 1 to 9- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
xsteve
That looks really nice.
Since you are starting this project: It would be nice to Provide a lua shell as well:
https://github.com/tv-labs/lua
mudasobwa
I am not sure what do you mean “lua shell.” I have plans to support loading BEAMs to some extent, and maybe
mixtasks.For everything else there are feature requests.
mudasobwa
Yeeshgot two features I actually needed:Task → Commandwrapper)Enjoy.
DaAnalyst
I subscribe to everything you said here, chilli con carne included!
And thank you for this one!
xsteve
My idea is the following:
GitHub - rvirding/luerl: Lua in Erlang · GitHub provides a lua implementation in erlang.
GitHub - tv-labs/lua: A Lua 5.3 runtime in pure Elixir · GitHub provides a nice way to connect a lua interpreter with your elixir application.
A shell running lua would provide a really powerful way to interact with your application.
Connecting the lua interpreter with Yeesh would provide exactly that.
mudasobwa
That I understood
That’s something I probably would have avoided in general.
Yeeshis exposed to the client. Giving it a full remote access to the server application sounds like a perilous idea. If I were after that, I’d probably start with an ability to execute an arbitrary elixir code.Instead,
Yeeshallows whitelisted mix tasks, including interactive ones. Wrapping the aforementioned library into an interactive mix tasks should not be difficult, but at the moment it is out of scope of my actual needs.Feel free to create an issue in github though.
xsteve
The lua shell does not give full access to the elixir runtime. It is a sandbox. You have the ability to add lua functions that can execute elixir code. That way the access to the system is limited/controlled. lua provides a powerfull way to automate tasks. And a shell allows to do that interactively.
mudasobwa
v0.5.0 is released with:
Ctrl+Rfor(reverse-i-search)‘’:as in shellsShitf+Ctrl+C/V/Xfor copy/paste/cut to avoid clashes with browser defaults (requires a user to permit clipboard operations in the browser)Ctrl+L)marclifor markdownThis is most likely a pre-release for
v1.0.0. If you have some requests/bug reports, it’s a shout out to file an issue at Issues · Oeditus/yeesh · GitHubEnjoy!
mudasobwa
v0.7.0Yeesh has been refactored to a fully-pledged custom element.Kudos to @DaAnalyst