Skip to content

Commit dfb90ea

Browse files
committed
feat: add astrocartography, local-space, relocation, positions-table, fixed-stars and profection components; fix hexagram, moon, variables, yoga, dosha and reference rendering
1 parent 3fe2a9a commit dfb90ea

47 files changed

Lines changed: 22637 additions & 9151 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

AGENTS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ Use the table below for the formal endpoint to component mapping.
6060
| `<roxy-aspects-table>` | Western | POST /astrology/aspects, /astrology/transit-aspects, /astrology/aspect-patterns | Aspect rows coloured by nature with orb and strength, plus detected chart patterns |
6161
| `<roxy-moon-phase>` | Western | GET /astrology/moon-phase/{current,upcoming,calendar/...} | Moon phase card and calendar |
6262
| `<roxy-horoscope-card>` | Western | GET /astrology/horoscope/{sign}/{daily,weekly,monthly} | Daily, weekly, or monthly horoscope card |
63+
| `<roxy-astrocartography-map>` | Western | POST /astrology/astrocartography | World map of planetary MC, IC, Ascendant, and Descendant lines with per-line interpretations |
64+
| `<roxy-local-space-compass>` | Western | POST /astrology/local-space | Compass dial of planetary azimuth lines from the birthplace, dimmed below the horizon |
65+
| `<roxy-relocation-wheel>` | Western | POST /astrology/relocation-chart | Relocated chart wheel plus the move geometry, angular planets, and planets that change house |
66+
| `<roxy-positions-table>` | Western | POST /astrology/asteroids, /astrology/lilith, /astrology/progressions, /astrology/solar-arc, /astrology/arabic-lots | Body, sign, degree, and per-shape columns (house, motion, formula, or natal arc) plus each reading |
67+
| `<roxy-fixed-stars>` | Western | POST /astrology/fixed-stars | Star to natal point conjunctions with readings, plus a catalog of position, magnitude, nature, and keywords |
68+
| `<roxy-profection-card>` | Western | POST /astrology/profections | Profected house and sign for the year, the lord of the year, its natal placement, and the reading |
6369
| `<roxy-compatibility-card>` | Cross | POST /astrology/compatibility-score, /numerology/compatibility, /biorhythm/compatibility | Score card with category breakdown |
6470
| `<roxy-vedic-kundli>` | Vedic | POST /vedic-astrology/birth-chart | South, North, or East Indian kundli with degree detail and optional Chandra Lagna view |
6571
| `<roxy-divisional-chart>` | Vedic | POST /vedic-astrology/divisional-chart | Generic divisional varga wheel from D2 Hora to D60 Shashtiamsa |

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,12 @@ Set `ROXY_API_KEY` to your secret key in your server env for the server-side SDK
577577
| `<roxy-aspects-table>` | Western | POST /astrology/aspects, /astrology/transit-aspects, /astrology/aspect-patterns | Aspect rows coloured by nature with orb and strength, plus detected chart patterns |
578578
| `<roxy-moon-phase>` | Western | GET /astrology/moon-phase/{current,upcoming,calendar/...} | Moon phase card and calendar |
579579
| `<roxy-horoscope-card>` | Western | GET /astrology/horoscope/{sign}/{daily,weekly,monthly} | Daily, weekly, or monthly horoscope card |
580+
| `<roxy-astrocartography-map>` | Western | POST /astrology/astrocartography | World map of planetary MC, IC, Ascendant, and Descendant lines with per-line interpretations |
581+
| `<roxy-local-space-compass>` | Western | POST /astrology/local-space | Compass dial of planetary azimuth lines from the birthplace, dimmed below the horizon |
582+
| `<roxy-relocation-wheel>` | Western | POST /astrology/relocation-chart | Relocated chart wheel plus the move geometry, angular planets, and planets that change house |
583+
| `<roxy-positions-table>` | Western | POST /astrology/asteroids, /astrology/lilith, /astrology/progressions, /astrology/solar-arc, /astrology/arabic-lots | Body, sign, degree, and per-shape columns (house, motion, formula, or natal arc) plus each reading |
584+
| `<roxy-fixed-stars>` | Western | POST /astrology/fixed-stars | Star to natal point conjunctions with readings, plus a catalog of position, magnitude, nature, and keywords |
585+
| `<roxy-profection-card>` | Western | POST /astrology/profections | Profected house and sign for the year, the lord of the year, its natal placement, and the reading |
580586
| `<roxy-compatibility-card>` | Cross | POST /astrology/compatibility-score, /numerology/compatibility, /biorhythm/compatibility | Score card with category breakdown |
581587
| `<roxy-vedic-kundli>` | Vedic | POST /vedic-astrology/birth-chart | South, North, or East Indian kundli with degree detail and optional Chandra Lagna view |
582588
| `<roxy-divisional-chart>` | Vedic | POST /vedic-astrology/divisional-chart | Generic divisional varga wheel from D2 Hora to D60 Shashtiamsa |

apps/docs/components-manifest.js

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,96 @@ window.ROXY_UI_DEMOS = [
127127
seoLine: 'Natal and transit aspects with chart-pattern detection',
128128
sdkCall: ` const { data } = await roxy.astrology.calculateAspects({
129129
body: { date: '${PERSON1.date}', time: '${PERSON1.time}', timezone: ${PERSON1.timezone} },
130+
});`,
131+
}),
132+
entry({
133+
id: 'astrocartography',
134+
tag: 'roxy-astrocartography-map',
135+
seoLine: 'Astrocartography world map of planetary relocation lines',
136+
sdkCall: ` const { data } = await roxy.astrology.generateAstrocartography({
137+
body: ${JSON.stringify(PERSON1, null, 2).replace(/\n/g, '\n ')},
138+
});`,
139+
}),
140+
entry({
141+
id: 'local-space',
142+
tag: 'roxy-local-space-compass',
143+
seoLine: 'Local space compass of planetary directions from a birthplace',
144+
sdkCall: ` const { data } = await roxy.astrology.generateLocalSpace({
145+
body: ${JSON.stringify(PERSON1, null, 2).replace(/\n/g, '\n ')},
146+
});`,
147+
}),
148+
entry({
149+
id: 'relocation',
150+
tag: 'roxy-relocation-wheel',
151+
seoLine: 'Relocation chart wheel with recomputed houses and angles for a new city',
152+
sdkCall: ` const { data } = await roxy.astrology.generateRelocationChart({
153+
body: ${JSON.stringify({ date: PERSON1.date, time: PERSON1.time, timezone: PERSON1.timezone, birthLatitude: PERSON1.latitude, birthLongitude: PERSON1.longitude, relocationLatitude: 40.7128, relocationLongitude: -74.006 }, null, 2).replace(/\n/g, '\n ')},
154+
});`,
155+
}),
156+
entry({
157+
id: 'asteroids',
158+
tag: 'roxy-positions-table',
159+
heading: 'Asteroids',
160+
topic: 'Astrology',
161+
seoLine: 'Ceres, Pallas, Juno, and Vesta positions with house and motion',
162+
sdkCall: ` const { data } = await roxy.astrology.generateAsteroids({
163+
body: ${JSON.stringify(PERSON1, null, 2).replace(/\n/g, '\n ')},
164+
});`,
165+
}),
166+
entry({
167+
id: 'lilith',
168+
tag: 'roxy-positions-table',
169+
heading: 'Black Moon Lilith',
170+
topic: 'Astrology',
171+
seoLine: 'Mean and true Black Moon Lilith apogee positions',
172+
sdkCall: ` const { data } = await roxy.astrology.generateLilith({
173+
body: ${JSON.stringify(PERSON1, null, 2).replace(/\n/g, '\n ')},
174+
});`,
175+
}),
176+
entry({
177+
id: 'arabic-lots',
178+
tag: 'roxy-positions-table',
179+
heading: 'Arabic lots',
180+
topic: 'Astrology',
181+
seoLine: 'The seven Hermetic lots with their sect-aware formulas',
182+
sdkCall: ` const { data } = await roxy.astrology.calculateArabicLots({
183+
body: ${JSON.stringify(PERSON1, null, 2).replace(/\n/g, '\n ')},
184+
});`,
185+
}),
186+
entry({
187+
id: 'fixed-stars',
188+
tag: 'roxy-fixed-stars',
189+
seoLine: 'Fixed star conjunctions to the natal chart with the star catalog',
190+
sdkCall: ` const { data } = await roxy.astrology.generateFixedStars({
191+
body: ${JSON.stringify(PERSON1, null, 2).replace(/\n/g, '\n ')},
192+
});`,
193+
}),
194+
entry({
195+
id: 'progressions',
196+
tag: 'roxy-positions-table',
197+
heading: 'Secondary progressions',
198+
topic: 'Astrology',
199+
seoLine: 'Secondary progressed planets and angles for a target date',
200+
sdkCall: ` const { data } = await roxy.astrology.generateProgressions({
201+
body: ${JSON.stringify({ ...PERSON1, targetDate: '2025-07-15' }, null, 2).replace(/\n/g, '\n ')},
202+
});`,
203+
}),
204+
entry({
205+
id: 'solar-arc',
206+
tag: 'roxy-positions-table',
207+
heading: 'Solar arc directions',
208+
topic: 'Astrology',
209+
seoLine: 'Solar arc directed positions versus their natal degrees',
210+
sdkCall: ` const { data } = await roxy.astrology.generateSolarArc({
211+
body: ${JSON.stringify({ ...PERSON1, targetDate: '2025-07-15' }, null, 2).replace(/\n/g, '\n ')},
212+
});`,
213+
}),
214+
entry({
215+
id: 'profections',
216+
tag: 'roxy-profection-card',
217+
seoLine: 'Annual profection year: profected house, sign, and lord of the year',
218+
sdkCall: ` const { data } = await roxy.astrology.generateProfections({
219+
body: ${JSON.stringify({ ...PERSON1, targetDate: '2025-07-15' }, null, 2).replace(/\n/g, '\n ')},
130220
});`,
131221
}),
132222
entry({
23.2 KB
Loading

apps/docs/manifest.js

Lines changed: 66 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/docs/page.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@
4545
function renderCard(demo) {
4646
const tabs = [
4747
{ key: 'preview', label: 'Preview', body: `<${demo.tag} id="${demo.id}"${demo.attrs}></${demo.tag}>` },
48-
// Empty state: the same element with NO id, so sample-data.js never sets
49-
// its `data` and the component renders its own renderEmpty() placeholder.
50-
// Shows builders the no-data / loading-stand-in look without any wiring.
51-
{ key: 'empty', label: 'Empty', body: `<${demo.tag}${demo.attrs}></${demo.tag}>` },
5248
{ key: 'code', label: 'Code', body: codeBlock(`code-${demo.id}`, demo.code) },
5349
{ key: 'shadcn', label: 'shadcn', body: codeBlock(`shadcn-${demo.id}`, demo.shadcn) },
5450
];

0 commit comments

Comments
 (0)