#Good first simple project?
1 messages · Page 1 of 1 (latest)
you can make Terminal apps in gleam
this guide for making a small cli tool
If you want to make a CLI program then make a CLI program! 🙂
Thanks for a link! I meant something that would take user input. Couldn't find anything like readline in the io module 😦
i think he is asking will otp get in the way
or can i use otp in my cli
There’s packages for that, or you can use externals
It won’t get in the way, you can use it.
Leaving TUIs on the side, what are some good options to start with in general?
Lustre
if you want to do frontend
The best thing to make is something you find interesting!
Something that solves a problem for you, or is related to something you enjoy
yes you wanted to learn gleam to be able to build x
if x is a huge project try making the small bits of it
re: my previous note about OTP, I think I meant BEAM, sorry for confusion 😄
Oh
The beam will get a new update that will add keyboard api so it will be easier to make cli tools
To be honest I was thinking about this TUI app a long time ago... Looked into Go, but didn't like the types system there and gave up. Then later on discovered Gleam and loved the type system. And now I'm here 😅
For anyone who’s worked on a terminal interface in Elixir, you may be excited to know that raw mode is coming to OTP 28: Implement lazy-read and noshell raw mode by garazdawi · Pull Request #8962 · erlang/otp · GitHub If you’re unfamiliar with raw mode, the gist of it is that it allows terminals to read input without waiting for a newline, allo...
Ha, good timing for me 😅
Gleam type system is my fav you don't have to tell the compiler what types you have but it will be correct
yes if you want to learn the language i think exercism exercises are amazing
JS target is pretty good for cli and you can even compile to a binary using node/bun/deno
not forgetting all the libraries there for making the terminal look pretty af
Go's https://github.com/charmbracelet/bubbletea is nice and even uses Elm architecture, but I just don't like Go :/
Once OTP28 is here I think we will have our own version of that