I Added Terminal Charts to My Dev.to CLI. Here’s What My Data Looks Like.
Description and use
Added terminal charts to devpub CLI v0.2.1: color‑gradient bars, sparklines, trend arrows, and multi‑period breakdowns, all rendered in the terminal without extra dependencies.
Problem
Developers want quick, visual insights into their Dev.to analytics without leaving the terminal, but the browser dashboard is slow and interrupts workflow.
Outcome
The new graph feature delivers instant, color‑coded visual analytics in the terminal, enabling developers to monitor traffic trends, recoveries, and averages without leaving their workflow.
Workflow
- Install devpub v0.2.1 via pip
- Set DEVPUB_API_KEY environment variable
- Run
devpub stats --graphto view the default 30‑day chart - Use
-pflag to change period (e.g.,-p 7d,-p 90d) - Interpret color‑gradient bars, average line, trend arrow, and period sparklines directly in the terminal
Evidence
Zero new dependencies. Works in 0.3 seconds.
Color gradient bars fade blue (low) → cyan → green → gold (peak).
- Record date: 2026-09-12T03:01:40.286Z