asciigraph VS termenv

Compare asciigraph vs termenv and see what are their differences.

asciigraph

Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies. (by guptarohit)

termenv

Advanced ANSI style & color support for your terminal applications (by muesli)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
asciigraph termenv
4 6
2,499 1,626
- -
5.2 6.0
18 days ago 2 months ago
Go Go
BSD 3-clause "New" or "Revised" 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.

asciigraph

Posts with mentions or reviews of asciigraph. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-09.
  • Your GitHub year in review - 10 fun ways to visualize your contributions
    22 projects | dev.to | 9 Jan 2023
    Or create an amazing ASCII line graph showing your rollercoaster of activity over your last couple of sprints using asciichart (available for C, C#, C++, Elixir, Java, JavaScript, Go, Haskell, Perl, Python, PHP, Rust, and well... you get the picture).
  • Terminal Music Tracker Mock-Up
    2 projects | /r/golang | 23 Jul 2022
    Is there anything important that I'm missing? I have ideas to colorize things to make it even easier (such as match track with piano key using a color), but for now this black and white theme works well. I can also use something like asciigraph to plot useful things.
  • Logging and Metrics Fun
    4 projects | /r/Bitburner | 7 Jan 2022
    I've been playing around with the Go language and it looks like someone ported asciichart.js to Go: https://github.com/guptarohit/asciigraph
  • How should I approach plotting (2d and 3d) in Golang project?
    4 projects | /r/golang | 21 Mar 2021
    asciigraph is a library for plotting basic graphs in a terminal. It's probably not what you want to have, still an awesome project.

termenv

Posts with mentions or reviews of termenv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-02.
  • go playground code doesn't work locally?
    2 projects | /r/golang | 2 Jun 2023
    For example: https://github.com/muesli/termenv // Clear the visible portion of the terminal output := termenv.NewOutput(os.Stdout) output.ClearScreen()
  • tint: 🌈 slog.Handler that writes tinted logs
    3 projects | /r/golang | 27 Mar 2023
    Why not let termenv do the hard part of making this portable across terminals? It also supports lesser-known conventions like NO_COLOR.
  • Tran - 🖥 Securely transfer and send anything between computers with TUI.
    9 projects | dev.to | 10 Feb 2022
    Termenv
  • Show HN: Lip Gloss a CSS-like layout library for the terminal for Go
    3 projects | news.ycombinator.com | 3 Apr 2021
  • Tz: A Time Zone Helper
    5 projects | news.ycombinator.com | 21 Mar 2021
    Look, you and I may have sane ANSI 16 colours, but it’ll be a very significant fraction of people that don’t (and almost no one will customise the next 240 colours). Remember things like that there’s a fairly high chance that blue is almost invisible against black, and even bright blue’s contrast is commonly much too low—to say nothing of the limited palette range.

    But what this program is doing is using termenv’s HasDarkBackground function to decide whether the terminal is light or dark, and is then specifying RGB colours. I’d guess that it’ll try to guess whether to use 16 colours, 256 colours or 24-bit colour, but I don’t know. But the way it figures out the terminal’s background colour… ugh. Some terminals will support it, but for many it’ll fail and just assume black. Looks like on unix you could set an environment variable COLORFGBG to override this, https://github.com/muesli/termenv/blob/6bb55115565c27f4cc681..., but if you’re on Windows, tough luck, apparently you’re not allowed to have run `color f0` (Command Prompt) or similar: https://github.com/muesli/termenv/blob/537e36cb0472a69a3c828....

    The simple fact of the matter is that there are no particularly good solutions for handling colour in terminals if you want the colours to cohere and map to real-world colour understanding, which is what something like this would prefer to be able to do.

What are some alternatives?

When comparing asciigraph and termenv you can also consider the following projects:

go-chart - go chart is a basic charting library in go.

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.

gocui - Minimalist Go package aimed at creating Console User Interfaces.

tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.

termui - Golang terminal dashboard

termbox-go - Pure Go termbox implementation

uilive - uilive is a go library for updating terminal output in realtime

termdash - Terminal based dashboard.

Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets — written in Golang

go-isatty

go-colortext - Change the color of console text.

mpb - multi progress bar for Go cli applications