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

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

Описание и применение

Добавьте графики в терминал Dev.to с помощью devpub v0.2.1: один командой выводятся цветные столбцы, спарклайны и многопериодный анализ, без браузера.

Задача

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