The Shareholder Asset Compounding Suite
Enterprise-grade full-stack command center for autonomous content portfolio management, predictive SEO intelligence, and multi-site revenue compounding.
CoreText Executive OS is a fully autonomous content portfolio management system that transforms you from an operator into a Shareholder. You establish your asset compounding parameters once, review prioritized multi-dimensional content portfolios, and trigger fully predictive AI webhook engines that compound your enterprise asset valuation permanently.
| Role | Responsibility |
|---|---|
| Shareholder (You) | Set strategy. Review briefings. Approve Tier 3/4 decisions. |
| CoreText Executive OS | Executes Tier 1/2 autonomously. Predicts decay. Intercepts trends. Compounds revenue. |
Autonomous overnight situation reports per asset β revenue pacing, strategic decisions queued, 30-day forecasts, and compounding metrics. One screen, full portfolio awareness.
- Layer 1 β Real-time crawl budget, CTR micro-dip detection, and predictive health scoring
- Layer 2 β Industry velocity analysis, algorithm weather, and emerging topic cluster interception
- Layer 3 β Persistent AI memory per site: audience posture, tone calibration, monetization rules
| Tier | Description | Execution |
|---|---|---|
| T1 | Broken links, meta updates, schema fixes | Fully autonomous |
| T2 | Statistic refreshes, FAQ injections | Autonomous + notification |
| T3 | New content clusters, link restructuring | Human approval required |
| T4 | Strategic pivots, product launches | Human discussion required |
Multi-dimensional scoring engine (demand Γ GEO Γ monetization Γ competitive gap Γ authority fit) with one-click Atomization Studio β instantly fragments a pillar into newsletter, LinkedIn carousel, Twitter thread, YouTube script, and podcast outline.
Track and optimize your citation footprint across ChatGPT Search, Perplexity Pro, and Claude β deploy structured AI Answer Baits and run citability audits.
Predictive decay probability scoring with autonomous refresh briefing generation. Catch ranking erosion 14β30 days before it hits.
Per-article RPM tracking, untapped affiliate gap detection, digital product creation opportunities, and live affiliate program radar.
Real-time competitor publishing velocity monitoring with autonomous fast-response brief generation for viral trend windows (X/Twitter, Reddit, HackerNews, GitHub Trending).
Transfer winning strategies between portfolio sites β conversion tactics, content formats, and engagement patterns that compound across your entire asset network.
Context-aware strategic dialogue powered by OpenAI GPT-4o and Anthropic Claude, with full Layer 3 memory access for every asset in your portfolio.
Add and remove Shareholder Suites on the fly via the UI β no database resets, no code changes. Scale from 1 to unlimited portfolio assets dynamically.
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β FRONTEND (React 18) β
β Vite Β· TypeScript Β· Tailwind CSS Β· Recharts β
β Lucide Icons Β· Axios β
β Port: 3000 β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β REST API β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β BACKEND (FastAPI) β
β Python 3.11+ Β· SQLAlchemy ORM Β· Pydantic v2 β
β OpenAI SDK Β· Anthropic SDK β
β Port: 8000 β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β PERSISTENCE (SQLite) β
β coretext.db β zero-config local database β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
| File | Purpose |
|---|---|
app/main.py |
FastAPI application with CORS and router registration |
app/models.py |
SQLAlchemy ORM models (16 tables) |
app/schemas.py |
Pydantic validation schemas |
app/ai_engine.py |
OpenAI + Anthropic integration with autonomous fallbacks |
app/init_db.py |
Database seeding with production-grade demo data |
app/database.py |
SQLite engine and session management |
app/routers/ |
Modular API routers (sites, briefing, chat, etc.) |
| File | Purpose |
|---|---|
src/App.tsx |
Root application with state management and tab routing |
src/api.ts |
Typed Axios API client |
src/types.ts |
Full TypeScript interface definitions |
src/components/Header.tsx |
Executive dashboard header with live stats |
src/components/Sidebar.tsx |
Navigation module switcher |
src/components/AddSuiteModal.tsx |
Dynamic suite creation modal |
src/components/tabs/ |
10 specialized tab components |
- Python 3.11+ with
pip - Node.js 18+ with
npm
git clone https://github.com/fxinfo24/CoreText.git
cd CoreTextcd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
python run.pyBackend starts at http://localhost:8000 β verify with curl http://localhost:8000
cd frontend
npm install
npm run devFrontend starts at http://localhost:3000 β open in browser.
chmod +x run_coretext.sh
./run_coretext.shOpen Settings (βοΈ icon in header) to configure:
| Provider | Models Used | Purpose |
|---|---|---|
| OpenAI | gpt-4o |
Content atomization, chat, strategic analysis |
| Anthropic | claude-3-5-sonnet |
Fallback AI engine, deep reasoning tasks |
Note: CoreText works fully without API keys β all core features (briefings, portfolios, decay shields, GEO audits) operate on deterministic logic. AI keys unlock enhanced chat and atomization quality.
All endpoints are prefixed with /api/. Full interactive docs at http://localhost:8000/docs (Swagger UI).
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/sites |
List all shareholder suites |
GET |
/api/sites/{id} |
Get single suite |
POST |
/api/sites |
Create new suite (dynamic) |
DELETE |
/api/sites/{id} |
Decommission suite (cascade) |
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/briefing/{site_id} |
Morning briefing |
GET |
/api/nervous-system/{site_id} |
3-layer nervous system |
GET |
/api/decisions/{site_id} |
4-tier decision queue |
POST |
/api/decisions/execute/{id} |
Execute decision |
GET |
/api/portfolios/{site_id} |
Content portfolios |
POST |
/api/portfolios/atomize |
Atomize content |
GET |
/api/geo/{site_id} |
GEO visibility data |
GET |
/api/decay/{site_id} |
Decay predictions |
POST |
/api/decay/shield/{id} |
Deploy decay shield |
GET |
/api/monetization/{site_id} |
Revenue intelligence |
GET |
/api/competitors/{site_id} |
Competitive intel |
GET |
/api/hive |
Hive mind learnings |
POST |
/api/chat |
AI Co-Director chat |
CoreText/
βββ backend/
β βββ app/
β β βββ main.py # FastAPI app entry
β β βββ models.py # 16 SQLAlchemy models
β β βββ schemas.py # Pydantic schemas
β β βββ database.py # DB engine config
β β βββ ai_engine.py # AI integration layer
β β βββ init_db.py # Seed data
β β βββ routers/ # 11 modular API routers
β βββ requirements.txt
β βββ run.py
β βββ coretext.db
βββ frontend/
β βββ src/
β β βββ App.tsx
β β βββ api.ts
β β βββ types.ts
β β βββ components/
β β βββ Header.tsx
β β βββ Sidebar.tsx
β β βββ AddSuiteModal.tsx
β β βββ SettingsModal.tsx
β β βββ AtomizeModal.tsx
β β βββ Toast.tsx
β β βββ tabs/ # 10 tab components
β βββ index.html
β βββ package.json
β βββ vite.config.ts
β βββ tailwind.config.js
βββ run_coretext.sh
βββ .gitignore
βββ README.md
- API keys are stored locally in SQLite β never committed to version control
- CORS is configured for local development (
*) β restrict for production - No authentication layer by default β add JWT/OAuth for deployment
- All AI calls use official SDKs with proper error handling
- Multi-user authentication (JWT + role-based access)
- PostgreSQL migration for production workloads
- Webhook integrations (Stripe, PartnerStack, Impact)
- Scheduled autonomous briefing emails (SendGrid/Resend)
- Real-time Google Search Console API integration
- Live Perplexity/ChatGPT citation tracking
- Docker Compose deployment configuration
- Mobile-responsive PWA shell
MIT License β see LICENSE for details.
CoreText Executive OS v2.0.0
Stop operating. Start compounding.