All Projects → liamg → flinch

liamg / flinch

Licence: Unlicense License
A collection of terminal-based widgets for richer Golang CLI apps.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to flinch

ipfs-chat
Real-time P2P messenger using go-ipfs pubsub. TUI. End-to-end encrypted texting & file-sharing. NAT traversal.
Stars: ✭ 84 (+162.5%)
Mutual labels:  tui, terminal-ui
hwatch
A modern alternative to the watch command, records the differences in execution results and can check this differences at after.
Stars: ✭ 370 (+1056.25%)
Mutual labels:  tui, terminal-ui
tut
TUI for Mastodon with vim inspired keys
Stars: ✭ 165 (+415.63%)
Mutual labels:  tui
jellex
TUI to filter JSON and JSON Lines data with Python syntax
Stars: ✭ 41 (+28.13%)
Mutual labels:  tui
mempool-cli
mempool.space for the terminal
Stars: ✭ 29 (-9.37%)
Mutual labels:  tui
vt100
💻 VT100 Terminal Package
Stars: ✭ 19 (-40.62%)
Mutual labels:  tui
przm
🎨 A simple, yet feature rich color picker and manipulator
Stars: ✭ 19 (-40.62%)
Mutual labels:  tui
dblab
Interactive client for PostgreSQL and MySQL
Stars: ✭ 199 (+521.88%)
Mutual labels:  tui
TerminalUserInterfaces.jl
Terminal User Interfaces in Julia.
Stars: ✭ 66 (+106.25%)
Mutual labels:  tui
imgcat
Display images and gifs in your terminal.
Stars: ✭ 67 (+109.38%)
Mutual labels:  tui
secman
[Archived] 👊 Human-friendly and amazing secrets manager.
Stars: ✭ 63 (+96.88%)
Mutual labels:  tui
termdbms
A TUI for viewing and editing database files.
Stars: ✭ 1,116 (+3387.5%)
Mutual labels:  tui
tfex-rs
A simple terminal UI file manager
Stars: ✭ 29 (-9.37%)
Mutual labels:  tui
twitch-tui
Twitch chat in the terminal.
Stars: ✭ 80 (+150%)
Mutual labels:  tui
zbox
termbox like terminal UI library for zig
Stars: ✭ 30 (-6.25%)
Mutual labels:  tui
toolbox
Collection of terminal applications for Manjaro and Arch based Systems (Bash TUI)
Stars: ✭ 12 (-62.5%)
Mutual labels:  tui
slack-term
Slack client for your terminal
Stars: ✭ 6,074 (+18881.25%)
Mutual labels:  tui
mangadesk
Terminal client for MangaDex 📖
Stars: ✭ 569 (+1678.13%)
Mutual labels:  tui
dots
🌀 my linux configuration
Stars: ✭ 66 (+106.25%)
Mutual labels:  tui
crypto-portfolio
A CLI Cyrptocurrency Portfolio Tracker
Stars: ✭ 12 (-62.5%)
Mutual labels:  tui

Flinch

A collection of terminal-based widgets for richer Golang CLI apps.

Ships with a library to build your own widgets/TUIs too.

Warning: This module is experimental right now.

Input

name, _ := widgets.Input("Enter your name...")

Password Input

password, _ := widgets.PasswordInput("Enter your password...")

List Selection

_, item, err := widgets.ListSelect(
    "Select an environment...",
    []string{
        "Development",
        "Test",
        "Staging",
        "Production",
    },
)

Multi List Selection

_, items, err := widgets.MultiSelect(
    "Select an option...",
    options,
)

(scrollbars appear for long lists)

Confirmation

userConfirmed, _ := widgets.Confirm("Are you sure?")

Try It Out

You can play with the examples by running them directly, e.g.

go run ./_examples/multiselect-long/

Build Your Own Widgets

Check out the widgets package for inspiration.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].