My first project in Go is a terminal dashboard (what a programming language)

8 points by vinserello a day ago

9 comments

Just wrapped up my first Go project and wow, what a language. I'm a WebDev but I studied both C and C++: Go feels like the smart, minimalist cousin that cuts the fluff but keeps the power.

- Compilation is instant - Syntax is clean and predictable - The tooling is chef's kiss (go run for example)

To test the waters, I built something fun:

Datacmd that is a CLI tool that turns CSV/JSON/API data into beautiful terminal dashboards with a single command.

No GUI. Just pure terminal magic:

datacmd --generate --source=data.csv Supports pie charts, gauges, tables, live system metrics, and it's built on top of termdash.

I see termdash was missing pie charts, tables and radar chart, so I tried implementing myself.

GitHub: github.com/VincenzoManto/datacmd Feedback and PRs welcome (probably there a lot of bugs), I’d love to grow this into a go-to tool for devs who live in the terminal.

hiAndrewQuinn 20 hours ago

Go is really, really good for TUIs in particular. I've stuck with it for the first release of https://taskusanakirja.com/ , despite it making Finnish language learners feel like they're in the movie Hackers, just because it lets me move the UI layer out of the way enough to focus on the really interesting things.

haute_cuisine 21 hours ago

The whole project is implemented in a single git commit. AI detector says README.md has 95% chance of being AI generated. The code has way to many comments.

I don't want to disqualify you or anything for using AI, but how much effort was spent on this?

  • runjake 18 hours ago

    Not the OP, but I tend to always wipe my previous git history before a public release, and start fresh. Too many embarrassing or stupid mistakes (I'm usually learning some new environment as I go).

    Your point stands, though, and I agree, looks largely AI.

    • moomoo11 13 hours ago

      The post itself reads like AI especially the line about how it is magic.

      I’m personally fine with AI gen code for fast MVP and subsequent iterations.

      The comments in the code are helpful for AI. When human coding I was never for having comments in the code (code should follow standards we had set).

      Anyway the point about single commit is valid. But maybe the OP is newish and maybe ESL.