Skip to content
HN On Hacker News ↗

GitHub - skorotkiewicz/earth-game: An offline CLI for turning life goals into quests

▲ 55 points • 12 comments • by modinfo • 4mo ago • HN discussion ↗

Pangram verdict · v3.3

We believe that this document is fully AI-generated

99 %

AI likelihood · overall

AI
0% human-written 100% AI-generated
SEGMENTS · HUMAN 0 of 2
SEGMENTS · AI 2 of 2
WORD COUNT 415
PEAK AI % 99% · §1
Analyzed
Jul 11
backend: pangram/v3.3
Segments scanned
2 windows
avg 208 words each
Distribution
0 / 100%
human / AI fraction
Verdict
AI
Pangram v3.3

Article text · 415 words · 2 segments analyzed

Human AI-generated
§1 AI · 99%

A private, offline companion for choosing quests, taking the next action, closing open loops, and reviewing your direction before drift sets in. Earth Game uses Python's standard library and SQLite. It has no third-party dependencies, accounts, outbound requests, scoring, or AI-generated advice. Requirements

Python 3.8 or newer A Unix-like terminal

Quick start ./earth init ./earth character edit ./earth quest add ./earth quest list ./earth quest start 1 ./earth today Prefer a browser? Start the same app as a local-only web UI: ./earth web It opens a private session URL on http://127.0.0.1:8765/ and uses the same database as the CLI. Stop it with Ctrl-C. It never binds to your LAN or makes external requests. Commands prompt for missing text. Options also support non-interactive use: ./earth quest add \ --title "Reconnect with an old friend" \ --next "Send Sam a message" \ --pillar connection \ --driver purpose

./earth quest start 1 ./earth today Run ./earth --help or ./earth COMMAND --help for the complete interface. See USAGE.md for complete real-world walkthroughs. Commands

earth init creates local storage without overwriting an existing database. earth character show|edit manages values, strengths, frictions, purpose, and anti-vision. earth quest add|list|start|done|drop manages quests. Only one quest can be current. earth loop add|list|close captures and closes unresolved tasks or concerns. earth today shows the current quest, next action, open-loop count, and review status. earth review records five short reflections. Pass --update-quest to use the --next answer as the current quest's next action. earth export [PATH] exports all data as readable JSON. Existing files are never overwritten. earth web starts the local browser UI. Use --no-open or choose a port with --port PORT.

§2 AI · 98%

Typical loop ./earth loop add --text "Book the dentist" ./earth today ./earth quest done 1 ./earth review ./earth export earth-export.json Data and privacy The default database is: ${XDG_DATA_HOME:-$HOME/.local/share}/earth-game/earth.db

Set EARTH_GAME_DB to use another path: EARTH_GAME_DB=/path/to/earth.db ./earth init The database and JSON exports are created with private permissions on Unix. Earth Game makes no external network requests; the web command listens only on the local loopback address and requires the private session URL printed at startup. To back up or restore, copy the SQLite database while no Earth Game command is running. ./earth --help prints the exact active data path. Tests python3 -m unittest -v python3 -m py_compile earth earth_core.py earth_web.py Structure

earth contains CLI parsing and terminal interaction. earth_core.py contains SQLite and shared domain operations. earth_web.py contains the local HTTP server and HTML interface.

See ROADMAP.md for the product decisions and future-change rules.