Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I Added Terminal Charts to My Dev.to CLI. Here’s What My Data Looks Like.

Description and use

Add terminal charts to Dev.to analytics with devpub v0.2.1: a single command renders color‑gradient bars, sparklines, and multi‑period breakdowns directly in the terminal, eliminating the browser.

Problem

Developers need quick, visual insights into Dev.to analytics without leaving the terminal, but the browser dashboard is slow and interrupts workflow.

Outcome

The new graph feature provides instant visual feedback on daily views, trends, and averages, enabling faster decision making and eliminating the need for a browser.

Workflow

  • Install devpub v0.2.1 via pip.
  • Set DEVPUB_API_KEY environment variable.
  • Run devpub stats --graph to view the default 30‑day chart.
  • Optionally use -p flag to change period (e.g., -p 7d).

Evidence

pip install devpub==0.2.1 → devpub stats --graph → color-gradient bar charts, sparklines, trend arrows, and multi-period breakdowns for your Dev.to analytics. Zero new dependencies.

Source

The entire chart system uses: Rich (already a dependency) for colored output and console.print; Python stdlib for math, datetime, and string operations; Unicode block characters.

Source

  • Record date: 2026-09-18T18:45:34.434Z