Skip to content
/ nhmoon Public

Scrollable terminal calendar highlighting NetHack's new & full moons

License

Notifications You must be signed in to change notification settings

jwodder/nhmoon

Repository files navigation

Project Status: Concept – Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept. CI Status Minimum Supported Rust Version MIT License

nhmoon is a Rust program for viewing & scrolling through a slice of the calendar in your terminal. Days with new or full moons in NetHack are highlighted, though the code can easily be adjusted to use different highlighting criteria instead.

Screenshot of the program on startup on 2023 November 18:

Screenshot of the program

Usage

nhmoon [<date>]

Opens a view of a proleptic Gregorian calendar centered on the given date, or centered on the current date if no date is given. Dates are given in the form YYYY-MM-DD using astronomical year numbering. Only dates from 10,000 BC (-9999 in astronomical year numbering) through 9,999 AD are supported.

Key Bindings

Key Command
j, Up Scroll up one week
k, Down Scroll down one week
w, Page Up Scroll up one page
z, Page Down Scroll down one page
0, Home Jump to today
? Show help
q, Escape Quit

About

Scrollable terminal calendar highlighting NetHack's new & full moons

Topics

Resources

License

Stars

Watchers

Forks

Languages