Consolidating Developer Dashboards

Developers often juggle multiple tools to stay on top of their work. Checking GitHub notifications, tracking coding time with WakaTime, and scanning local repository health with git status are common pre-work rituals. The newly released astro-tasks CLI tool aims to streamline this by consolidating these essential checks into a single terminal command.

Built by developer 3ni8ma, astro-tasks provides a unified view of a developer's immediate work environment. The core command, astro check, performs three primary functions:

  • GitHub Notifications and PRs: It leverages the gh CLI to fetch open pull requests and other relevant GitHub notifications. This gives developers a quick overview of pending code reviews or issues that require their attention on the platform.
  • WakaTime Coding Statistics: The tool integrates with WakaTime to display coding statistics for the last seven days. This includes total coding time, daily averages, and a breakdown of top projects and languages worked on.
  • Local Repository Health: It performs a scan of local Git repositories to check for branch status, dirty working directories (unsaved changes), and unpushed commits. This ensures developers are aware of their local Git state before starting new tasks or committing changes.

The goal is to reduce context switching and provide immediate actionable insights without needing to open multiple browser tabs or run several separate commands. This consolidated view is designed to help developers start their day with a clear understanding of their responsibilities and project status.

Terminal output showing astro check command results for GitHub, WakaTime, and Git status.

Customization and Extensibility

While the main astro check command offers a comprehensive overview, astro-tasks also provides specific subcommands for users who prefer granular control or need to focus on particular aspects of their workflow:

  • astro scan: This subcommand focuses exclusively on the local repository health scan, providing details on branches, dirty states, and unpushed commits. It’s useful for developers who only need a Git status update.
  • astro log: This command retrieves and displays the WakaTime coding statistics, allowing developers to monitor their coding habits and productivity metrics without the other checks.
  • astro config: This subcommand is dedicated to managing the tool's configuration. Users can use it to set up API keys for GitHub and WakaTime, define repository paths, and customize other settings to tailor the tool to their specific environment.

A particularly useful feature for automation and integration is the astro check --json option. This flag outputs the same information as the standard astro check command but in a machine-readable JSON format. Developers can pipe this JSON output into other scripts or tools, enabling them to build custom dashboards, automate reporting, or integrate these metrics into their CI/CD pipelines or internal developer platforms.

The tool is installed via pip, making it accessible to any Python development environment. The initial setup involves configuring API credentials for GitHub (if using the gh CLI) and WakaTime. The project is open-source and hosted on GitHub, encouraging community contributions and improvements.

The Developer Experience Advantage

The motivation behind astro-tasks stems from a common pain point in developer workflows: the friction caused by fragmented tooling. In a world where developers are expected to be highly productive, any reduction in cognitive load and time spent on administrative tasks can have a significant impact. By aggregating information that is often scattered across different services and interfaces, astro-tasks aims to provide a more focused and efficient starting point for the workday.

Consider the typical developer's morning: logging into GitHub, checking notifications, opening a terminal to see if local work is clean, and perhaps glancing at a WakaTime dashboard to gauge recent activity. Each of these actions requires a separate navigation or command. Astro tasks collapses this sequence into a single command execution. This is akin to having a personal assistant who, before you even ask, has already laid out your day's critical updates on a single notepad.

The JSON output capability further extends its utility. Developers can now programmatically access their productivity metrics and code status. This opens doors for sophisticated internal tooling. Imagine a company-wide dashboard that aggregates astro check --json data from all developers to provide insights into team velocity, potential blockers (e.g., many developers with dirty Git states), or overall coding engagement across different projects and languages. This is not just about personal productivity; it’s about creating a more transparent and data-driven development environment.

Caveats mentioned in the source material suggest that the tool is still under active development. Users are encouraged to check the GitHub repository for the latest features, bug fixes, and contribution guidelines. As with any tool that accesses sensitive information like GitHub notifications or API keys, users should review its security practices and ensure they are comfortable with its data handling.

Future Directions and Community

While astro-tasks currently focuses on GitHub, WakaTime, and local Git, the potential for expansion is significant. Future iterations could integrate with other popular developer tools and services. This might include project management platforms like Jira or Asana, code hosting services beyond GitHub (like GitLab or Bitbucket), or even communication tools to flag urgent messages. The modular design, especially with the JSON output, makes it a strong candidate for becoming a foundational piece of a personalized developer dashboard.

The open-source nature of the project means its future development is also in the hands of the community. Developers who find value in astro-tasks can contribute by reporting bugs, suggesting new features, or submitting pull requests. This collaborative approach is common in the developer tooling space and often leads to robust and widely adopted solutions.

For developers looking to reduce friction in their daily workflow and gain a more consolidated view of their work status, astro-tasks presents a compelling solution. Its ability to consolidate key productivity metrics into a single command makes it a valuable addition to any developer's toolkit.