A personal insight and journaling app for self-discovery
It is not a horoscope generator. It is not incense smoke wrapped in JSON. It calculates your birth chart, derives your Human Design type and gates, maps your Gene Key profile, computes your numerology, and weaves these together into a coherent narrative that respects your intelligence and does not predict your fate.
| Category | Systems Included |
|---|---|
| Western Astrology | Sun/Moon/Rising, 10 planets, 12 houses, major aspects, Chiron, Lilith, North Node |
| Vedic Astrology | Jyotish chart, Nakshatras (27 lunar mansions), Dasha periods |
| Human Design | Type (Generator/Manifestor/Projector/Reflector/MG), Strategy, Authority, Profile, Defined/Open Centers |
| Gene Keys | Activation Sequence (Life's Work, Evolution, Radiance, Purpose), Shadow → Gift → Siddhi arc |
| Numerology | Life Path, Expression, Soul Urge, Personality, Birthday, Maturity numbers |
| Tarot | Birth card pair (Major Arcana), year card, monthly card |
| I Ching | Hexagram derived from birth data, line reading |
| Runes | Birth rune and current-cycle rune |
| Fixed Stars | Prominent fixed stars conjunct natal planets |
| Chinese Astrology | Year animal, element, inner/secret animals |
| Mayan Calendar | Tzolk'in day sign and tone |
| Elemental Medicine | Five-element profile (Wood/Fire/Earth/Metal/Water) |
| Enneagram | Type and wing suggestion based on chart signature |
| MBTI overlay | Cognitive function stack correlated to chart |
| Chakra system | Dominant and blocked chakras from chart patterns |
| Sacred Geometry | Core geometric archetype from numerology/chart |
| Moral Compass | Core values cluster derived from chart emphasis |
All calculations are performed on the server using real ephemeris data (astronomy-engine). No hardcoded readings. Every result is computed from your exact birth date, time, and place.
Enter your birth date, time, and place once. The engine calculates all 35+ systems and renders your complete Soul Codex — a layered portrait of your archetype, strengths, shadow, purpose, and life path.
Every day, your transiting planets, active Gene Key, Tarot card of the day, and I Ching reading combine into a Daily Soul Context — not a forecast, a lens for today.
Add any person (partner, friend, colleague). The engine runs a 5-pillar compatibility analysis: synastry aspects, Human Design inter-type dynamics, Gene Key resonance, numerology harmony, and elemental balance.
A deeper dive into your full reading with AI-generated synthesis (powered by Google Gemini), section-by-section interpretation, and PDF export for offline use.
| Layer | Technology |
|---|---|
| Frontend | React 18, TypeScript, TailwindCSS, Radix UI, Wouter |
| Backend | Node.js 20, Express.js, TypeScript |
| Database | PostgreSQL via Neon (serverless), Drizzle ORM |
| AI | Google Gemini (primary), OpenAI GPT-4 (fallback) |
| Payments | Stripe (subscriptions) |
| Build | Vite 5 (client), esbuild (server) |
| Auth | Passport.js local strategy, Argon2id password hashing |
| Ephemeris | astronomy-engine (real planetary calculations) |
# 1. Clone
git clone https://github.com/Bboy9090/Ultimate-SoulCodex-Engine-of-the-Eternal-Now.git
cd Ultimate-SoulCodex-Engine-of-the-Eternal-Now
# 2. Install
npm install
# 3. Configure environment
cp .env.example .env
# Edit .env — minimum required: DATABASE_URL (or set DEMO_MODE=true to skip DB)
# 4. Build
npm run build
# 5. Run
npm startOpen http://localhost:3000.
Note on
npm run dev: The dev script uses Vite for hot-module reloading. If you're running locally without a Vite-enabled platform environment, usenpm run build && npm startinstead.npm startalways works after a build.
Set DEMO_MODE=true in your .env to run with a seeded demo profile. No PostgreSQL setup needed. All features work except persisting new users and payments.
See .env.example for the full list. Key variables:
| Variable | Required | Description |
|---|---|---|
DATABASE_URL |
Unless DEMO_MODE=true |
PostgreSQL connection string (Neon recommended) |
DEMO_MODE |
No | Set to true to run with seeded demo data, no DB required |
SESSION_SECRET |
Yes (prod) | Random secret for session signing |
GEMINI_API_KEY |
Recommended | Google Gemini API key for AI synthesis |
OPENAI_API_KEY |
Optional | OpenAI fallback for AI features |
STRIPE_SECRET_KEY |
Optional | Stripe key for payment processing |
Supports Railway, Fly.io, Render, and any VPS with Docker.
- Railway — Easiest setup, ~$5/mo
- Fly.io — Free tier available
- VPS / Docker — Best value
Health check endpoint: GET /health → { "status": "ok" }
See ROADMAP.md for what's live, what's coming, and what's intentionally out of scope.
See CHANGELOG.md for release history.
For deeper understanding:
docs/soul-codex/README.mddocs/soul-codex/product-doctrine.mddocs/soul-codex/system-boundaries.mddocs/soul-codex/reading-quality-standard.mddocs/soul-codex/confidence-rules.mddocs/soul-codex/explanation-template.mddocs/soul-codex/parent-family-layer.mddocs/engine/calculation-contract.mddocs/engine/ephemeris-strategy.mddocs/engine/system-inputs.mddocs/engine/system-outputs.mddocs/engine/test-fixtures.md
The active app path in this worktree is root-level:
- Backend entry:
server/index.ts(Express + Vite middleware in dev). - Frontend entry:
client/src/main.tsx(served by rootvite.config.tswithclient/root). - Route layer: root
routes.ts. - Shared and engine packages:
packages/*(core,db,ai,astrology).
- Node.js 20 (use nvm:
nvm use 20) - npm 10+
- Clone the repository
git clone https://github.com/Bboy9090/Ultimate-SoulCodex.git
cd Ultimate-SoulCodex- Install dependencies
npm install- Configure environment
cp .env.example .envFor local development without a database, set in .env:
DEMO_MODE=true
SESSION_SECRET=your-secret-here
This enables demo mode with in-memory storage for local development.
- Build workspace packages
npm run build -w packages/db
npm run build -w packages/core- Start the development server
source ~/.nvm/nvm.sh && nvm use 20
NODE_ENV=development npx tsx server/index.ts- Open the app
Navigate to
http://localhost:5000
npm run build:client # Build frontend to dist/public/
npm run build:server # Build backend to dist/
npm start # Run production server| Variable | Required | Description |
|---|---|---|
SESSION_SECRET |
Yes | Session encryption key. Server fails fast without it. |
DEMO_MODE |
No | Set true for in-memory storage (no database). |
DATABASE_URL |
No | Postgres connection string. Omit for MemStorage. |
GEMINI_API_KEY |
No | Google Gemini AI. Falls back to deterministic if absent. |
GROQ_API_KEY |
No | Groq AI (second cascade tier). |
OPENAI_API_KEY |
No | OpenAI (third cascade tier). |
ALLOWED_ORIGINS |
No | Comma-separated CORS origins for production. Dev allows all. |
NODE_ENV |
No | Set production for secure cookies, generic errors, helmet defaults. |
PORT |
No | Server port (default: 5000). |
Six smoke test suites verify all core systems. No database or AI keys required for non-AI tests.
# Service-level tests (no server needed)
npx tsx scripts/smoke-astrology.ts # 7/7 — natal chart, vedic, transits
npx tsx scripts/smoke-compatibility.ts # 6/6 — scoring honesty, missing systems
npx tsx scripts/smoke-unknown-time.ts # 7/7 — AI unknown-time guards
# Server-level tests (start server first)
SESSION_SECRET=dev DEMO_MODE=true PORT=5055 npx tsx server/index.ts &
SMOKE_BASE=http://localhost:5055 npx tsx scripts/smoke-premium.ts # 7/7
SMOKE_BASE=http://localhost:5055 npx tsx scripts/smoke-production.ts # 7/7
SMOKE_BASE=http://localhost:5055 npx tsx scripts/smoke-ai-live.ts # 4/4 (needs AI keys)Total: 38/38 tests across 6 suites.
The active app structure:
- Backend:
server/index.ts(Express + Vite middleware in dev mode) - Frontend:
client/src/main.tsx(React SPA) - Routes:
routes.ts(~3900 lines) - Packages:
packages/*(core, db, ai, astrology)
- Confidence model:
CONFIDENCE.md - Runtime confidence:
packages/core/compute/confidence.ts - Output schema:
packages/core/soulcodex-v1/schema.ts - Generator pipeline:
packages/core/soulcodex-v1/generate.ts
- No fake or randomly generated mystical data
- Basic personalization (not deeply customized at MVP stage)
- AI-powered features require API keys (GEMINI_API_KEY or OPENAI_API_KEY)
- Journal UI page pending implementation
- Saved insights UI pending implementation
See ROADMAP.md for planned features:
- Dynamic reading engines
- Data privacy review
- Mobile sync capabilities
- Enhanced journal UI
- Saved insights interface
See AGENTS.md for development guidelines and the "No Illusion" rule:
- Never invent results or fake success
- No placeholders/mocks in production paths
- Small, focused PRs only
- Always verify changes work end-to-end
Private repository - All rights reserved.