Image 1 — Grimoire: A Frieren and Witch Hat Atelier inspired task runner with interactive prompts
Image 2 — Grimoire: A Frieren and Witch Hat Atelier inspired task runner with interactive prompts
▲ 3 r/coolgithubprojects+2 crossposts

Grimoire: A Frieren and Witch Hat Atelier inspired task runner with interactive prompts

I built Grimoire (grim on crates.io), a cross-platform task runner inspired by Frieren and Witch Hat Atelier.

Also the tooling is inspired by just and make.

You define tasks (called Sigils) in a Grimoire.toml file and run them from the terminal. Grimoire lets you define multiple options for tasks that share the same structure but use different values, so instead of writing several nearly identical Sigils, you can define one and let the interactive TUI handle the selection.

It supports task dependencies, prevents dependency loops, and can run scripts written in Python, JavaScript, C/C++, and more.

If you like tools such as just or make but want built-in interactive prompts and multi-language support, I'd love to hear your thoughts.

GitHub: https://github.com/Vaishnav-Sabari-Girish/grimoire Install: cargo install grim

u/ImaginaryElephant336 — 5 days ago
▲ 101 r/niri+3 crossposts

Calendar TUI written completely in bash

Well I always wanted a widget where I can view my Google Calendar Events (Just viewing for now). And I wanted it to be in bash (Do not ask why, I just wanted it to be in bash).

Presenting gcal-tui, a bash script that uses your google calendar and also allows you to view event details from the terminal itself.

I modified it to be a widget to my niri setup

This is the gist : https://gist.github.com/Vaishnav-Sabari-Girish/c182a0d54fe7c5fc3b5507ecc62dd301

My dotfiles containing the keybinding and the script

https://github.com/Vaishnav-Sabari-Girish/dotfiles/blob/7785f4b1f01a119ef307966bfed6a6728c951ccc/niri/.config/niri/config.kdl#L387

https://github.com/Vaishnav-Sabari-Girish/dotfiles/blob/7785f4b1f01a119ef307966bfed6a6728c951ccc/niri/.config/niri/config.kdl#L498

https://github.com/Vaishnav-Sabari-Girish/dotfiles/blob/main/niri/.config/niri/scripts/gcal-tui.sh

u/ImaginaryElephant336 — 15 days ago

ComChan: Terminal-based serial monitor with plotter TUI , BLE log viewer and more

ComChan is a terminal-based serial monitor written in Rust.

Features:

  1. Basic Serial Monitor
  2. Serial Plotter (TUI)(ratatui)
  3. 3D telemetry viewer (Braille for non-ratty terminals and 3D objects for ratty terminal)
  4. CSV logging
  5. Export plot to SVG
  6. Log serial data
  7. Session Replay (from log and csv files)
  8. Simulate mode (No hardware required)
  9. Switch between monitor and plotter modes and vice-versa

and more;

Repository: https://github.com/Vaishnav-Sabari-Girish/ComChan

Blog Post: https://blog.vaishnavs.is-a.dev/comchan/

ComChan v0.11.0 is now live

This release brings you the following feature:

BLE logs viewing

Users can now use the --ble flag to connect to a BLE device (like a nRF52840 dongle) to view it's logs directly in your terminal.

https://github.com/Vaishnav-Sabari-Girish/ComChan/releases/tag/v0.11.0

Try it now

cargo install --features ble

# OR 

cargo binstall comchan

# OR
yay -S comchan-bin

paru -S comchan-bin
u/ImaginaryElephant336 — 21 days ago

ComChan: Terminal-based serial monitor with plotter TUI and more

ComChan is a terminal-based serial monitor written in Rust.

Features:

  1. Basic Serial Monitor
  2. Serial Plotter (TUI)(ratatui)
  3. 3D telemetry viewer (Braille for non-ratty terminals and 3D objects for ratty terminal)
  4. CSV logging
  5. Export plot to SVG
  6. Log serial data
  7. Session Replay (from log and csv files)
  8. Simulate mode (No hardware required)
  9. Switch between monitor and plotter modes and vice-versa

and more;

Repository: https://github.com/Vaishnav-Sabari-Girish/ComChan

Blog Post: https://blog.vaishnavs.is-a.dev/comchan/

u/ImaginaryElephant336 — 23 days ago
▲ 28 r/stm32+6 crossposts

[Bash/Zsh]: Add, commit and push to all remotes in one line

Ever felt tired of typing the same commands :

git add .
git commit -m <MEssage>
git push origin main

This becomes even more tedious when there are multiple remotes.

My script makes it easy. It uses fzf to choose the commit type (feat(), fix() etc) and opens your $EDITOR to make you write the commit. It also allows you to write long commit messages and adheres to the conventional commits specs. It also signs off your commit (Can be modified to your liking).

Here is the script

https://github.com/Vaishnav-Sabari-Girish/dotfiles/blob/35f55a46ffd8f31dd6299df149178353d769f367/zsh/.zsh_functions#L51

u/ImaginaryElephant336 — 17 days ago
▲ 66 r/niri+1 crossposts

Nordic Niri Rice (DMS) (No rofi)

Not much of a rice except changing the theme and adding extra functionality via scripts, but ya I have used Dank Material Shell and this setup works for me.

You can check out my dotfiles here (Also contains the wallpapers I used)

u/ImaginaryElephant336 — 24 days ago
▲ 80 r/stm32+2 crossposts

ComChan: Terminal-based serial monitor with plotter TUI

ComChan

ComChan: A Serial Monitor Built for Embedded Development

I got tired of jumping between multiple tools just to debug embedded systems, so I built ComChan, an open-source serial monitor focused on embedded and firmware workflows.

Unlike Arduino IDE's Serial Monitor, ComChan isn't limited to basic UART text output.

Features

  • Serial read/write terminal
  • RTT support over SWD (J-Link, CMSIS-DAP, DAPLink, etc.)
  • Defmt decoding with colored output
  • Automatic reconnect and recovery when boards reset or are unplugged
  • Real-time serial plotter in the terminal
  • 3D IMU visualization (Pitch, Yaw, Roll)
  • Hardware-accelerated 3D rendering in Ratty terminal
  • CPU-rendered wireframe fallback for standard terminals
  • Session replay from recorded logs
  • Continuous CSV logging
  • Hex dump inspection (--hex, --hex-pretty)
  • Export plots to SVG
  • Hardware simulation mode (--simulate)
  • Zephyr shell integration
  • Shell completions (Bash, Zsh, Fish, Nushell, PowerShell, Elvish)
  • Automatic serial port detection
  • TOML configuration files
  • Timestamped logging

Comparison with Arduino IDE Serial Monitor

Feature Arduino Serial Monitor ComChan
Basic Serial Monitor
Serial Plotter Separate Tool Integrated
RTT Support
Defmt Decoding
CSV Logging
Session Replay
Hex Dump View
SVG Export
Zephyr Shell Support
Auto Recovery
3D IMU Visualization
Hardware Simulation
Config Files

Example

# Standard serial
comchan --port /dev/ttyACM0

# Auto-detect port
comchan --auto

# RTT + defmt
comchan --rtt --elf firmware.elf --chip nRF52840_xxAA

# Plot sensor data
comchan --plot

# Simulate hardware
comchan --simulate

GitHub: https://github.com/Vaishnav-Sabari-Girish/ComChan

Feedback, bug reports, feature requests, and criticism are welcome.

u/ImaginaryElephant336 — 24 days ago