{"id":50786719,"url":"https://github.com/anasahmed07/robotext","last_synced_at":"2026-06-12T08:03:52.546Z","repository":{"id":329424626,"uuid":"1110457286","full_name":"anasahmed07/robotext","owner":"anasahmed07","description":"The Best Platform to learn Physical AI \u0026 Humanoid Robotics.","archived":false,"fork":false,"pushed_at":"2025-12-19T12:58:48.000Z","size":19704,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-22T04:57:48.519Z","etag":null,"topics":["better-auth","book","docasaurus","documentation","express","physical-ai","robotics","ros2"],"latest_commit_sha":null,"homepage":"https://anasahmed07.github.io/robotext","language":"MDX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anasahmed07.png","metadata":{"files":{"readme":"README.md","changelog":"history/prompts/001-foundation-auth/001-foundation-auth-specification-creation.spec.prompt.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-05T08:13:52.000Z","updated_at":"2025-12-19T12:58:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/anasahmed07/robotext","commit_stats":null,"previous_names":["anasahmed07/robotext"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/anasahmed07/robotext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasahmed07%2Frobotext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasahmed07%2Frobotext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasahmed07%2Frobotext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasahmed07%2Frobotext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anasahmed07","download_url":"https://codeload.github.com/anasahmed07/robotext/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anasahmed07%2Frobotext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34234573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["better-auth","book","docasaurus","documentation","express","physical-ai","robotics","ros2"],"created_at":"2026-06-12T08:03:47.296Z","updated_at":"2026-06-12T08:03:52.531Z","avatar_url":"https://github.com/anasahmed07.png","language":"MDX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robotext\n\n**The Best Platform to Learn Physical AI \u0026 Humanoid Robotics**\n\nRobotext 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.\n\n## 🚀 Features\n\n- **4 Comprehensive Modules**:\n  - 🤖 Robotic Nervous System: Sensors, actuators, and control loops\n  - 🔷 Digital Twin: Simulation and virtual testing environments\n  - 🧠 AI Robot Brain: Machine learning and intelligent decision-making\n  - 👁️ Vision-Language-Action Models: Multimodal AI for robotics\n\n- **Bilingual Support**: Full English and Urdu (اردو) content with RTL layout\n- **User Authentication**: Secure sign-up, login, and personalized learning profiles\n- **Adaptive Learning**: Tailored content based on experience level and hardware setup\n- **Dark/Light Mode**: Comfortable learning in any environment\n\n## 🛠️ Tech Stack\n\n### Frontend\n- **Framework**: Docusaurus 3.9.2 (React-based static site generator)\n- **Language**: TypeScript 5.3.3\n- **Styling**: Tailwind CSS 3.x + CSS Modules\n- **i18n**: Built-in Docusaurus i18n with English \u0026 Urdu\n- **Deployment**: GitHub Pages\n\n### Backend\n- **Runtime**: Node.js 18+ with Express 4.18.2\n- **Language**: TypeScript 5.3.3\n- **Authentication**: better-auth 0.8.0 (email/password, 30-day sessions)\n- **Database**: Neon PostgreSQL (serverless)\n- **ORM**: Drizzle ORM 0.29.5\n- **Validation**: Zod 3.22.4\n- **Logging**: Winston 3.11.0\n- **Deployment**: Railway\n\n## 📦 Project Structure\n\n```\nrobotext/\n├── api/                    # Backend API (Express + TypeScript)\n│   ├── src/\n│   │   ├── routes/         # API endpoints (auth, user)\n│   │   ├── db/             # Database schema \u0026 migrations\n│   │   ├── auth/           # better-auth configuration\n│   │   ├── middleware/     # CORS, logging, error handling\n│   │   └── utils/          # Validation schemas\n│   └── .env.example        # Environment variables template\n│\n├── web/                    # Frontend (Docusaurus)\n│   ├── docs/               # Course content (Markdown)\n│   ├── src/\n│   │   ├── pages/          # Landing, signup, login, onboarding\n│   │   ├── components/     # AuthContext, ProtectedRoute, LanguageToggle\n│   │   └── css/            # Global styles, RTL support\n│   └── i18n/ur/            # Urdu translations\n│\n└── specs/                  # Feature specifications \u0026 planning\n    └── 001-foundation-auth/\n```\n\n## 🚀 Getting Started\n\n### Prerequisites\n- Node.js 18+ and npm\n- PostgreSQL database (or Neon account)\n- Git\n\n### Backend Setup\n\n1. **Clone and navigate**:\n   ```bash\n   git clone https://github.com/anasahmed07/robotext.git\n   cd robotext/api\n   ```\n\n2. **Install dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Configure environment**:\n   ```bash\n   cp .env.example .env\n   # Edit .env and set:\n   # - DATABASE_URL (from Neon dashboard)\n   # - AUTH_SECRET (generate with: node -e \"console.log(require('crypto').randomBytes(32).toString('hex'))\")\n   ```\n\n4. **Run database migrations**:\n   ```bash\n   npm run db:push\n   ```\n\n5. **Start development server**:\n   ```bash\n   npm run dev\n   ```\n\nBackend will run on `http://localhost:3000`\n\n### Frontend Setup\n\n1. **Navigate to web directory**:\n   ```bash\n   cd ../web\n   ```\n\n2. **Install dependencies**:\n   ```bash\n   npm install\n   ```\n\n3. **Configure environment**:\n   ```bash\n   cp .env.example .env\n   # Set REACT_APP_API_URL=http://localhost:3000\n   ```\n\n4. **Start development server**:\n   ```bash\n   npm start\n   ```\n\nFrontend will run on `http://localhost:3001`\n\n## 📚 Database Schema\n\n- **user**: Core user data (id, email, name, emailVerified)\n- **session**: Authentication sessions (token, expiresAt, userId)\n- **account**: OAuth providers \u0026 password storage\n- **verification**: Email verification tokens\n- **user_profiles**: Learning profiles (programmingLanguages, rosFamiliarity, roboticsKnowledge, hardwareSpecs)\n\n## 🌍 Deployment\n\n### Backend (Railway)\n1. Create new project in Railway\n2. Connect GitHub repository\n3. Set environment variables (DATABASE_URL, AUTH_SECRET, FRONTEND_URL)\n4. Deploy from main branch\n\n### Frontend (GitHub Pages)\n1. Enable GitHub Pages in repository settings\n2. Set source to \"GitHub Actions\"\n3. Add `BACKEND_API_URL` secret in repository settings\n4. Push to main branch (auto-deploys via GitHub Actions)\n\n## 🧪 Testing\n\n```bash\n# Run tests (when implemented)\ncd api \u0026\u0026 npm test\ncd web \u0026\u0026 npm test\n\n# Lint code\nnpm run lint\n\n# Format code\nnpm run format\n```\n\n## 📖 Documentation\n\n- **Specification**: `specs/001-foundation-auth/spec.md`\n- **Architecture**: `specs/001-foundation-auth/plan.md`\n- **Tasks**: `specs/001-foundation-auth/tasks.md`\n- **Quick Start**: `specs/001-foundation-auth/quickstart.md`\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit changes (`git commit -m 'Add amazing feature'`)\n4. Push to branch (`git push origin feature/amazing-feature`)\n5. Open Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License.\n\n## 🔗 Links\n\n- **Live Site**: [GitHub Pages URL]\n- **API**: [Railway URL]\n- **Repository**: https://github.com/anasahmed07/robotext\n\n## 👤 Author\n\n**Anas Ahmed** - [@anasahmed07](https://github.com/anasahmed07)\n\n---\n\nBuilt with ❤️ using Docusaurus and better-auth\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanasahmed07%2Frobotext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanasahmed07%2Frobotext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanasahmed07%2Frobotext/lists"}