Urgent.News

What's breaking now, across thousands of outlets.

Tech

A One-Command Pre-Flight Checklist for Developers: astro-tasks

Before starting work I used to open three tabs: GitHub notifications, the WakaTime dashboard, and a git status sweep across local repos. I built astro-tasks to put that in one terminal command. pip install astro-tasks astro check That's GitHub notifications + open PRs (via the gh CLI), coding stats for the last 7 days (total, daily average, top projects, languages via WakaTime), and a local repo…

Before beginning work, I used to open three tabs: GitHub notifications, the WakaTime dashboard, and a git status check across local repositories. To streamline this process, I developed a tool called astro-tasks, which consolidates these functions into a single terminal command. By installing astro-tasks with "pip install astro-tasks", developers can then execute "astro check" to receive a comprehensive overview of their GitHub notifications and open pull requests, coding statistics for the past week (including total hours, daily average, top projects, and languages), and a local repository health scan (branch, dirty state, and unpushed commits).

The tool also offers specific subcommands like "astro scan" for repositories only, "astro log" for coding stats, and "astro config" for configuration customization. For more detailed data, "astro check --json" emits the information in machine-readable JSON format, allowing for integration with other tools. However, there are some prerequisites to consider: astro-tasks relies on the GitHub CLI (gh), so users need to authenticate with "gh auth login".

Additionally, coding statistics require a WakaTime configuration file at "~/.wakatime.cfg". Astro-tasks is written in Python 3.8 or later, released under the MIT license, and can be found in its GitHub repository at https://github.com/3ni8ma/astro-tasks. The developers are open to feedback, particularly regarding the JSON schema and support for multi-machine WakaTime setups.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

🚀 Introducing WebCraft7767 — Building Useful Websites, One Project at a Time

Hey everyone! 👋 I'm starting something I've been wanting to build for a while: WebCraft7767 . It's a GitHub-based project showcase where I’ll be building and sharing free, practical websites and web…

  • WebCraft7767 is a GitHub project showcasing practical web development
  • FixFinder app helps locate repair technicians and services
  • Focus on learning through real projects and experimentation

Native Federation - Deep Dive - Part 1/8 - The Mental Model, Why Native Federation Exists and What Changed in v4

Part 1 of an 8-part series on Native Federation - A deep dive. 🤖 A note on this article: I used Claude to help reformat and structure the content to make it clearer and more presentable for…

  • Native Federation rebuilds Module Federation model using web standards
  • ECMA Script Modules and Import Maps replace webpack runtime contract
  • v4 of Native Federation is framework and bundler-agnostic

More from Saturday 19 September →