{"id":18085011,"url":"https://github.com/jwodder/nhmoon","last_synced_at":"2025-10-27T01:31:42.895Z","repository":{"id":207924260,"uuid":"720433013","full_name":"jwodder/nhmoon","owner":"jwodder","description":"Scrollable terminal calendar highlighting NetHack's new \u0026 full moons","archived":false,"fork":false,"pushed_at":"2025-02-03T22:46:46.000Z","size":164,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T23:28:47.361Z","etag":null,"topics":["calendar","moon","moon-phase","nethack","ratatui","rust","terminal","tui"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwodder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-18T13:25:25.000Z","updated_at":"2025-02-03T22:46:48.000Z","dependencies_parsed_at":"2024-01-21T14:29:24.414Z","dependency_job_id":"d4d29bdc-a82d-47c7-a2c6-9a5097e3c4de","html_url":"https://github.com/jwodder/nhmoon","commit_stats":null,"previous_names":["jwodder/nhmoon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnhmoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnhmoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnhmoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2Fnhmoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwodder","download_url":"https://codeload.github.com/jwodder/nhmoon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238422511,"owners_count":19469549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calendar","moon","moon-phase","nethack","ratatui","rust","terminal","tui"],"created_at":"2024-10-31T15:09:03.237Z","updated_at":"2025-10-27T01:31:42.889Z","avatar_url":"https://github.com/jwodder.png","language":"Rust","readme":"[![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.](https://www.repostatus.org/badges/latest/concept.svg)](https://www.repostatus.org/#concept)\n[![CI Status](https://github.com/jwodder/nhmoon/actions/workflows/test.yml/badge.svg)](https://github.com/jwodder/nhmoon/actions/workflows/test.yml)\n[![codecov.io](https://codecov.io/gh/jwodder/nhmoon/branch/master/graph/badge.svg)](https://codecov.io/gh/jwodder/nhmoon)\n[![Minimum Supported Rust Version](https://img.shields.io/badge/MSRV-1.80-orange)](https://www.rust-lang.org)\n[![MIT License](https://img.shields.io/github/license/jwodder/nhmoon.svg)](https://opensource.org/licenses/MIT)\n\n`nhmoon` is a [Rust](https://www.rust-lang.org) program for viewing \u0026 scrolling\nthrough a slice of the calendar in your terminal.  Days with [new or full\nmoons][moon] in [NetHack][] are highlighted, though the code can easily be\nadjusted to use different highlighting criteria instead.\n\n[moon]: https://nethackwiki.com/wiki/Time#Moon_phase_and_date\n[NetHack]: https://www.nethack.org\n\nScreenshot of the program on startup on 2025 February 4:\n\n![Screenshot of the program](screenshot.png)\n\nInstallation\n============\n\nIn order to install `nhmoon`, you first need to have [Rust and Cargo\ninstalled](https://www.rust-lang.org/tools/install).  You can then build the\nlatest version of `nhmoon` and install it in `~/.cargo/bin` by running:\n\n    cargo install --git https://github.com/jwodder/nhmoon\n\nUsage\n=====\n\n    nhmoon [\u003cdate\u003e]\n\nOpens a view of a proleptic Gregorian calendar centered on the given date, or\ncentered on the current date if no date is given.  Dates are given in the form\n`YYYY-MM-DD` using [astronomical year numbering][years].  Only dates from\n10,000 BC (-9999 in astronomical year numbering) through 9,999 AD are\nsupported.\n\n[years]: https://en.wikipedia.org/wiki/Astronomical_year_numbering\n\nThe calendar highlights dates of NetHack full moons in bold yellow and new\nmoons in bright blue.\n\nKey Bindings\n------------\n\n| Key                                | Command                 |\n| ---------------------------------- | ----------------------- |\n| \u003ckbd\u003ek\u003c/kbd\u003e, \u003ckbd\u003eUp\u003c/kbd\u003e        | Scroll up one week      |\n| \u003ckbd\u003ej\u003c/kbd\u003e, \u003ckbd\u003eDown\u003c/kbd\u003e      | Scroll down one week    |\n| \u003ckbd\u003ew\u003c/kbd\u003e, \u003ckbd\u003ePage Up\u003c/kbd\u003e   | Scroll up one page      |\n| \u003ckbd\u003ez\u003c/kbd\u003e, \u003ckbd\u003ePage Down\u003c/kbd\u003e | Scroll down one page    |\n| \u003ckbd\u003e0\u003c/kbd\u003e, \u003ckbd\u003eHome\u003c/kbd\u003e      | Jump to today           |\n| \u003ckbd\u003eg\u003c/kbd\u003e                       | Input a date to jump to |\n| \u003ckbd\u003e?\u003c/kbd\u003e                       | Show help               |\n| \u003ckbd\u003eq\u003c/kbd\u003e, \u003ckbd\u003eEscape\u003c/kbd\u003e    | Quit                    |\n\nPressing \u003ckbd\u003eg\u003c/kbd\u003e brings up an input prompt for entering a date in the form\n`YYYY-MM-DD`.  (Enter digits only; the hyphens are filled in for you.)\nPressing \u003ckbd\u003e-\u003c/kbd\u003e or \u003ckbd\u003e+\u003c/kbd\u003e at the beginning of the prompt changes\nthe sign of the year.  Pressing \u003ckbd\u003eg\u003c/kbd\u003e, \u003ckbd\u003eq\u003c/kbd\u003e, or\n\u003ckbd\u003eEscape\u003c/kbd\u003e at any point while editing dismisses the prompt.  After\nentering eight digits, press \u003ckbd\u003eEnter\u003c/kbd\u003e to jump to the given date.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fnhmoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwodder%2Fnhmoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fnhmoon/lists"}