Urgent.News

What's breaking now, across thousands of outlets.

Tech

Midway: go make coffee while your build runs, and get pinged when it's done

I kept doing the same thing: start a long build, switch to something else, then either check the terminal every minute or forget about it for half an hour. The same thing happened with AI coding agents, which spend a lot of time working or waiting for approval while I'm in another window. So I built Midway , an open-source CLI written in Rust. Start your command, go make a coffee, and Midway…

Midway is a new open-source command line interface tool written in Rust. It allows you to start long-running commands and then go do something else, like make coffee. Midway will keep you updated on the progress of your command without interrupting your workflow. The tool sends periodic notifications, such as "still running," every 15 seconds by default. Once the command is finished, you receive a completion notification, provided the command ran for at least 10 seconds to avoid spamming you with frequent notifications.

Midway offers various notification options, including local desktop notifications, email, Slack, Ntfy, Discord, Telegram, and more. This means notifications can reach you even when you're away from your desk. The tool provides comprehensive documentation on setting up notifications for each service, which you can find in the notification docs.

The most useful feature for many users is its integration with AI coding agents. These agents often have lifecycle hooks that can be configured to run commands when the agent finishes or needs approval. By pointing these hooks at the `midway send-text` command, you can completely detach the notification process. This means you can walk away from your terminal and still receive updates on your AI coding agent's progress.

To set up Midway, you simply install it using cargo, run `midway init` to create a configuration file, and then try it out with `midway run cargo build`. For AI coding agents, you can attach notification hooks to the `midway send-text` command. This approach allows notifications to continue even if the agent process is interrupted. However, be aware that detached processes are not invincible and can still be affected by system shutdowns, explicit kills, or teardowns of ephemeral environments.

Midway supports various AI coding agent hook formats, but these may change between agent versions. If a provided snippet doesn't work, make sure to check the agent's current hook documentation and open an issue if necessary. The tool is constantly evolving, with plans to include chained command support (e.g., `a && b`), notification of log lines, support for additional services like Microsoft Teams, Google Chat, Mattermost, Rocket.Chat, Zulip, Matrix, and generic webhooks, and more.

To contribute to the development of Midway, you can try it out, provide feedback on missing features, or even add support for a service you use frequently. You can find the code repository at https://github.com/hazyio/midway and the documentation at https://midway.hazyio.com/. If you have ideas for improvements or want to share a workflow that doesn't fit the current notification timing, consider opening an issue or reaching out to the developers.

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

Ultracode, the feature you don't know you need

Claude Code has a keyword that turns one prompt into a team. Type ultracode and Claude writes a small program that sends many agents out in parallel to read and cross-check your material, then brings…

  • Ultracode enables Claude Code to turn one prompt into a team
  • Parallel processing and cross-checking of material
  • Reduces need for manual intervention in complex tasks

Tripo GLB Export Review 2026: 63.61 MB for One Knitted Tray

This is an independent test. Nothing here came from vendor access: both tools were used on my own free and paid accounts.

  • Tripo GLB Export Review 2026 compares Tripo and SupaVoxel for knitted tray quality.
  • Tripo's 63.61 MB GLB size includes a 4096 PNG normal map and three stitch languages.
  • SupaVoxel uses a 2048 WebP normal map and smooth fat tubes for cables, flattening ground.

More from Saturday 17 October →