From 4852a58ceb781d55899a43c89dcb52593fa05937 Mon Sep 17 00:00:00 2001 From: Saiyed Shizain Date: Mon, 19 Jan 2026 03:23:50 +0530 Subject: add readme and license and some screenshots --- LICENSE | 21 +++++++++ README.md | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ screenshots/1.png | Bin 0 -> 316858 bytes screenshots/2.png | Bin 0 -> 322004 bytes screenshots/3.png | Bin 0 -> 327997 bytes 5 files changed, 147 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 screenshots/1.png create mode 100644 screenshots/2.png create mode 100644 screenshots/3.png diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7cfdcc2 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 RanXom + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8d4ff54 --- /dev/null +++ b/README.md @@ -0,0 +1,126 @@ +# pomoru + +A minimalist Pomodoro TUI with a task list, written in Rust. + +`pomoru` is a keyboard-driven TUI application for focused work. It combines a Pomodoro timer with a small task manager so you can track what you’re working on without leaving the terminal. + +--- + +## Features + +### Timer + +* Work, short break, and long break sessions +* Customizable durations +* Desktop notifications when sessions end + +### Tasks + +* Add, edit, delete tasks +* Toggle completion +* Task list persists across runs + +### Design + +* Keyboard-only interaction +* Minimalist interface (Catppuccin Mocha Themed) +* Configuration saved locally + +--- + +## Screenshots + +![Timer screen](screenshots/1.png) +![Task screen](screenshots/2.png) +![Input modal](screenshots/3.png) + +--- + +## Keybindings + +### Timer screen + +| Key | Action | +| ------- | --------------------------------- | +| `space` | Start or pause timer | +| `tab` | Change session type (when paused) | +| `e` | Edit current session time | +| `r` | Reset timer | +| `t` | Open task list | +| `q` | Quit | + +### Task screen + +| Key | Action | +| ----------- | -------------------- | +| `i` | Add new task | +| `enter` | Toggle task done | +| `e` | Edit selected task | +| `d` | Delete selected task | +| `j` / `↓` | Move down | +| `k` / `↑` | Move up | +| `t` / `esc` | Back to timer | + +--- + +## Configuration + +`pomoru` saves its state automatically when you quit. + +Config file location: + +```text +~/.config/pomoru/config.toml +``` + +Saved data includes: + +* Work and break durations +* Task list + +Example: + +```toml +work_time_mins = 25 +short_break_mins = 5 +long_break_mins = 15 + +[[tasks]] +title = "Read documentation" +is_done = false +``` + +--- + +## Installation + +### Build from source + +```bash +git clone https://github.com/RanXom/pomoru +cd pomoru +cargo run --release +``` + +To install the binary: + +```bash +cargo install --path . +``` + +--- + +## Built with + +* Rust +* ratatui +* crossterm +* tokio +* notify-rust +* serde + toml + +--- + +## License + +MIT diff --git a/screenshots/1.png b/screenshots/1.png new file mode 100644 index 0000000..349e5e9 Binary files /dev/null and b/screenshots/1.png differ diff --git a/screenshots/2.png b/screenshots/2.png new file mode 100644 index 0000000..5dd02bf Binary files /dev/null and b/screenshots/2.png differ diff --git a/screenshots/3.png b/screenshots/3.png new file mode 100644 index 0000000..8636d50 Binary files /dev/null and b/screenshots/3.png differ -- cgit v1.2.3