meow
bubbletea
Our great sponsors
meow | bubbletea | |
---|---|---|
4 | 115 | |
3,493 | 24,135 | |
- | 5.7% | |
7.0 | 8.8 | |
about 1 month ago | 3 days ago | |
JavaScript | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
meow
-
Building Reactive CLIs with Ink - React CLI library
As you can see, cli.tsx also looks pretty similar to React's root file, but, it has something more to offer using meow library. meow is a popular library that helps you build nice CLI applications gives you access to create usage docs and handles args and flags.
- Ink: React for interactive command-line apps
-
How To Build a CLI With Node.js and React
You will notice that it is using meow to read the command and flags. Afterward, it passes the flags to the ui component and renders it. meow is a helper library to parse arguments. The text passed to meow() is the help text shown when you call create-micro-service --help.
-
Getting started with React Ink
Here the App component is being imported using a special importJSX command. Meow is a library that allows us to make interactive CLIs. Here look at the render statement. A React element is being created where the App Element is passed as the first argument (ie the JSX part of the element) and then cli.flags is an arrow of props that will be passed into the element. This is where the name prop is coming from!!!
bubbletea
- Harlequin: SQL IDE for Your Terminal
-
When creating console based applications how do you replicate the following realtime updates:
I recommend looking at the charm libraries. Lip gloss https://github.com/charmbracelet/lipgloss can provide the styling and bubble tea can handle the screen updates and framework https://github.com/charmbracelet/bubbletea there is a premade progress bar component in bubbles library. https://github.com/charmbracelet/bubbles
-
Built a TUI app to find anime scenes by image
I built a TUI app to find anime scenes by image to learn the TUI framework [Bubbletea](https://github.com/charmbracelet/bubbletea)
-
Lazydocker
TUIâs are awesome; Iâve used this library to build them in the past: https://github.com/charmbracelet/bubbletea
For a sufficiently-complex system, a CLI client just isnât as powerful as a live âconsoleâ. A TUI can play the part and you donât have to venture into the web SPA world.
- Separated input/output windows.
-
New to go, suggestions for non-web projects.
If you want to build terminal app, I highly recommend the bubbletea library: https://github.com/charmbracelet/bubbletea
- [Python] Bibliothèque CLI UI similaire à Bubbletea
-
snips.sh: passwordless, anonymous SSH-powered pastebin
You can view your snippets in a human-friendly web UI that syntax-highlights the code and even renders markdown. In addition to the Web UI, the TUI (powered by bubbletea) has a file browser, code viewer and attribute editor.
-
Ink: React for interactive command-line apps
A sibling comment points at https://github.com/charmbracelet/bubbletea as a Go alternative with a similar architecture
-
Show HN: Frogmouth â A Markdown browser for your terminal
The closest thing in Go I know about is bubbletea:
https://github.com/charmbracelet/bubbletea
What are some alternatives?
yargs - yargs the modern, pirate-themed successor to optimist.
Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets â written in Golang
Inquirer.js - A collection of common interactive command line user interfaces.
tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
minimist - parse argument options
pterm - ⨠#PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more đ It's completely configurable and 100% cross-platform compatible.
ascii-charts - Ansi charts for nodejs
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
cli-table - Pretty unicode tables for the CLI with Node.JS
termui - Golang terminal dashboard
nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.