The Best Platform to Learn Physical AI & Humanoid Robotics
Robotext is an interactive learning platform that teaches Physical AI, robotics, and embodied intelligence through hands-on projects. From foundational concepts to cutting-edge Vision-Language-Action (VLA) models, learn by building real robotic systems.
-
4 Comprehensive Modules:
- 🤖 Robotic Nervous System: Sensors, actuators, and control loops
- 🔷 Digital Twin: Simulation and virtual testing environments
- 🧠 AI Robot Brain: Machine learning and intelligent decision-making
- 👁️ Vision-Language-Action Models: Multimodal AI for robotics
-
Bilingual Support: Full English and Urdu (اردو) content with RTL layout
-
User Authentication: Secure sign-up, login, and personalized learning profiles
-
Adaptive Learning: Tailored content based on experience level and hardware setup
-
Dark/Light Mode: Comfortable learning in any environment
- Framework: Docusaurus 3.9.2 (React-based static site generator)
- Language: TypeScript 5.3.3
- Styling: Tailwind CSS 3.x + CSS Modules
- i18n: Built-in Docusaurus i18n with English & Urdu
- Deployment: GitHub Pages
- Runtime: Node.js 18+ with Express 4.18.2
- Language: TypeScript 5.3.3
- Authentication: better-auth 0.8.0 (email/password, 30-day sessions)
- Database: Neon PostgreSQL (serverless)
- ORM: Drizzle ORM 0.29.5
- Validation: Zod 3.22.4
- Logging: Winston 3.11.0
- Deployment: Railway
robotext/
├── api/ # Backend API (Express + TypeScript)
│ ├── src/
│ │ ├── routes/ # API endpoints (auth, user)
│ │ ├── db/ # Database schema & migrations
│ │ ├── auth/ # better-auth configuration
│ │ ├── middleware/ # CORS, logging, error handling
│ │ └── utils/ # Validation schemas
│ └── .env.example # Environment variables template
│
├── web/ # Frontend (Docusaurus)
│ ├── docs/ # Course content (Markdown)
│ ├── src/
│ │ ├── pages/ # Landing, signup, login, onboarding
│ │ ├── components/ # AuthContext, ProtectedRoute, LanguageToggle
│ │ └── css/ # Global styles, RTL support
│ └── i18n/ur/ # Urdu translations
│
└── specs/ # Feature specifications & planning
└── 001-foundation-auth/
- Node.js 18+ and npm
- PostgreSQL database (or Neon account)
- Git
-
Clone and navigate:
git clone https://github.com/anasahmed07/robotext.git cd robotext/api -
Install dependencies:
npm install
-
Configure environment:
cp .env.example .env # Edit .env and set: # - DATABASE_URL (from Neon dashboard) # - AUTH_SECRET (generate with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
-
Run database migrations:
npm run db:push
-
Start development server:
npm run dev
Backend will run on http://localhost:3000
-
Navigate to web directory:
cd ../web -
Install dependencies:
npm install
-
Configure environment:
cp .env.example .env # Set REACT_APP_API_URL=http://localhost:3000 -
Start development server:
npm start
Frontend will run on http://localhost:3001
- user: Core user data (id, email, name, emailVerified)
- session: Authentication sessions (token, expiresAt, userId)
- account: OAuth providers & password storage
- verification: Email verification tokens
- user_profiles: Learning profiles (programmingLanguages, rosFamiliarity, roboticsKnowledge, hardwareSpecs)
- Create new project in Railway
- Connect GitHub repository
- Set environment variables (DATABASE_URL, AUTH_SECRET, FRONTEND_URL)
- Deploy from main branch
- Enable GitHub Pages in repository settings
- Set source to "GitHub Actions"
- Add
BACKEND_API_URLsecret in repository settings - Push to main branch (auto-deploys via GitHub Actions)
# Run tests (when implemented)
cd api && npm test
cd web && npm test
# Lint code
npm run lint
# Format code
npm run format- Specification:
specs/001-foundation-auth/spec.md - Architecture:
specs/001-foundation-auth/plan.md - Tasks:
specs/001-foundation-auth/tasks.md - Quick Start:
specs/001-foundation-auth/quickstart.md
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
This project is licensed under the MIT License.
- Live Site: [GitHub Pages URL]
- API: [Railway URL]
- Repository: https://github.com/anasahmed07/robotext
Anas Ahmed - @anasahmed07
Built with ❤️ using Docusaurus and better-auth