go-prompt
Building powerful interactive prompts in Go, inspired by python-prompt-toolkit. (by c-bata)
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. (by pterm)
Our great sponsors
go-prompt | pterm | |
---|---|---|
5 | 14 | |
5,182 | 4,548 | |
- | 2.0% | |
0.0 | 8.9 | |
13 days ago | 8 days ago | |
Go | Go | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
go-prompt
Posts with mentions or reviews of go-prompt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-09.
-
Is there a library that can give python-prompt-toolkit like completion for TUI?
Ref. https://github.com/prompt-toolkit/python-prompt-toolkit and https://github.com/c-bata/go-prompt ?
-
Is there a terminal based "dialog" library?
has some nice options : https://github.com/c-bata/go-prompt seems to have all you want (but may be a bit more than you wish for though.)
-
How can I use stdin while piping data when using promptui?
I think we are drifting into semantics here. The request isnt really about application design/use cases, nor am I am fan of running commands directly from code. If you notice, myapp in the example case is the final command, so interactivity isnt the breaker. The question is far simpler; this is doable in other langs or when using packages like github.com/c-bata/go-prompt
-
Library for developing CLI application with run-time command parsing like a shell
Have you hade a look at https://github.com/c-bata/go-prompt ?
-
Bit (1.0) โ a modern Git CLI in Go
Bit uses cobra a little but for the autocomplete it uses https://github.com/c-bata/go-prompt
pterm
Posts with mentions or reviews of pterm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-08.
- PTerm v0.12.58: You can now use beautiful structured logging for your projects!
- PTerm now supports beautiful structured logging
- Equivalent to Pythons Rich?
- Goget: An interactive go module downloader | Looking for contributors | Level: Super Easy
-
bubbletea VS pterm - a user suggested alternative
2 projects | 6 Feb 2022
-
Styling console applications based on Symfony, Laravel, CakePHP, and other frameworks using Termage!
Termage is PHP alternative of such great tools: Rich library for PYTHON, SpectreConsole library for .NET, and a PTerm library for GO.
-
Looking for a TUI library
I just started learning dart with the intention of moving to flutter later on (targeting desktop mainly) and right now I am writing some smaller console based applications on linux and I was looking for a TUI library along the lines of dialog, ncurses or preferably pterm , after checking pub.dev I found one that wasn't compatible with dart 2 and one called easy_tui that's a year or so outdated. Anyone have any suggestions?
- PTerm - A Go module to beautify console output. Featuring charts, progressbars, tables, trees, and much more
- PTerm - A modern Go module to beautify console output. Featuring charts, progressbars, tables, trees, live areas, and much more.
-
coverage report with source code and heatmap in terminal.
Some times I with to have a quick glance at test coverage without creating the html-report or spin up an editor with these things integrated - so I made this (with help from pterm.sh and the source-code from the standard go coverage tool):
What are some alternatives?
When comparing go-prompt and pterm you can also consider the following projects:
gocui - Minimalist Go package aimed at creating Console User Interfaces.
bubbletea - A powerful little TUI framework ๐
termui - Golang terminal dashboard
Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets โย written in Golang
clui - Command Line User Interface (Console UI inspired by TurboVision)
Git Town - Additional Git commands for easier branch management and support for stacked changes
termenv - Advanced ANSI style & color support for your terminal applications
Sitemap Generator - Depth controllable Web scraper and Sitemap Generator in Go
lipgloss - Style definitions for nice terminal layouts ๐
go-prompt vs gocui
pterm vs bubbletea
go-prompt vs termui
pterm vs Rich Interactive Widgets for Terminal UIs
go-prompt vs Rich Interactive Widgets for Terminal UIs
pterm vs gocui
go-prompt vs clui
pterm vs termui
go-prompt vs Git Town
pterm vs termenv
go-prompt vs Sitemap Generator
pterm vs lipgloss