CLI

The gitstrology command-line tool lets you generate charts and readings from your terminal with no code.

Install

npm install -g gitstrology
# or run one-off with npx
npx gitstrology --help

Authentication

export GITSTROLOGY_API_KEY="gs_live_..."

Commands

CommandDescription
chartGenerate a natal chart.
horoscopeDaily horoscope for a sign.
compatCompatibility between two people.

Examples

# Natal chart
npx gitstrology chart --birth 1990-03-15 --time 14:30 --lat 44.8 --lon 20.4

# Daily horoscope
npx gitstrology horoscope --sign aries

# Compatibility
npx gitstrology compat \
  --person1 "1990-03-15,14:30,44.8,20.4" \
  --person2 "1988-07-22,09:00,40.7,-74.0"

Global flags

FlagDescription
--jsonOutput raw JSON instead of formatted text.
--api-key <key>Override GITSTROLOGY_API_KEY.

See the SDK docs for programmatic usage, or the quickstart for an overview.