You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@
14
14
15
15
## Ship a complete astrology, numerology, or tarot site this weekend. Not this quarter.
16
16
17
-
The only multi domain spiritual intelligence plugin for WordPress. Drop daily horoscopes, numerology charts, tarot pulls, I Ching casts, dream symbol lookups, and natal chart calculators onto any page. One API key, ten spiritual data domains, 130+ endpoints. Verified against NASA JPL Horizons.
17
+
The only multi domain spiritual intelligence plugin for WordPress. Drop daily horoscopes, numerology charts, tarot pulls, I Ching casts, dream symbol lookups, and natal chart calculators onto any page. One API key, 12 spiritual data domains, 150+ endpoints. Verified against NASA JPL Horizons.
18
18
19
19
Interactive forms for your visitors. Gutenberg blocks for your editor. Shortcodes for anywhere else. Server side rendering keeps your API key out of the browser. Transient caching keeps your quota intact.
20
20
21
-
-**17 hero blocks and shortcodes** covering western astrology, vedic astrology (kundli, panchang, mangal dosha, KP chart, gun milan), tarot (daily, three card, yes or no), numerology, biorhythm, angel numbers, crystals by zodiac, current moon phase, and two-chart compatibility (synastry, gun milan, Western compatibility).
21
+
-**17 hero shortcodes** covering western astrology, vedic astrology (kundli, panchang, mangal dosha, KP chart, gun milan), tarot (daily, three card, yes or no), numerology, biorhythm, angel numbers, crystals by zodiac, current moon phase, and two-chart compatibility (synastry, gun milan, Western compatibility). Six of them (horoscope, natal chart, tarot, numerology, biorhythm, angel number) also ship a hand-written Gutenberg block; the rest render through their shortcode.
22
22
-**Auto generated shortcodes** for the long tail. Every endpoint in the RoxyAPI OpenAPI spec is reachable from a shortcode.
23
23
-**Form mode on every hero shortcode.** Let visitors submit their own sign, name, birth date, or question and render a personalized reading. No JavaScript required.
24
24
-**Zero client side secrets.** All calls run in PHP. The API key never reaches the browser.
@@ -85,18 +85,18 @@ Form submissions post back to the same page over HTTPS. The plugin validates the
85
85
86
86
## Gutenberg blocks
87
87
88
-
In the block editor, open the inserter and pick a block from the **RoxyAPI** category. Ten hero blocks, each with a variation picker:
88
+
In the block editor, open the inserter and pick a block from the **RoxyAPI** category. Six hand-written hero blocks (Horoscope, Tarot, and Numerology include a variation picker):
-**Numerology** (life path, expression, soul urge, full chart)
94
-
-**I Ching**
95
-
-**Dream Symbol**
96
94
-**Biorhythm**
97
95
-**Angel Number**
98
-
-**Crystal**
99
-
-**Astrology Section** wrapper that shares a default zodiac sign and birth date with every child block inside it via block context
96
+
97
+
Beyond these, 125 long-tail endpoints (I Ching, dream symbols, crystals, human design, forecasts, and more) each auto-generate a matching block, for 131 blocks in total. The remaining endpoints render through their shortcode or a visitor form.
98
+
99
+
The **Astrology Section** wrapper block shares a default zodiac sign and birth date with every child block inside it via block context.
100
100
101
101
Every block renders server side through the same RoxyAPI client the shortcodes use. Same caching, same rate limiting, same secret handling.
// Adoption signal (informational, never fatal). The map is intentionally a
171
+
// subset of the build (helpers + reads that are fine as generic cards stay
172
+
// unbound), but a jump in this count after a version bump means new upstream
173
+
// components are available to wire up via a component-map row.
174
+
constunbound=available.size-referenced.size;
175
+
if(unbound>0){
176
+
console.log(
177
+
`note: ${unbound} of ${available.size} component(s) in the pinned UI build are not bound to any operation. Bind in component-map.json to render them (unbound reads fall back to roxy-data).`
178
+
);
179
+
}
180
+
142
181
console.log(
143
-
`component-map.json OK: ${
144
-
referenced.size
145
-
} component tag(s) in the pinned UI build, ${
182
+
`component-map.json OK: ${referenced.size} of ${
183
+
available.size
184
+
} component tag(s) bound in the pinned UI build, ${
Copy file name to clipboardExpand all lines: readme.txt
+47-1Lines changed: 47 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,52 @@ The plugin itself is GPLv2 or later and the source is available at https://githu
38
38
* Server side caching with per endpoint TTL to keep your API quota low
39
39
* API key stays server side. Never exposed to the browser.
40
40
41
+
== Shortcode examples ==
42
+
43
+
Every reading is a shortcode. Pass attributes for a fixed reading the site owner controls, or drop the shortcode with no attributes to render an accessible visitor form. Heroes that take two charts or nested birth details are form mode only.
The three two chart compatibility heroes render a visitor form for both people and take no attributes:
63
+
64
+
`[roxy_synastry]`
65
+
`[roxy_gun_milan]`
66
+
`[roxy_compatibility]`
67
+
68
+
Leave the attributes off any hero shortcode to render a form instead. For example `[roxy_horoscope]` shows a zodiac sign picker and `[roxy_natal_chart]` shows a birth date, time, and city picker.
69
+
70
+
**Long-tail shortcodes**
71
+
72
+
A matching shortcode exists for every endpoint in the spec. A sample across the domains:
73
+
74
+
* Western astrology: `[roxy_calculate_aspects date="1990-07-15" time="14:30:00" timezone="UTC"]` and `[roxy_get_weekly_horoscope sign="aries"]`
* Human design: `[roxy_generate_bodygraph date="1990-07-15" time="13:00:00" timezone="UTC" latitude="40.7128" longitude="-74.0060"]`, `[roxy_calculate_variables date="1990-07-15" time="13:00:00" timezone="UTC" latitude="40.7128" longitude="-74.0060"]`, plus the two chart `[roxy_calculate_connection]` and `[roxy_calculate_penta]` which render visitor forms and take no attributes
79
+
* Forecast: `[roxy_generate_digest]` (renders a visitor form, no attributes)
80
+
* I Ching: `[roxy_get_daily_hexagram]`
81
+
* Crystals: `[roxy_get_crystal id="amethyst"]`
82
+
* Dreams: `[roxy_search_dream_symbols q="water"]`
83
+
* Location: `[roxy_search_cities q="berlin"]`
84
+
85
+
Add lang to any shortcode to override the response language, for example `[roxy_get_crystal id="amethyst" lang="es"]`.
86
+
41
87
== Installation ==
42
88
43
89
1. In your WordPress admin, go to Plugins, Add New, search for "RoxyAPI", and click Install Now.
@@ -70,7 +116,7 @@ Not to get started. A limited number of free readings per day are allowed right
70
116
71
117
= What readings can I add to my site? =
72
118
73
-
One key covers 12 domains. Western astrology: natal chart, daily / weekly / monthly horoscopes, synastry, compatibility, transits, aspect patterns, and moon phases. Vedic astrology: kundli, KP chart, panchang, Vimshottari dasha, divisional charts, nakshatras, doshas (Manglik, Kaal Sarpa, Sade Sati), and classical yogas. Numerology: Life Path, Expression, Soul Urge, Personality, personal year, and compatibility. Tarot: single card, three card, Celtic Cross, and the full 78 card catalog. Human design: bodygraph, type, authority, profile, centers, channels, and gates. Forecasts: timelines, transit forecasts, solar returns, and significant dates. Plus biorhythm, I Ching hexagrams, crystal reference data, dream symbols, and angel numbers. Each one has a Gutenberg block and a matching shortcode. Browse the full list inside WordPress under RoxyAPI, Shortcodes.
119
+
One key covers 12 domains. Western astrology: natal chart, daily / weekly / monthly horoscopes, synastry, compatibility, transits, aspect patterns, and moon phases. Vedic astrology: kundli, KP chart, panchang, Vimshottari dasha, divisional charts, nakshatras, doshas (Manglik, Kaal Sarpa, Sade Sati), and classical yogas. Numerology: Life Path, Expression, Soul Urge, Personality, personal year, and compatibility. Tarot: single card, three card, Celtic Cross, and the full 78 card catalog. Human design: bodygraph, type, authority, profile, centers, channels, and gates. Forecasts: timelines, transit forecasts, solar returns, and significant dates. Plus biorhythm, I Ching hexagrams, crystal reference data, dream symbols, and angel numbers. Every reading is available as a shortcode. The chart and reading heroes plus the 125 long-tail endpoints also ship a matching Gutenberg block. Interactive multi input readings such as two chart compatibility and nested birth forms are shortcode and visitor form mode, because the block editor cannot collect their nested input. Browse the full list inside WordPress under RoxyAPI, Shortcodes.
0 commit comments