Skip to content

mgnolde/tui-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tui-scheduler

(Very) minimalistic TUI task scheduler

The application reads a series of user-defined tasks from a JSON file, filters them by date and shows the relevant entries in a command line interface. The Rust tui-rs library is used for the text interface. The initial development was based on the rust-tui tutorial found here: rust-and-tui-building-a-command-line-interface-in-rust. The color scheme was inspired by the Spotify TUI. The up and down keys are used for navigation, q is for exiting.

Interface

The application expects a JSON file named tasks.json file in the users $HOME directory. Its structure needs to be as follows:

[
	{
		"name": "Task 1",
		"category": "tasks",
		"description": "Lorem ipsum dolor sit amet, consectetur adipisici elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua.",
		"priority": 1,
		"begin": "2021-07-15T11:00:00Z",
		"end": "2021-07-29T11:00:00Z"
	},
	{
		"name": "Task 2",
		"category": "tasks",
		"description": "",
		"priority": 2,
		"begin": "2016-01-01T11:00:00Z",
		"end": "2018-01-01T11:00:00Z"
	},
	{
		"name": "Task 3",
		"category": "tasks",
		"description": "",
		"priority": 2,
		"begin": "2021-07-30T11:00:00Z",
		"end": "2022-01-01T11:00:00Z"
	}
]

About

Task scheduler for the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages