Four modules to add to www.culturalmusings.com. Each is self-contained and drops into the existing nav/page structure. Use the tabs above to preview and configure each module.
STEP I
Add Raga Kavya Nav Buttons New
Copy the two new .mega-trigger buttons (Raga Kavya Creator + Raga Kavya) and the new drawer panel HTML into your existing nav. The drawer panel links directly to ragakavyacreator.culturalmusings.com and ragakavya.culturalmusings.com. See the Raga Kavya Nav tab for the exact code with copy buttons.
STEP II
Astro Predictor + Mantra Generator
Embeds as a new section or modal on the main site. Takes name, date and time of birth, generates 8 paragraphs of astrological interpretation + corresponding Vedic mantras. Uses omniaifreeallinoneapi.culturalmusings.com as the AI backend. Includes full disclaimer + researcher note. Switch to the Astro Predictor tab to test it live.
STEP III
Dual Research Search
Two search modes: API mode (queries the AI via omniaifreeallinoneapi to synthesise answers from the research domains) and Non-API / GitHub mode (links out directly to github.com/ramachandra1975 and the curated subdomain index). Researchers can use either path. Also references backendsetupguide.culturalmusings.com for setup documentation.
STEP IV
Dynamic Token Manager — Auto-refresh
A lightweight in-browser token store that monitors API token expiry and refreshes automatically before calls fail. Each endpoint (omniaifreeallinoneapi, backendsetupguide) has its own entry. Tokens are stored in sessionStorage and refreshed against the backend endpoint when a TTL threshold is crossed. See the Token Manager tab to configure endpoints and test refresh cycles.
Two new mega-nav buttons + one shared drawer panel. Copy these code blocks into the existing index.html exactly where indicated. All copy buttons work — click to copy, then paste into your codebase.
STEP A — Add to nav-right div (after existing Karanas trigger)
Enter birth details to receive an 8-paragraph astrological reading grounded in Vedic Jyotisha — with corresponding mantras drawn from the research archive. For researchers: cross-reference results with the Ancient Treasury domains.
🌌
Vedic Jyotisha · Navagraha · Nakshatra Science
Janma Kundali & Mantra Prescription
⚠ Unable to reach the API endpoint. If your token has lapsed, switch to the Token Manager tab to refresh it — or choose Non-API (GitHub) mode in the Search Engine dropdown above and try again.
⚠ Disclaimer: This reading is generated for research and educational purposes only, drawing on Vedic Jyotisha principles from the Cultural Musings research archive. It is not a substitute for professional astrological consultation, medical advice, or psychological counselling. Accuracy depends on precision of birth data provided. The Cultural Musings research corpus is a scholarly resource — all astrological interpretations should be cross-referenced with qualified practitioners.
🔬 Researcher Note: This tool uses the omniaifreeallinoneapi.culturalmusings.com endpoint when in API mode, and queries github.com/ramachandra1975 repository index for Non-API mode. Both modes draw from the same underlying Cultural Musings research corpus. Token status is monitored automatically — see the Token Manager tab if API calls fail.
Two complementary search modes. API mode synthesises answers from the Cultural Musings research corpus via the omniaifreeallinoneapi backend. Non-API / GitHub mode queries the GitHub repository index and links to the relevant subdomains — no token required.
🔎
Ancient Treasury Research Search
Search across 13 research domains, 50+ reference sources, GitHub repositories, Raga science, 108 Karanas, Vedic texts and the complete Cultural Musings archive.
API Mode: Queries omniaifreeallinoneapi.culturalmusings.com to synthesise research answers. Requires valid token (auto-managed). Richer, contextual results.
Enter a query above — results will appear here.
Try: "What does Nakshatra Rohini correspond to in the 108 Karanas?"
Monitors API tokens for all endpoints. Tokens are stored in sessionStorage and auto-refreshed before they lapse. Add your endpoint base URLs and initial tokens below — the system handles renewal transparently.
⚙️Token Dashboard
● Valid
● Expiring
● Lapsed
Activity Log
[init] Token manager initialised. Endpoints loaded from sessionStorage.
⚙️ How it works: Each endpoint entry stores a token and a TTL (time-to-live) in sessionStorage. Before every API call, the token manager checks whether the TTL is within a 5-minute refresh window. If so, it automatically POSTs to the endpoint's /refresh route (or your custom refresh URL from backendsetupguide.culturalmusings.com) to obtain a new token and resets the TTL. If the endpoint is unreachable, the system falls back to Non-API / GitHub mode automatically.