Show HN: Earth Game – An offline CLI for turning life goals into quests

modinfo2 pts0 comments

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

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

skorotkiewicz

earth-game

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>8 Commits<br>8 Commits

assets

assets

.gitignore

.gitignore

README.md

README.md

ROADMAP.md

ROADMAP.md

USAGE.md

USAGE.md

earth

earth

test_earth.py

test_earth.py

View all files

Repository files navigation

Earth Game

A private, offline command-line companion for choosing quests, taking the next<br>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<br>dependencies, accounts, network access, scoring, or AI-generated advice.

Requirements

Python 3.8 or newer

A Unix-like terminal

Quick start

./earth init<br>./earth character edit<br>./earth quest add<br>./earth quest list<br>./earth quest start 1<br>./earth today

Commands prompt for missing text. Options also support non-interactive use:

./earth quest add \<br>--title "Reconnect with an old friend" \<br>--next "Send Sam a message" \<br>--pillar connection \<br>--driver purpose

./earth quest start 1<br>./earth today

Run ./earth --help or ./earth COMMAND --help for the complete interface.<br>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,<br>and anti-vision.

earth quest add|list|start|done|drop manages quests. Only one quest can be<br>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<br>review status.

earth review records five short reflections. Pass --update-quest to use<br>the --next answer as the current quest's next action.

earth export [PATH] exports all data as readable JSON. Existing files are<br>never overwritten.

Typical loop

./earth loop add --text "Book the dentist"<br>./earth today<br>./earth quest done 1<br>./earth review<br>./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.<br>Earth Game makes no network requests.

To back up or restore, copy the SQLite database while no Earth Game command is<br>running. ./earth --help prints the exact active data path.

Tests

python3 -m unittest -v<br>python3 -m py_compile earth

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

About

An offline CLI for turning life goals into quests

Topics

python

cli

productivity

offline-first

sqlite

personal-development

command-line-tool

goal-tracking

quest-tracker

self-reflection

local-first

life-planning

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Contributors

Uh oh!

There was an error while loading. Please reload this page.

You can’t perform that action at this time.

earth quest game offline quests search

Related Articles