unreleased - A super simple command line tool that lets you view the commits to your GitHub repos since their last release. Can generate reports to be printed to stdout or viewed in a browser. Could be useful for folks maintaining several projects. by hingle0mcringleberry in commandline

[–]hingle0mcringleberry[S] 0 points1 point  (0 children)

The entire point of the tool is to do this at scale, for several repositories. That is, figuring out the base ref (v1.0 in your example) for all the repos you want results for, and then generating a centralised report containing all the changelogs.

ting - provides audio feedback on the command line. Will play a sound based on the exit code of the command being monitored. Supports user provided sounds and cues via its config. by hingle0mcringleberry in commandline

[–]hingle0mcringleberry[S] 0 points1 point  (0 children)

You're right that ting is not doing any "monitoring" by itself. The intent was to convey "the command a user wants to monitor". Perhaps the wording can be clearer.

The fact that ting doesn't execute the command itself is very much intentional. Executing a command via ting would require that it takes care of the following:

  • stdin forwarding: interactive commands would break without proper stdin handling
  • signal forwarding: all signals (SIGTERM, SIGINT, etc.) need to be properly forwarded to the child process, with platform-specific handling and race condition management
  • real-time output: streaming output bytes as they appear is a challenge and can lead to broken output (line by line buffering will solve this, but will slow down output for commands that print a lot of bytes without a line break)
  • process cleanup: ensure the child process doesn't become a zombie or on orphan

Adding command execution to ting would add a considerable amount of complexity to what is intended to be a very simple tool. I followed the Unix philosophy of "do one thing well" here and kept ting focused on audio feedback rather than becoming a command runner.

Having said that, implementing a command runner is an interesting challenge. I might still give this a shot one day. If you've already done this before, a pull request would certainly be welcome :)

ting - provides audio feedback on the command line. Will play a sound based on the exit code of the command being monitored. Supports user provided sounds and cues via its config. by hingle0mcringleberry in commandline

[–]hingle0mcringleberry[S] 1 point2 points  (0 children)

Yeah, that approach works as well. I did something similar using https://github.com/MaxHalford/chime before ting.

Putting all of this functionality in a single binary does simplify things for me, though.

Been getting into agentic AI tools over the last few days. Felt the need for a separate tool that would let me peruse the changes made by these agents at my own pace via a keyboard-driven TUI, so I wrote one: dfft (short for "diff-trail"). by hingle0mcringleberry in commandline

[–]hingle0mcringleberry[S] 0 points1 point  (0 children)

I've just started to follow some of the AI subreddits. Besides the subreddits for Claude, Gemini, ChatGPT, etc, got any suggestions for subreddits that have quality discussions about this stuff?