An open API service indexing awesome lists of open source software.

https://github.com/sheepla/ratatodo

Sample TUI Todo App with ratatui
https://github.com/sheepla/ratatodo

Last synced: 12 months ago
JSON representation

Sample TUI Todo App with ratatui

Awesome Lists containing this project

README

          

# ✅️ ratatodo

This is a sample TUI TODO app with an asynchronous, event-driven, designed with a Flux-like architecture built with [ratatui](https://ratatui.rs) and [crossterm](https://docs.rs/crossterm/latest/crossterm/)

![screenshot](./assets/screenshot.png)

## Features

- [x] View todo entries
- [x] Moving cursor
- [x] Delete current todo entry
- [x] Loading / Saving todo data automatically in JSON
- [x] Add and Edit TODO entries with textarea
- [ ] Customizable key bindings in config file
- [x] Non-blocking action execution handling

## Usage

- `k`, `j`, `Up`, `Down`: Move focus
- `i`, `a`: Focus to textarea
- `Enter`: Accept current entry
- `Esc`: Focus to todo list view
- `Space`: Toggle completed/incomplete state
- `r`: Run some heavy task (Reproduces pseudo-heavy tasks. While the task is running, the status bar is updated with `Loading...` is displayed while the task is running)