klio 1.3.8 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -436
- package/package.json +2 -2
- package/src/astrology/astrologyConstants.js +27 -27
- package/src/astrology/astrologyService.js +488 -460
- package/src/astrology/retrogradeService.js +51 -52
- package/src/cli/cli.js +699 -608
- package/src/config/configService.js +180 -180
- package/src/health/fileAnalysis.js +28 -28
- package/src/health/healthAnalysis.js +119 -104
- package/src/health/healthService.js +29 -29
- package/src/utils/fileUtils.js +7 -7
- package/changelog.md +0 -39
package/README.md
CHANGED
|
@@ -1,485 +1,119 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Klio - Astrological CLI Tool
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A command-line tool for astrological calculations, health analysis, and personalized astrology insights.
|
|
4
4
|
|
|
5
|
-
##
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm i -g klio
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
..oder
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npx klio --el
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
### Personenverwaltung
|
|
18
|
-
|
|
19
|
-
Das Tool unterstützt die Verwaltung mehrerer Personen für astrologische Analysen.
|
|
20
|
-
|
|
21
|
-
#### Person erstellen oder aktualisieren
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
klio --person <id> "Ort, Land, DD.MM.JJJJ HH:MM"
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Beispiele:
|
|
28
|
-
```bash
|
|
29
|
-
klio --person p1 "Berlin, Deutschland, 20.01.1990 12:00"
|
|
30
|
-
klio --person p2 "Hamburg, Deutschland, 15.05.1985 18:30"
|
|
31
|
-
klio --person p3 "52.52,13.41, 10.10.1995 14:30" # Direkte Koordinateneingabe
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
#### Person löschen
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
klio --delete-person <id>
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
Beispiel:
|
|
41
|
-
```bash
|
|
42
|
-
klio --delete-person p3
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
#### Alle Personen auflisten
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
klio --people
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
#### Personendaten verwenden
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
klio <befehl> --p<id>
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Beispiele:
|
|
58
|
-
```bash
|
|
59
|
-
klio mond --p1
|
|
60
|
-
klio --kritisch --p2
|
|
61
|
-
klio --transite --p3
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### Konfiguration
|
|
65
|
-
|
|
66
|
-
Das Tool verwendet eine Konfigurationsdatei `astrocli-config.json` um Standort, Geburtsdaten und KI-Modell-Einstellungen zu konfigurieren.
|
|
67
|
-
|
|
68
|
-
#### Interaktives Setup
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
klio --setup
|
|
72
|
-
```
|
|
73
|
-
Mit dem Setup-Assistenten kannst du:
|
|
74
|
-
- Deinen aktuellen Standort konfigurieren (für Zeitzonenberechnungen)
|
|
75
|
-
- Deine Geburtsdaten und Geburtsort eingeben (für persönliche Horoskope)
|
|
76
|
-
- Ein lokales KI-Modell von LM-Studio konfigurieren (für KI-gestützte Analysen) falls du das möchtest
|
|
77
|
-
|
|
78
|
-
#### Direktes Setzen des lokalen KI-Modells (falls gewünscht)
|
|
5
|
+
## Prerequisites
|
|
79
6
|
|
|
80
|
-
|
|
7
|
+
### For Linux Users
|
|
81
8
|
|
|
82
|
-
|
|
83
|
-
klio --setup --ki google/gemma-3n-e4b
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
Dies setzt das KI-Modell auf "google/gemma-3n-e4b" und verwendet den Standard-Endpunkt
|
|
87
|
-
|
|
88
|
-
#### Fragen an das KI-Modell stellen
|
|
89
|
-
|
|
90
|
-
Du kannst Fragen an das KI-Modell stellen, um astrologische Analysen und Beratungen zu erhalten:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
klio [EINGABE] --p "Welche Berufe passen zu dieser Position?"
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
### Allgemeine Befehle
|
|
97
|
-
|
|
98
|
-
#### Position von einem Planeten
|
|
99
|
-
```bash
|
|
100
|
-
klio sonne
|
|
101
|
-
```
|
|
102
|
-
```bash
|
|
103
|
-
Astrologische Daten für sonne:
|
|
104
|
-
Zeichen: Wassermann
|
|
105
|
-
Grad im Zeichen: 15.77°
|
|
106
|
-
Würde: Detriment
|
|
107
|
-
Element: Luft
|
|
108
|
-
Dekan: 2. Dekan
|
|
109
|
-
```
|
|
110
|
-
#### Mit Haus- und Haussystem
|
|
111
|
-
```bash
|
|
112
|
-
klio sonne --hs koch
|
|
113
|
-
```
|
|
114
|
-
#### Persönlich im Geburtshoroskop
|
|
115
|
-
```bash
|
|
116
|
-
klio sonne --hs koch --i
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
#### Alle Positionen
|
|
120
|
-
```bash
|
|
121
|
-
klio --s --hs koch
|
|
122
|
-
```
|
|
123
|
-
### Persönliche Transit-Häuser
|
|
124
|
-
```bash
|
|
125
|
-
klio --s --hs koch --i
|
|
126
|
-
````
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
#### Persönlich
|
|
130
|
-
```bash
|
|
131
|
-
klio --s --hs koch --i
|
|
132
|
-
```
|
|
9
|
+
The Swiss Ephemeris library (swisseph) requires Python and C development tools on Linux systems:
|
|
133
10
|
|
|
134
|
-
#### Mit Personendaten
|
|
135
11
|
```bash
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
#### Für ein Datum oder Datum und Zeit
|
|
140
|
-
```bash
|
|
141
|
-
klio sonne --hs koch --d "01.02.2026 12:00"
|
|
142
|
-
```
|
|
143
|
-
```bash
|
|
144
|
-
Verwende benutzerdefiniertes Datum: 1.2.2026 12:00
|
|
145
|
-
|
|
146
|
-
Astrologische Daten für sonne:
|
|
147
|
-
Zeichen: Wassermann
|
|
148
|
-
Grad im Zeichen: 12.63°
|
|
149
|
-
Würde: Detriment
|
|
150
|
-
Element: Luft
|
|
151
|
-
Dekan: 2. Dekan
|
|
12
|
+
# On Debian/Ubuntu
|
|
13
|
+
sudo apt-get install python3-dev build-essential
|
|
152
14
|
|
|
153
|
-
|
|
154
|
-
|
|
15
|
+
# On Fedora/RHEL
|
|
16
|
+
sudo dnf install python3-devel gcc-c++
|
|
155
17
|
```
|
|
156
18
|
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
klio mond --a
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
#### Aspekte von einem Planeten (mit Personendaten)
|
|
163
|
-
```bash
|
|
164
|
-
klio mond --a --p1
|
|
165
|
-
```
|
|
166
|
-
```bash
|
|
167
|
-
Aspekte für Mond:
|
|
168
|
-
================================================================================
|
|
169
|
-
| Aspekt | Planet | Orb | Exaktes Datum/Uhrzeit |
|
|
170
|
-
================================================================================
|
|
171
|
-
| Opposition | Saturn | 1.82° | 15.11.2025 00:30 |
|
|
172
|
-
| Trigon | Uranus | 3.45° | 01.10.2025 22:05 |
|
|
173
|
-
| Opposition | Neptun | 0.65° | 15.11.2025 08:50 |
|
|
174
|
-
| Trigon | Pluto | 2.92° | 11.07.2026 06:15 |
|
|
175
|
-
================================================================================
|
|
176
|
-
|
|
177
|
-
Diese Analyse basiert auf der aktuellen Planetenposition.
|
|
178
|
-
```
|
|
179
|
-
Kombiniere mit `--i --tr` und `--hs koch` für persönliche Transit-Aspekte
|
|
180
|
-
|
|
181
|
-
### Aspekte für einen Planeten (Geburtshoroskop)
|
|
182
|
-
```bash
|
|
183
|
-
klio mond --a --i
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
### Aspekte eines Datums
|
|
187
|
-
```bash
|
|
188
|
-
klio mond --a --d "01.02.1989 12:00"
|
|
189
|
-
```
|
|
19
|
+
## Installation
|
|
190
20
|
|
|
191
|
-
### Alle aktiven Aspekte (Huber Orbs)
|
|
192
|
-
```bash
|
|
193
|
-
klio --a
|
|
194
|
-
```
|
|
195
21
|
```bash
|
|
196
|
-
|
|
197
|
-
═══════════════════════════════════════════════════════════════════════════
|
|
198
|
-
║ Planet 1 │ Planet 2 │ Orb │ Status │ Exaktes Datum/Uhrzeit ║
|
|
199
|
-
═══════════════════════════════════════════════════════════════════════════
|
|
200
|
-
|
|
201
|
-
--- Konjunktion ---
|
|
202
|
-
║ Saturn │ Neptun │ 1.21° │ annähernd │ 20.02.2026 16:55 ║
|
|
203
|
-
║ Merkur │ Venus │ 3.39° │ separativ │ 28.02.2026 05:35 ║
|
|
204
|
-
║ Mars │ Pluto │ 6.08° │ separativ │ 27.01.2026 23:00 ║
|
|
205
|
-
║ Sonne │ Mars │ 6.33° │ separativ │ 09.01.2026 11:40 ║
|
|
206
|
-
║ Sonne │ Venus │ 7.03° │ separativ │ 06.01.2026 16:35 ║
|
|
207
|
-
...
|
|
22
|
+
npm install -g klio
|
|
208
23
|
```
|
|
209
24
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
K für Konjunktion, O für Opposition, Q für Quadrat, T für Trigon, S für Sextil
|
|
25
|
+
## Usage
|
|
213
26
|
|
|
214
27
|
```bash
|
|
215
|
-
klio
|
|
28
|
+
klio [options]
|
|
216
29
|
```
|
|
217
30
|
|
|
218
|
-
|
|
219
|
-
```bash
|
|
220
|
-
klio --v 3 saturn k neptun --p1
|
|
221
|
-
```
|
|
222
|
-
```bash
|
|
223
|
-
Letzte 3 Konjunktionen zwischen saturn und neptun:
|
|
224
|
-
================================================================================
|
|
225
|
-
| Datum | Planet 1 Position | Planet 2 Position |
|
|
226
|
-
================================================================================
|
|
227
|
-
| 24.06.1989 | Steinbock 11.25° | Steinbock 11.24° |
|
|
228
|
-
| 22.07.1953 | Waage 21.21° | Waage 21.21° |
|
|
229
|
-
| 18.05.1953 | Waage 21.62° | Waage 21.63° |
|
|
230
|
-
================================================================================
|
|
231
|
-
```
|
|
31
|
+
### Configuration
|
|
232
32
|
|
|
233
|
-
|
|
33
|
+
- **Show status**: `--status` - Shows the stored configuration data
|
|
34
|
+
- **Setup**: `--setup` - Setup for a default chart which can be accessed with `--i` for example `klio --a --i` for displaying the natal aspects. In this setup you can also set up a local AI model for LM-Studio.
|
|
234
35
|
|
|
235
|
-
K für Konjunktion, O für Opposition, Q für Quadrat, T für Trigon, S für Sextil
|
|
236
36
|
|
|
237
|
-
|
|
238
|
-
klio --z 3 saturn k neptun
|
|
239
|
-
```
|
|
37
|
+
## Commands and Options
|
|
240
38
|
|
|
241
|
-
|
|
242
|
-
```bash
|
|
243
|
-
klio --z 3 saturn k neptun --p1
|
|
244
|
-
```
|
|
39
|
+
### Basic Astrological Data
|
|
245
40
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
| 11.04.2132 | Skorpion 26.59° | Skorpion 26.58° |
|
|
256
|
-
================================================================================
|
|
257
|
-
```
|
|
41
|
+
- **Show planet data**: `klio [planet]` - Displays astrological data for a specific planet
|
|
42
|
+
- **Show planet data with house and house system**: `klio [planet] --hs koch`
|
|
43
|
+
- **Aspect calculations**: `klio [planet] [planet2] --k` - Shows aspects between two planets
|
|
44
|
+
- **Aspect calculations**: `klio [planet] [planet2] --k --i` - Shows aspects between two planets in the natal chart
|
|
45
|
+
- **All aspects**: `klio --a` - Shows all current aspects with orb, status and exact time (takes a while to load because the exact time)
|
|
46
|
+
- **All aspects**: `klio [planet] --a` - Shows all current aspects with orb, status and exact time of the specified planet
|
|
47
|
+
- **Planet positions**: `klio --s` - Shows all planet positions in a table with signs, degrees, and houses
|
|
48
|
+
- **Natal planet positions**: `--s --i` - Shows all natal planet positions in a table with signs, degrees, and houses
|
|
49
|
+
- **Different house system**: `klio --s --hs placidus` also possible with `--i` (try placidus, koch, porphyry, regiomontanus, campanus, equal, wholesign, gauquelin, vehlow, topocentric, alcabitius, morinus)
|
|
258
50
|
|
|
259
|
-
###
|
|
260
|
-
|
|
261
|
-
klio --af
|
|
262
|
-
```
|
|
263
|
-
Kombiniere mit `--i`, `--d`, `--hs` oder `--p`
|
|
51
|
+
### House Systems
|
|
52
|
+
- **House system display**: `--hs <system>` - Shows planet + house position (Placidus, Koch, Porphyry, Regiomontanus, Campanus, Equal, WholeSign, Gauquelin, Vehlow, Topocentric, Alcabitius, Morinus)
|
|
264
53
|
|
|
265
|
-
|
|
266
|
-
klio --af --d "01.12.2025" --hs koch
|
|
267
|
-
```
|
|
54
|
+
### Date and Time
|
|
268
55
|
|
|
269
|
-
|
|
270
|
-
klio --af --p1
|
|
271
|
-
```
|
|
272
|
-
```bash
|
|
273
|
-
Verwende benutzerdefiniertes Datum: 1.12.2025 19:00
|
|
274
|
-
Aktive Aspektfiguren:
|
|
275
|
-
═══════════════════════════════════════════════════════════════════════════
|
|
276
|
-
|
|
277
|
-
Großes Trigon:
|
|
278
|
-
────────────────────────────────────────────────────────────────────────────────
|
|
279
|
-
1. Planeten: Jupiter, Merkur, Saturn
|
|
280
|
-
Planetenpositionen:
|
|
281
|
-
- Jupiter: Krebs 24.48° (Haus 1)
|
|
282
|
-
- Merkur: Skorpion 21.07° (Haus 5)
|
|
283
|
-
- Saturn: Fische 25.17° (Haus 10)
|
|
284
|
-
Trigone: jupiter-merkur, jupiter-saturn, merkur-saturn
|
|
285
|
-
|
|
286
|
-
Kite (Drachen):
|
|
287
|
-
────────────────────────────────────────────────────────────────────────────────
|
|
288
|
-
1. Planeten: Jupiter, Merkur, Saturn, Uranus
|
|
289
|
-
Planetenpositionen:
|
|
290
|
-
- Jupiter: Krebs 24.48° (Haus 1)
|
|
291
|
-
- Merkur: Skorpion 21.07° (Haus 5)
|
|
292
|
-
- Saturn: Fische 25.17° (Haus 10)
|
|
293
|
-
- Uranus: Stier 29.02° (Haus 11)
|
|
294
|
-
Trigon: jupiter-merkur, jupiter-saturn, merkur-saturn
|
|
295
|
-
Opposition: merkur-uranus
|
|
296
|
-
|
|
297
|
-
═══════════════════════════════════════════════════════════════════════════
|
|
298
|
-
Gesamt: 2 Aspektfigur(en) gefunden
|
|
299
|
-
|
|
300
|
-
Diese Analyse basiert auf der aktuellen Planetenposition.
|
|
301
|
-
```
|
|
56
|
+
- **Specific date**: `--d <date>` - Use a specific date for calculations (Format: DD.MM.YYYY or "DD.MM.YYYY HH:MM") note the quotes when using it with a time in 24h format.
|
|
302
57
|
|
|
303
|
-
|
|
58
|
+
### Health Analysis
|
|
59
|
+
It's possible to analyze Apple Health data. This happens on the device and no server is involved like everything from this CLI. It just parses the export XML.
|
|
304
60
|
|
|
61
|
+
- **Apple Health Export**: `klio [planet] --apple <filepath> --sleep ` - Analyzes Apple Health Export XML file and shows the most frequent aspects during sleep deprivation (Top 10):
|
|
62
|
+
- **Step analysis**: `klio [planet] --apple <filepath> --steps` - Analyzes step patterns of any planet
|
|
63
|
+
- **Stress analysis**: `klio [planet] --apple <filepath> --stress` - Analyzes stress patterns of planet sign stress based on HRV
|
|
305
64
|
|
|
306
|
-
|
|
307
|
-
```bash
|
|
308
|
-
klio --el
|
|
309
|
-
```
|
|
310
|
-
```bash
|
|
311
|
-
Elementverteilung der Planeten:
|
|
312
|
-
================================================================================
|
|
313
|
-
Feuer : || 2/10 (10.0%)
|
|
314
|
-
Erde : |||| 4/10 (20.0%)
|
|
315
|
-
Luft : |||||||||| 10/10 (50.0%)
|
|
316
|
-
Wasser : |||| 4/10 (20.0%)
|
|
317
|
-
================================================================================
|
|
318
|
-
```
|
|
65
|
+
> Maybe I'll add some more in the future.
|
|
319
66
|
|
|
320
|
-
|
|
67
|
+
### CSV Analysis
|
|
68
|
+
It's possible to analyze a csv with a column of either ISO date time or unix time stamp.
|
|
321
69
|
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
klio --el --p1
|
|
325
|
-
```
|
|
70
|
+
- **Show house and sign distribution of the datetime column**: `klio [planet] --csv <file-path>`
|
|
71
|
+
- **Show aspect type distribution between two planets:** `klio [planet1] [planet2] --csv <file-path> --a`
|
|
326
72
|
|
|
327
|
-
|
|
73
|
+
The command also returns a Chi-Square.
|
|
328
74
|
|
|
329
|
-
|
|
75
|
+
You can research a lot of fun things with this. You find a lot of free datasets on Kaggle.
|
|
330
76
|
|
|
331
|
-
```bash
|
|
332
|
-
klio --rx --i
|
|
333
|
-
```
|
|
334
77
|
|
|
335
|
-
|
|
78
|
+
### Adding different charts
|
|
336
79
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
80
|
+
- **Use personal data**: `--i` - Uses birth data from setup for calculations
|
|
81
|
+
- **Manage persons**:
|
|
82
|
+
- `klio --person john "New York, United States, 17.01.1987, 18:23"` - Creates or updates any person (Format: "Location, Country, DD.MM.YYYY HH:MM")
|
|
83
|
+
- `klio --person doe "57.32, 3.72, 17.01.1987, 18:23"` - Creates or updates any person (Format: "Latitude, Longitude, DD.MM.YYYY HH:MM") useful when you're offline or places
|
|
84
|
+
- `--people` - Lists all saved persons
|
|
85
|
+
- `--delete-person <id>` - Deletes a person
|
|
340
86
|
|
|
341
|
-
|
|
342
|
-
Rückläufige und stationäre Planeten:
|
|
343
|
-
=================================================================
|
|
344
|
-
| Planet | Zeichen | Grad | Status | Geschwindigkeit |
|
|
345
|
-
=================================================================
|
|
346
|
-
| Jupiter | Krebs | 16.97 | rückläufig | 0.10 °/Tag |
|
|
347
|
-
| Uranus | Stier | 27.46 | stationär | 0.00 °/Tag |
|
|
348
|
-
...
|
|
349
|
-
```
|
|
87
|
+
Then, instead using `--i` for the commands from above you can use `--wp <id>` i.e. `--wp john`
|
|
350
88
|
|
|
351
|
-
|
|
352
|
-
```bash
|
|
353
|
-
klio --rx --p1
|
|
354
|
-
```
|
|
89
|
+
### Advanced Features
|
|
355
90
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
klio --
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
| Planet | Zeichen | Grad | Status | Geschwindigkeit |
|
|
362
|
-
=================================================================
|
|
363
|
-
| Jupiter | Krebs | 16.97 | rückläufig | 0.10 °/Tag |
|
|
364
|
-
| Uranus | Stier | 27.46 | stationär | 0.00 °/Tag |
|
|
365
|
-
...
|
|
366
|
-
```
|
|
91
|
+
- **Retrograde planets**: `klio --rx` - Shows all retrograde or stationary planets (beta, not very accurate yet and highly depends on the preference) combine with `--wp <id>` or `--i`
|
|
92
|
+
- **Critical degrees**: `klio --c` - Shows all planets on critical degrees. combine with `--wp <id>` or `--i`
|
|
93
|
+
- **Element distribution**: `klio --el` - Shows element distribution of planets in a horizontal chart. combine with `--wp <id>` or `--i`
|
|
94
|
+
- **Aspect figures**: `klio --af` - Shows active aspect figures like T-squares, Grand Trines, etc. Combine with `--wp <id>` or `--i` or `--d <"DD.MM.YYYY HH:MM>` or `--hs <house-system>`
|
|
95
|
+
- **Transits**: `klio --tr` - Shows personal transits based on birth data. Combine with `--wp <id or --i>` and optional `--d <"DD.MM.YYYY HH:MM>`
|
|
367
96
|
|
|
368
|
-
|
|
369
|
-
```bash
|
|
370
|
-
klio --rx --i
|
|
371
|
-
```
|
|
372
|
-
```bash
|
|
373
|
-
| Planet | Zeichen | Grad | Typ |
|
|
374
|
-
========================================================
|
|
375
|
-
| Merkur | Wassermann | 26.14 | Kardinal (0°, 13°, 26°) |
|
|
376
|
-
| Saturn | Fische | 29.02 | Anaretisch (29°) |
|
|
377
|
-
| Neptun | Widder | 0.25 | Kardinal (0°, 13°, 26°) |
|
|
378
|
-
========================================================
|
|
379
|
-
```
|
|
97
|
+
### Past and Future Aspects
|
|
380
98
|
|
|
381
|
-
|
|
99
|
+
- **Past aspects**: `klio --v <count> [planet1] [aspect-type] [planet2]` - Shows past aspects (Format: --v <count> planet1 aspectType planet2) Available aspect types: c, o, s, t, se (conjunction, opposition, square, trine, sextile)
|
|
100
|
+
- **Future aspects**: `klio --z <count> [planet1] [aspect-type] [planet2]` - Shows future aspects (Format: --z <count> planet1 aspectType planet2)
|
|
382
101
|
|
|
383
|
-
|
|
384
|
-
```bash
|
|
385
|
-
klio --kritisch
|
|
386
|
-
```
|
|
387
|
-
```bash
|
|
388
|
-
klio --kritisch --i
|
|
389
|
-
```
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
```bash
|
|
393
|
-
========================================================
|
|
394
|
-
| Planet | Zeichen | Grad | Typ |
|
|
395
|
-
========================================================
|
|
396
|
-
| Merkur | Wassermann | 26.14 | Kardinal (0°, 13°, 26°) |
|
|
397
|
-
| Saturn | Fische | 29.02 | Anaretisch (29°) |
|
|
398
|
-
| Neptun | Widder | 0.25 | Kardinal (0°, 13°, 26°) |
|
|
399
|
-
========================================================
|
|
400
|
-
```
|
|
102
|
+
### AI Integration
|
|
401
103
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
```bash
|
|
406
|
-
klio mond --apple <datei-pfad von Apple Export.xml> --schlaf
|
|
407
|
-
```
|
|
408
|
-
|
|
409
|
-
```bash
|
|
410
|
-
Häufigste Mondaspekte bei Schlafmangel (Top 10):
|
|
411
|
-
Aspekt | Häufigkeit | Prozent | Heute aktiv
|
|
412
|
-
-------|-----------|--------|------------
|
|
413
|
-
Quadrat mit neptun | 4 | 12.5% | ✗
|
|
414
|
-
Quadrat mit venus | 4 | 12.5% | ✗
|
|
415
|
-
...
|
|
416
|
-
```
|
|
417
|
-
|
|
418
|
-
#### Welches Mondzeichen ist am stressigsten für mich?
|
|
419
|
-
```bash
|
|
420
|
-
klio mond --apple <datei-pfad von Apple Export.xml> --stress
|
|
421
|
-
```
|
|
422
|
-
```bash
|
|
423
|
-
Stressstatistik nach Mondzeichen:
|
|
424
|
-
Zeichen | Ø Stress | Ø HRV | Tage | Rang | Aktuell
|
|
425
|
-
-------|----------|-------|-----|-----|--------
|
|
426
|
-
Steinbock | 75.5% | 54.3ms | 4 | 1 |
|
|
427
|
-
Fische | 74.8% | 56.9ms | 4 | 2 | ✓
|
|
428
|
-
...
|
|
429
|
-
```
|
|
430
|
-
#### Schritte nach Planetenzeichen
|
|
431
|
-
```bash
|
|
432
|
-
klio mond --apple <datei-pfad von Apple Export.xml> --schritte
|
|
433
|
-
```
|
|
434
|
-
```bash
|
|
435
|
-
Schrittstatistik nach Mondzeichen:
|
|
436
|
-
Zeichen | Durchschnitt | Gesamt | Tage | Rang | Aktuell
|
|
437
|
-
-------|-------------|--------|-----|-----|--------
|
|
438
|
-
Fische | 9969 | 181203 | 26 | 1 |
|
|
439
|
-
Krebs | 8115 | 201784 | 33 | 2 |
|
|
440
|
-
...
|
|
441
|
-
```
|
|
442
|
-
|
|
443
|
-
### Dateien
|
|
444
|
-
|
|
445
|
-
#### Hausverteilung eines Planeten in einem Ordner basierend auf dem Erstellungsdatum der Dateien
|
|
446
|
-
```bash
|
|
447
|
-
klio mond --hs koch --ordner /Users/user/Desktop/Fotos
|
|
448
|
-
|
|
449
|
-
Hausverteilung für MOND in 821 Dateien:
|
|
450
|
-
Haus | Häufigkeit | Prozent
|
|
451
|
-
-----|-----------|--------
|
|
452
|
-
1 | 41 | 5.0%
|
|
453
|
-
2 | 79 | 9.6%
|
|
454
|
-
...
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
Mit --h1 oder --h6 usw. werden die Dateien gelistet, die erstellt wurden, als der ausgewählte Planet in diesem Haus war.
|
|
458
|
-
|
|
459
|
-
#### CSV-Datei analysieren
|
|
460
|
-
```bash
|
|
461
|
-
klio --csv <filepath>
|
|
462
|
-
```
|
|
463
|
-
|
|
464
|
-
Dieser Befehl analysiert eine CSV-Datei mit ISO-Datetime-Werten oder Unix-Timestamps. Dies ist nützlich, um astrologische Daten mit anderen Datensätzen zu korrelieren. Die CSV-Datei kann entweder eine lokale Datei oder eine URL sein.
|
|
465
|
-
|
|
466
|
-
Die CSV-Datei muss mindestens eine Spalte mit ISO-Datetime-Werten (z.B. `2023-01-01T12:00:00`) oder Unix-Timestamps (z.B. `1672574400`) enthalten. Die Spaltennamen können beliebig sein, da die Funktion automatisch nach passenden Werten sucht.
|
|
467
|
-
|
|
468
|
-
Beispiele:
|
|
469
|
-
```bash
|
|
470
|
-
klio --csv data.csv
|
|
471
|
-
klio --csv https://example.com/data.csv
|
|
472
|
-
```
|
|
473
|
-
|
|
474
|
-
#### CSV-Datei mit Aspektanalyse analysieren
|
|
475
|
-
```bash
|
|
476
|
-
klio --csv <filepath> --a
|
|
477
|
-
```
|
|
104
|
+
- **AI model selection**: `--ai <model>` - Sets a specific AI model (e.g., "google/gemma-3n-e4b") for LM Studio ([lmstudio.ai](https://lmstudio.ai))
|
|
105
|
+
- **System prompt**: `--system <prompt>` - Sets a custom system prompt for all AI requests. e.g. "klio --system "Answer only with a quote" or "focus on mental health""
|
|
106
|
+
- **Ask questions**: `--p <prompt>` - Asks a question to the AI model (e.g., "Which careers suit this position?"). Add this to most commands. Some are not yet implemented.
|
|
478
107
|
|
|
108
|
+
### File Analysis
|
|
109
|
+
When were the files created on a system folder and in which house was the planet?
|
|
479
110
|
|
|
111
|
+
- **Folder analysis**: `klio [planet]--folder <path>` - Analyzes house distribution of all files in the folder
|
|
112
|
+
- **House filters**: `--h1` through `--h12` - Filters files with planet in specific houses
|
|
480
113
|
|
|
481
114
|
|
|
115
|
+
## License
|
|
482
116
|
|
|
117
|
+
ISC
|
|
483
118
|
|
|
484
119
|
|
|
485
|
-
|
package/package.json
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Planet list (English) with Swiss Ephemeris constants
|
|
2
2
|
const planets = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
sun: 0,
|
|
4
|
+
moon: 1,
|
|
5
|
+
mercury: 2,
|
|
6
6
|
venus: 3,
|
|
7
7
|
mars: 4,
|
|
8
8
|
jupiter: 5,
|
|
9
9
|
saturn: 6,
|
|
10
10
|
uranus: 7,
|
|
11
|
-
|
|
11
|
+
neptune: 8,
|
|
12
12
|
pluto: 9
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
//
|
|
15
|
+
// Zodiac signs (English)
|
|
16
16
|
const signs = [
|
|
17
|
-
'
|
|
18
|
-
'
|
|
17
|
+
'Aries', 'Taurus', 'Gemini', 'Cancer', 'Leo', 'Virgo',
|
|
18
|
+
'Libra', 'Scorpio', 'Sagittarius', 'Capricorn', 'Aquarius', 'Pisces'
|
|
19
19
|
];
|
|
20
20
|
|
|
21
|
-
//
|
|
21
|
+
// Elements
|
|
22
22
|
const elements = [
|
|
23
|
-
'
|
|
24
|
-
'
|
|
23
|
+
'Fire', 'Earth', 'Air', 'Water', 'Fire', 'Earth',
|
|
24
|
+
'Air', 'Water', 'Fire', 'Earth', 'Air', 'Water'
|
|
25
25
|
];
|
|
26
26
|
|
|
27
|
-
//
|
|
27
|
+
// Decans
|
|
28
28
|
const decans = [
|
|
29
|
-
'
|
|
30
|
-
'
|
|
31
|
-
'
|
|
32
|
-
'
|
|
29
|
+
'1st Decan', '2nd Decan', '3rd Decan',
|
|
30
|
+
'1st Decan', '2nd Decan', '3rd Decan',
|
|
31
|
+
'1st Decan', '2nd Decan', '3rd Decan',
|
|
32
|
+
'1st Decan', '2nd Decan', '3rd Decan'
|
|
33
33
|
];
|
|
34
34
|
|
|
35
|
-
//
|
|
35
|
+
// Planetary dignities
|
|
36
36
|
const dignities = {
|
|
37
|
-
0: { sign: '
|
|
38
|
-
1: { sign: '
|
|
39
|
-
2: { sign: '
|
|
40
|
-
3: { sign: '
|
|
41
|
-
4: { sign: '
|
|
42
|
-
5: { sign: '
|
|
43
|
-
6: { sign: '
|
|
44
|
-
7: { sign: '
|
|
45
|
-
8: { sign: '
|
|
46
|
-
9: { sign: '
|
|
37
|
+
0: { sign: 'Leo', exaltation: 'Aries', fall: 'Libra', detriment: 'Aquarius' }, // Sun
|
|
38
|
+
1: { sign: 'Cancer', exaltation: 'Taurus', fall: 'Scorpio', detriment: 'Capricorn' }, // Moon
|
|
39
|
+
2: { sign: 'Gemini', exaltation: 'Virgo', fall: 'Pisces', detriment: 'Sagittarius' }, // Mercury
|
|
40
|
+
3: { sign: 'Taurus', exaltation: 'Pisces', fall: 'Virgo', detriment: 'Scorpio' }, // Venus
|
|
41
|
+
4: { sign: 'Aries', exaltation: 'Capricorn', fall: 'Cancer', detriment: 'Libra' }, // Mars
|
|
42
|
+
5: { sign: 'Sagittarius', exaltation: 'Cancer', fall: 'Capricorn', detriment: 'Gemini' }, // Jupiter
|
|
43
|
+
6: { sign: 'Capricorn', exaltation: 'Libra', fall: 'Aries', detriment: 'Cancer' }, // Saturn
|
|
44
|
+
7: { sign: 'Aquarius', exaltation: 'Sagittarius', fall: 'Leo', detriment: 'Taurus' }, // Uranus
|
|
45
|
+
8: { sign: 'Pisces', exaltation: 'Leo', fall: 'Aquarius', detriment: 'Virgo' }, // Neptune
|
|
46
|
+
9: { sign: 'Scorpio', exaltation: 'Aries', fall: 'Taurus', detriment: 'Scorpio' } // Pluto
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
module.exports = {
|