Skip to content

Adding muezzin-cli.js for Command line, useful for automated (scripte…#67

Open
hammadrauf wants to merge 1 commit intoDBChoco:masterfrom
hammadrauf:feature/muezzin-cli
Open

Adding muezzin-cli.js for Command line, useful for automated (scripte…#67
hammadrauf wants to merge 1 commit intoDBChoco:masterfrom
hammadrauf:feature/muezzin-cli

Conversation

@hammadrauf
Copy link

@hammadrauf hammadrauf commented Jan 28, 2026

Adding muezzin-cli.js for Command line, useful for automated (scripted) systems. Please consider integrating, feel free to edit/change.

I felt the need for it, since I run Muezzin in a minimal Debian13 Gnome Desktop, on Proxmox ve9 virtualization host. My VM has 2 cpu cores, 1GB RAM, 20 GB disk, and host pass through Sound card. I rarely log in the GUI console.

Reference link: https://github.com/build-boxes/proxmox-kvm-debian13-desktop/blob/main/tf-proxmox-kvm-debian13/app_muezzin_main.tf

Muezzin CLI Helper

A full-featured command-line interface for Muezzin.

Features:

  • --json Output prayer times in JSON
  • --tomorrow Show tomorrow's prayer times
  • --week Show a 7-day timetable
  • --next Show the next upcoming prayer
  • --notify Send a desktop notification
  • --adhan Play adhan audio (requires player)
  • --config PATH Use a custom config file

Default config path (Flatpak):

  • ~/.var/app/io.github.dbchoco.muezzin/config/muezzin/config.json

Usage:

  muezzin-cli [options]

Options:

  --help, -h        Show this help message
  --json            Output prayer times in JSON format
  --tomorrow        Show tomorrow's prayer times
  --week            Show a 7-day timetable
  --next            Show the next upcoming prayer
  --notify          Send a desktop notification
  --adhan           Play adhan audio (requires audio player)
  --config <path>   Use a custom config file instead of the default

Examples

  muezzin-cli
  muezzin-cli --json
  muezzin-cli --tomorrow
  muezzin-cli --week
  muezzin-cli --next
  muezzin-cli --config ~/.config/muezzin/config.json

@hammadrauf hammadrauf closed this Jan 28, 2026
@hammadrauf hammadrauf reopened this Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant