Skip to content

Terminal UI written in Rust, that helps you track prayer time

License

Notifications You must be signed in to change notification settings

yousfiSaad/ptui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ptui - Prayer Terminal UI (or Progress Terminal UI)

Introduction

ptui is a simple TUI that shows the remaiming time for the next prayer.

Build

cargo build --release

Input data

Data is fed to the executable through a data file containing line separated pairs of timestamps and labels.

Example

./data/prayer_times.txt contains prayer time for casablanca morocco

Usage

DATA_FILE="/path/to/data/file" ./target/release/ptui

The default value of data file is ./data/prayer_times.txt

keyboard shortcuts

  • t : switch between time and remaining time for prayer
  • f : switch between next prayer time and fasting end time (Maghrib)
  • q : quit

Data Generation

You can use generate-prayer-time to generate data according to your location.

Screenshots

Screenshots taken in small and large tmux panes

Small pane remaining time

Small pane prayer time

Large pane prayer time

Large pane remaining time

About

Terminal UI written in Rust, that helps you track prayer time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages