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

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

说明与用途

使用 devpub v0.2.1 在终端中添加 Dev.to 图表:一条命令即可在终端渲染彩色柱状图、火柴图和多周期分析,无需浏览器。

问题

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

结果

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.

工作流

  • 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).

证据

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.

来源

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.

来源

  • 记录日期: 2026-09-18T18:45:34.434Z