- ModuleManager: Central tracking for installed marketplace modules - DataAnalyzerWidget: Real-time CPU/RAM/Battery/Storage widget (unlocked by Data Analyzer module) - BottomNavBar: Navigation bar for Projects/Chat/Marketplace/Settings - RootShell: Real root command execution utility - TerminalActivity: Full root shell with neofetch, sysinfo, real Linux commands - Terminal Pro module: Adds aliases (ll, la, h), command history - ArcadeActivity + SnakeGame: Pixel Arcade module unlocks retro games - fade_in/fade_out animations for smooth transitions
28 KiB
🏗️ Modular Architecture Design for aethex.dev Developer Platform
Status: Phase 1 Analysis Complete
Date: January 7, 2026
📋 Executive Summary
This document outlines the transformation of aethex-forge from a multi-purpose ecosystem hub into aethex.dev - a professional developer platform while preserving all existing functionality (including 🔒 Discord Activity).
Current State:
- Single monolithic React SPA with 843-line App.tsx
- 90+ routes serving multiple audiences (developers, creators, staff, corporate clients, investors)
- Mixed concerns: documentation, dashboards, community, staff tools, marketing pages
- Existing docs system with 50+ markdown files
Target State:
- Modular developer platform with clear information architecture
- Distinct feature modules (Docs, API Reference, Dashboard, SDK, Templates, Marketplace)
- Developer-first UX (clean, technical aesthetic like Vercel/Stripe)
- All existing functionality preserved and accessible
🎯 Module Structure Overview
aethex.dev/
│
├── 🏠 Landing (New Developer Platform Homepage)
│ └── Marketing, value props, quick starts, featured integrations
│
├── 📚 /docs - Documentation System
│ ├── Getting Started
│ ├── Tutorials & Guides
│ ├── Platform Concepts
│ ├── Integrations (Discord, Unity, Roblox, etc.)
│ ├── API Concepts
│ └── Examples & Code Samples
│
├── 🔧 /api-reference - Interactive API Documentation
│ ├── Authentication
│ ├── Endpoints by Category (Creators, GameForge, Passport, etc.)
│ ├── Interactive Playground
│ └── Webhooks & Events
│
├── 📊 /dashboard - Developer Dashboard
│ ├── API Keys Management
│ ├── Usage Analytics
│ ├── Integration Settings
│ ├── Billing (future)
│ └── Projects
│
├── 📦 /sdk - SDK Distribution & Documentation
│ ├── JavaScript/TypeScript SDK
│ ├── Python SDK
│ ├── Unity SDK (C#)
│ ├── Unreal SDK (C++)
│ └── Version Management
│
├── 🎨 /templates - Project Templates & Boilerplates
│ ├── Template Library
│ ├── Template Details
│ ├── "Use Template" Flow
│ └── Community Templates (future)
│
├── 🏪 /marketplace - Plugin/Module Marketplace (Phase 2)
│ ├── Browse Plugins
│ ├── Product Details
│ ├── Purchase/Install
│ └── Developer Portal (for sellers)
│
├── 🧪 /playground - Code Sandbox (Phase 2)
│ └── Interactive coding environment
│
└── 🔒 PROTECTED ZONES (Unchanged)
├── /discord - Discord Activity
├── /activity - Activity alias
├── /discord-verify - Account linking
└── /api/discord/* - All Discord endpoints
📊 Current Route Analysis & Mapping
Category 1: Developer Platform Routes (ENHANCE)
Documentation Routes (34 routes)
Current:
├── /docs (with nested routes via DocsLayout)
├── /docs/tutorials
├── /docs/getting-started
├── /docs/platform
├── /docs/api
├── /docs/cli
├── /docs/examples
├── /docs/integrations
└── /docs/curriculum
👉 Action: ENHANCE with new developer platform design
- Keep all existing routes
- Apply new design system
- Add three-column layout (nav | content | examples)
- Add interactive code playgrounds
- Consolidate Discord docs into main docs system
Dashboard Routes (6 routes)
Current:
├── /dashboard (main dashboard)
├── /dashboard/nexus (Nexus-specific)
├── /dashboard/labs (redirects to aethex.studio)
├── /dashboard/gameforge (GameForge management)
└── /dashboard/dev-link (redirects to Nexus)
👉 Action: TRANSFORM into Developer Dashboard
- Keep /dashboard as main developer dashboard
- Add /dashboard/api-keys (NEW)
- Add /dashboard/usage (NEW)
- Add /dashboard/settings (NEW)
- Add /dashboard/billing (NEW - placeholder)
- Keep /dashboard/nexus, /dashboard/gameforge for specific services
Profile & Auth Routes (13 routes)
Current:
├── /profile, /profile/me
├── /profile/applications
├── /profile/link-discord (🔒 PROTECTED)
├── /passport, /passport/me, /passport/:username
├── /login, /signup, /reset-password
├── /onboarding
└── /roblox-callback, /web3-callback
👉 Action: INTEGRATE with developer dashboard
- Keep all existing routes
- Add developer-specific profile sections
- Link from dashboard to profile settings
Category 2: 🔒 PROTECTED Discord Activity (DO NOT MODIFY)
🔒 /discord - Discord Activity main page
🔒 /discord/callback - OAuth callback
🔒 /discord-verify - Account verification/linking
🔒 /activity - Activity alias
🔒 /api/discord/* - All Discord backend endpoints
👉 Action: PROTECT and REFERENCE
- Do not modify routes
- Do not modify components
- Add Discord integration to new docs as featured example
- Link from developer dashboard to Discord connection status
Category 3: Community & Creator Routes (KEEP AS-IS)
Creator Network (8 routes)
├── /creators (directory)
├── /creators/:username (profiles)
├── /opportunities (hub)
├── /opportunities/post
├── /opportunities/:id
├── /developers (directory)
└── /dev-link (redirects to opportunities)
👉 Action: MAINTAIN
- Keep all routes functional
- Apply new design system for consistency
- Link from developer landing page as "Hire Developers" CTA
Community Routes (15 routes)
├── /community/* (main community hub)
├── /feed (redirects to /community/feed)
├── /arms (community arms/chapters)
├── /teams, /squads, /mentee-hub
├── /projects, /projects/new, /projects/:id/board
├── /projects/admin
├── /realms
└── /ethos/* (music licensing system - 4 routes)
👉 Action: MAINTAIN
- Keep all routes functional
- Link from main nav as "Community"
- Apply design system for consistency
Category 4: Corporate & Services Routes (KEEP AS-IS)
Corp Routes (9 routes)
├── /corp (main corporate services page)
├── /corp/schedule-consultation
├── /corp/view-case-studies
├── /corp/contact-us
├── /engage (pricing)
├── /game-development
├── /mentorship
├── /research
└── Legacy redirects: /consulting, /services → /corp
👉 Action: MAINTAIN
- Keep all routes functional
- Link from footer as "Enterprise Solutions"
- Separate from developer platform UX
Foundation Routes (2 routes)
├── /foundation (redirects to aethex.foundation)
├── /gameforge (public, redirects to aethex.foundation/gameforge)
└── /gameforge/manage (local, for management)
👉 Action: MAINTAIN
- Keep redirects functional
- Link from footer
Category 5: Staff & Internal Routes (KEEP AS-IS)
Staff Routes (18 routes)
├── /staff (staff portal)
├── /staff/login
├── /staff/dashboard
├── /staff/directory
├── /staff/admin
├── /staff/chat
├── /staff/docs
├── /staff/achievements
├── /staff/announcements
├── /staff/expense-reports
├── /staff/marketplace
├── /staff/knowledge-base
├── /staff/learning-portal
├── /staff/performance-reviews
├── /staff/project-tracking
└── /staff/team-handbook
👉 Action: MAINTAIN
- Keep all routes functional
- Not part of public developer platform
- Separate authentication and access control
Admin Routes (5 routes)
├── /admin (main admin panel)
├── /admin/feed (feed management)
├── /admin/docs-sync (GitBook sync)
├── /bot-panel (Discord bot admin)
└── Internal docs hub (/internal-docs/* - 15 routes)
👉 Action: MAINTAIN
- Keep all routes functional
- Not part of public developer platform
Category 6: Informational & Marketing Routes (KEEP AS-IS)
Marketing Pages (14 routes)
├── / (homepage - currently SubdomainPassport)
├── /about, /contact, /get-started
├── /explore
├── /investors
├── /roadmap, /trust, /press
├── /downloads
├── /status, /changelog
├── /support
├── /blog, /blog/:slug
└── /wix, /wix/case-studies, /wix/faq
👉 Action: TRANSFORM Homepage
- Replace / with new developer platform landing page
- Keep all other routes
- Link from footer and main nav
- Apply consistent navigation
Legal Routes (3 routes)
├── /privacy
├── /terms
└── /careers
👉 Action: MAINTAIN
- Keep all routes
- Update with developer platform links in footer
Hub Routes (6 routes)
Client Hub (for corporate clients):
├── /hub/client
├── /hub/client/dashboard
├── /hub/client/projects
├── /hub/client/invoices
├── /hub/client/contracts
├── /hub/client/reports
└── /hub/client/settings
👉 Action: MAINTAIN
- Keep all routes functional
- Separate from developer platform
Category 7: External Redirects (MAINTAIN)
├── /labs → https://aethex.studio
├── /foundation → https://aethex.foundation
├── /gameforge → https://aethex.foundation/gameforge
└── Various legacy redirects
👉 Action: MAINTAIN
- Keep all redirects functional
- Document in sitemap
🎨 Shared Components Inventory
Core Shared Components (Keep & Enhance)
Navigation Components
// Current
- Navigation bar (part of various layouts)
- Footer (various implementations)
// Needed for Developer Platform
✅ /client/components/dev-platform/DevPlatformNav.tsx
- Top navigation with module switcher
- Search command palette (Cmd+K)
- User menu with API keys link
✅ /client/components/dev-platform/DevPlatformFooter.tsx
- Ecosystem links (aethex.net, .info, .dev)
- Resources, Legal, Social
- Consistent across all pages
✅ /client/components/dev-platform/Breadcrumbs.tsx
- Path navigation
- Used in docs, API reference, dashboard
Layout Components
// Current
- DocsLayout (for /docs routes)
- Various page layouts
// Needed for Developer Platform
✅ /client/components/dev-platform/layouts/DevPlatformLayout.tsx
- Base layout wrapper
- Includes nav, footer, main content area
✅ /client/components/dev-platform/layouts/ThreeColumnLayout.tsx
- For docs and API reference
- Left: Navigation tree
- Center: Content
- Right: Code examples / Table of contents
✅ /client/components/dev-platform/layouts/DashboardLayout.tsx
- Dashboard sidebar
- Main content area
- Stats overview
Design System Components
// Current (from shadcn/ui)
- Already have: Button, Card, Input, Select, Dialog, Toast, etc.
- Location: /client/components/ui/
// Needed (New Developer Platform Specific)
✅ /client/components/dev-platform/ui/CodeBlock.tsx
- Syntax highlighting (Prism.js)
- Copy button
- Language selector tabs
- Line numbers
✅ /client/components/dev-platform/ui/ApiEndpointCard.tsx
- Method badge (GET, POST, etc.)
- Endpoint path
- Description
- Try It button
✅ /client/components/dev-platform/ui/StatCard.tsx
- Dashboard metrics display
- Icon, label, value, trend
✅ /client/components/dev-platform/ui/Callout.tsx
- Info, Warning, Success, Error variants
- Icon, title, description
✅ /client/components/dev-platform/ui/CommandPalette.tsx
- Cmd+K search
- Quick navigation
- Command shortcuts
✅ /client/components/dev-platform/ui/LanguageTab.tsx
- Code example language switcher
- JavaScript, Python, cURL, etc.
✅ /client/components/dev-platform/ui/TemplateCard.tsx
- Template preview
- Stats (stars, forks, uses)
- Use Template button
✅ /client/components/dev-platform/ui/ApiKeyManager.tsx
- Create, view, revoke API keys
- Masked display
- Copy to clipboard
✅ /client/components/dev-platform/ui/UsageChart.tsx
- Recharts integration
- API usage over time
- Filterable time ranges
Context Providers (Keep All)
// Current (KEEP ALL)
- AuthProvider - Authentication state
- DiscordProvider - 🔒 PROTECTED
- DiscordActivityProvider - 🔒 PROTECTED
- Web3Provider - Web3 connection
- DocsThemeProvider - Docs theme
- ArmThemeProvider - Community arms
- MaintenanceProvider - Maintenance mode
- SubdomainPassportProvider - Subdomain routing
- QueryClientProvider - React Query
// New (Add for Developer Platform)
✅ DevPlatformProvider
- Developer-specific state (API keys, usage stats)
- Command palette state
- Recent searches
🗂️ Proposed Directory Structure
client/
├── App.tsx (UPDATE: Add new developer platform routes)
│
├── pages/
│ ├── Index.tsx (REPLACE: New developer platform landing)
│ │
│ ├── dev-platform/ (NEW: Developer platform pages)
│ │ ├── DevLanding.tsx (New developer homepage)
│ │ │
│ │ ├── docs/ (ENHANCE existing /docs pages)
│ │ │ ├── DocsHome.tsx
│ │ │ ├── DocsGettingStarted.tsx (existing)
│ │ │ ├── DocsTutorials.tsx (existing)
│ │ │ ├── DocsIntegrations.tsx (existing)
│ │ │ └── [...]
│ │ │
│ │ ├── api-reference/ (NEW)
│ │ │ ├── ApiReferenceHome.tsx
│ │ │ ├── ApiAuthentication.tsx
│ │ │ ├── ApiEndpoints.tsx
│ │ │ ├── ApiPlayground.tsx
│ │ │ └── ApiWebhooks.tsx
│ │ │
│ │ ├── dashboard/ (NEW: Developer dashboard)
│ │ │ ├── DeveloperDashboard.tsx
│ │ │ ├── ApiKeysManagement.tsx
│ │ │ ├── UsageAnalytics.tsx
│ │ │ ├── IntegrationSettings.tsx
│ │ │ └── BillingPage.tsx (placeholder)
│ │ │
│ │ ├── sdk/ (NEW)
│ │ │ ├── SdkHome.tsx
│ │ │ ├── SdkJavaScript.tsx
│ │ │ ├── SdkPython.tsx
│ │ │ ├── SdkUnity.tsx
│ │ │ └── SdkUnreal.tsx
│ │ │
│ │ ├── templates/ (NEW)
│ │ │ ├── TemplateLibrary.tsx
│ │ │ ├── TemplateDetail.tsx
│ │ │ └── UseTemplate.tsx
│ │ │
│ │ └── marketplace/ (NEW - Phase 2)
│ │ ├── MarketplaceHome.tsx
│ │ ├── ProductDetail.tsx
│ │ └── SellerPortal.tsx
│ │
│ ├── 🔒 Discord* (PROTECTED - Do not modify)
│ │ ├── DiscordActivity.tsx
│ │ ├── DiscordOAuthCallback.tsx
│ │ └── DiscordVerify.tsx
│ │
│ ├── Dashboard.tsx (KEEP: General dashboard, links to developer dashboard)
│ ├── Profile.tsx (KEEP)
│ ├── Login.tsx (KEEP)
│ ├── [...] (All other existing pages - KEEP)
│
├── components/
│ ├── ui/ (EXISTING: shadcn/ui components - KEEP)
│ │
│ ├── dev-platform/ (NEW: Developer platform components)
│ │ ├── DevPlatformNav.tsx
│ │ ├── DevPlatformFooter.tsx
│ │ ├── Breadcrumbs.tsx
│ │ ├── SearchCommandPalette.tsx
│ │ │
│ │ ├── layouts/
│ │ │ ├── DevPlatformLayout.tsx
│ │ │ ├── ThreeColumnLayout.tsx
│ │ │ └── DashboardLayout.tsx
│ │ │
│ │ ├── docs/
│ │ │ ├── DocsSidebar.tsx
│ │ │ ├── DocsTableOfContents.tsx
│ │ │ ├── CodeBlock.tsx
│ │ │ ├── Callout.tsx
│ │ │ └── LanguageTabs.tsx
│ │ │
│ │ ├── api/
│ │ │ ├── ApiPlayground.tsx
│ │ │ ├── ApiEndpointCard.tsx
│ │ │ ├── RequestBuilder.tsx
│ │ │ └── ResponseViewer.tsx
│ │ │
│ │ ├── dashboard/
│ │ │ ├── ApiKeyManager.tsx
│ │ │ ├── ApiKeyCard.tsx
│ │ │ ├── UsageChart.tsx
│ │ │ ├── StatCard.tsx
│ │ │ └── ActivityFeed.tsx
│ │ │
│ │ ├── sdk/
│ │ │ ├── SdkCard.tsx
│ │ │ ├── InstallInstructions.tsx
│ │ │ ├── VersionSelector.tsx
│ │ │ └── DownloadButton.tsx
│ │ │
│ │ └── templates/
│ │ ├── TemplateCard.tsx
│ │ ├── TemplatePreview.tsx
│ │ └── UseTemplateButton.tsx
│ │
│ ├── docs/ (EXISTING: Current docs components)
│ │ └── DocsLayout.tsx (ENHANCE with new design)
│ │
│ └── [...] (All other existing components - KEEP)
│
├── contexts/
│ ├── DiscordContext.tsx (🔒 PROTECTED)
│ ├── DiscordActivityContext.tsx (🔒 PROTECTED)
│ ├── DevPlatformContext.tsx (NEW)
│ └── [...] (All other existing contexts - KEEP)
│
├── hooks/ (NEW)
│ ├── useApiKeys.ts
│ ├── useUsageStats.ts
│ ├── useTemplates.ts
│ └── useCommandPalette.ts
│
└── lib/
├── utils.ts (EXISTING - KEEP)
├── api-client.ts (NEW: Developer API client)
└── syntax-highlighter.ts (NEW: Prism.js integration)
api/
├── discord/ (🔒 PROTECTED - Do not modify)
│ ├── activity-auth.ts
│ ├── link.ts
│ ├── token.ts
│ ├── create-linking-session.ts
│ ├── verify-code.ts
│ └── oauth/
│ ├── start.ts
│ └── callback.ts
│
├── developer/ (NEW: Developer platform APIs)
│ ├── keys/
│ │ ├── create.ts
│ │ ├── list.ts
│ │ ├── revoke.ts
│ │ └── validate.ts
│ │
│ ├── usage/
│ │ ├── analytics.ts
│ │ ├── stats.ts
│ │ └── export.ts
│ │
│ └── templates/
│ ├── list.ts
│ ├── get.ts
│ └── clone.ts
│
└── [...] (All other existing API routes - KEEP)
📐 Dependencies Between Modules
graph TD
A[Landing Page] --> B[Docs]
A --> C[API Reference]
A --> D[Dashboard]
A --> E[SDK]
A --> F[Templates]
B --> C
B --> E
C --> D
D --> C
E --> B
F --> B
F --> D
D --> G[🔒 Discord Integration]
B --> G
H[Shared Design System] --> A
H --> B
H --> C
H --> D
H --> E
H --> F
I[Auth System] --> A
I --> B
I --> C
I --> D
I --> E
I --> F
Key Dependencies:
- Shared Design System → All modules
- Auth System → Dashboard, API Reference (playground), Templates
- Docs → API Reference (links to concepts), SDK (documentation)
- Dashboard → API Reference (usage stats), Discord (connection status)
- Templates → Docs (guides), Dashboard (deployed projects)
🛡️ Protected Zone Integration
How Developer Platform Interfaces with Discord Activity
Allowed Integrations:
✅ In Documentation (/docs/integrations/discord)
- Reference Discord Activity as a featured integration
- Link to protected Discord documentation (consolidated guides)
- Show code examples using Discord SDK
- Tutorial: "Building a Discord Activity with AeThex"
✅ In API Reference (/api-reference/discord)
- Document (read-only) Discord API endpoints
- Show request/response examples
- Link to Discord Activity authentication docs
- Note: "See Discord Activity documentation for implementation"
✅ In Dashboard (/dashboard/integrations)
- Show Discord connection status (linked/not linked)
- Display Discord username if linked
- Button: "Manage Discord Connection" → redirects to
/profile/link-discord(🔒 protected route) - Show Discord Activity usage stats (if available)
✅ In Landing Page (/)
- Feature Discord Activity as "Build Games Inside Discord"
- Screenshot/demo of Discord Activity
- CTA: "Learn More" →
/docs/integrations/discord
Forbidden Actions:
❌ Do not modify /discord, /discord-verify, /activity routes
❌ Do not modify DiscordActivity.tsx, DiscordOAuthCallback.tsx, DiscordVerify.tsx components
❌ Do not modify /api/discord/* endpoints
❌ Do not change DiscordProvider or DiscordActivityProvider logic
❌ Do not remove or relocate Discord manifest file
🎯 Implementation Strategy
Phase 1: Foundation (Week 1-2)
Week 1: Design System & Core Components
- Create
/client/components/dev-platform/directory structure - Implement core UI components (CodeBlock, ApiEndpointCard, StatCard, Callout)
- Build navigation components (DevPlatformNav, DevPlatformFooter, Breadcrumbs)
- Create layout components (DevPlatformLayout, ThreeColumnLayout, DashboardLayout)
- Set up DevPlatformContext provider
- Define design tokens (colors, typography, spacing) for developer platform
Week 2: Route Structure & Landing Page
- Add new routes to App.tsx (dashboard, api-reference, sdk, templates)
- Create developer platform landing page (
/pages/dev-platform/DevLanding.tsx) - Replace homepage (
/route) with new developer landing - Ensure all existing routes remain functional
- Test navigation between old and new sections
Phase 2: Documentation System (Week 3-4)
Week 3: Docs Framework
- Enhance existing
/docsroutes with new design system - Implement three-column layout for docs
- Add command palette (Cmd+K) search
- Create docs navigation tree component
- Set up syntax highlighting for code blocks
Week 4: Discord Documentation Consolidation
- Read and analyze all 14 Discord documentation files
- Create consolidated guides:
discord-integration-guide.mddiscord-activity-reference.mddiscord-deployment.md
- Archive old Discord docs to
/docs/archive/discord/ - Integrate into main docs navigation at
/docs/integrations/discord - Cross-link between new guides
Phase 3: Developer Dashboard (Week 5-6)
Week 5: API Key Management
- Create database schema for API keys
- Implement
/api/developer/keys/*endpoints - Build API key management UI (
/dashboard/api-keys) - Implement key generation, viewing, revoking
- Add API key authentication middleware
Week 6: Usage Analytics
- Implement usage tracking for API calls
- Create
/api/developer/usage/*endpoints - Build analytics dashboard UI (
/dashboard/usage) - Integrate recharts for visualizations
- Add real-time updates or polling
Phase 4: API Reference & SDK (Week 7-8)
Week 7: Interactive API Reference
- Create API reference pages (
/api-reference) - Document all API endpoints by category
- Build API endpoint documentation format
- Implement syntax highlighting for examples
- Create tabbed code examples (JavaScript, Python, cURL)
Week 8: API Playground & SDK Pages
- Build ApiPlayground component
- Implement request builder and response viewer
- Create SDK landing page (
/sdk) - Build SDK-specific documentation pages
- Add version selector and download tracking
Phase 5: Templates & Polish (Week 9-10)
Week 9: Templates System
- Design templates database schema
- Create
/api/templates/*endpoints - Build template library UI (
/templates) - Implement template card components
- Create "Use Template" flow
Week 10: QA & Performance
- Accessibility audit (WCAG 2.1 AA)
- Performance optimization (Lighthouse > 90)
- Mobile responsiveness testing
- Cross-browser testing
- Security audit
Phase 6: Deployment (Week 11-12)
Week 11: Staging Deployment
- Set up staging environment
- Deploy to staging
- Run smoke tests
- Gather internal feedback
- Fix critical bugs
Week 12: Production Launch
- Final security review
- Performance monitoring setup
- Deploy to production
- Monitor error rates
- Gather user feedback
🚀 Migration Plan
Route Migration
No Breaking Changes:
- All existing routes remain functional
- New routes added without conflicting with existing
- Gradual transition: users can access both old and new sections
Migration Strategy:
Phase 1: Additive (New routes alongside old)
├── /dashboard (old) → General dashboard
└── /dashboard/dev (new) → Developer dashboard
Phase 2: Redirect (Old routes redirect to new)
├── /dashboard → /dashboard/dev (redirect)
└── Legacy routes preserved
Phase 3: Consolidation (Remove old)
├── Only when new system is proven stable
└── Archive old components
Component Migration
Strategy:
- Build new components in
/client/components/dev-platform/ - Use existing shadcn/ui components as base
- Gradually apply new design system to existing pages
- Keep old components until migration complete
- Remove old components only when fully replaced
Data Migration
API Keys:
- New feature, no existing data to migrate
- Create fresh database tables
Usage Analytics:
- Start fresh tracking from launch date
- No historical data needed
📊 Success Metrics
Launch Metrics (Week 1-4)
Traffic:
- Unique visitors to developer platform
- Page views per visitor
- Time on site
Engagement:
- API keys generated
- SDK downloads
- Template uses
- API playground requests
Quality:
- Lighthouse score > 90
- Zero critical accessibility issues
- < 2s page load time
- < 1% error rate
Growth Metrics (Month 1-3)
Adoption:
- Monthly active developers
- Total API calls
- New developer signups
Retention:
- Week 1 retention
- Week 4 retention
- Churn rate
Satisfaction:
- User feedback score
- Support ticket volume
- Documentation helpfulness rating
🎨 Design Principles
Visual Identity:
- Dark mode first (developer preference)
- Clean, technical aesthetic (Vercel/Stripe inspiration)
- Consistent with aethex.net branding (blue/purple theme)
- Typography: Inter for UI, JetBrains Mono for code
UX Principles:
- Developer efficiency (keyboard shortcuts, quick actions)
- Progressive disclosure (simple by default, power features hidden)
- Consistent patterns (same interaction model across modules)
- Fast and responsive (< 100ms interaction latency)
Content Strategy:
- Code-first (show examples first, explain after)
- Practical over theoretical (real-world use cases)
- Searchable (every page indexed for Cmd+K)
- Up-to-date (automated freshness checks)
✅ Pre-Implementation Checklist
Before starting implementation:
- Discord Activity protection inventory created (
PROTECTED_DISCORD_ACTIVITY.md) - Current route structure analyzed and documented
- Component inventory completed
- Module structure designed
- Design mockups created (Figma/Sketch)
- Database schema designed for new features
- API endpoint specification written
- Stakeholder approval obtained
- Development environment set up
- Test plan created
🔗 Related Documents
PROTECTED_DISCORD_ACTIVITY.md- Discord Activity protection inventoryAGENTS.md- Current project structure and tech stack/docs/DISCORD-*.md- Existing Discord documentation (to be consolidated)/docs/TECH_STACK_ANALYSIS.md- Technology stack details
Next Steps:
- Review this architecture document with stakeholders
- Create design mockups for key pages
- Proceed with Phase 1 implementation (Design System & Core Components)
- Set up project tracking (GitHub Projects or Linear)
- Begin implementation following week-by-week plan
Questions to Resolve:
- Should we use Docusaurus, custom MDX, or Mintlify for documentation?
- What analytics tool for usage tracking? (Mixpanel, Amplitude, custom?)
- Payment provider for marketplace? (Stripe Connect?)
- Hosting strategy: Keep on current platform or migrate?
Document Version: 1.0
Author: GitHub Copilot (Claude Sonnet 4.5)
Status: Ready for Review
Last Updated: January 7, 2026