{"id":19839130,"url":"https://github.com/dianait/jinkobot","last_synced_at":"2026-04-08T20:38:31.991Z","repository":{"id":119542575,"uuid":"506766790","full_name":"dianait/jinkobot","owner":"dianait","description":"JinkoBot: Therapeutic ROBOT for children with autism spectrum disorder (ASD)","archived":false,"fork":false,"pushed_at":"2026-01-10T15:33:30.000Z","size":1030,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-11T04:45:53.130Z","etag":null,"topics":["firebase","nextjs","react","ros","styled-components"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dianait.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2022-06-23T19:29:40.000Z","updated_at":"2026-01-10T15:33:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"f97edeeb-4eac-4702-a4e7-724b78a2f5d9","html_url":"https://github.com/dianait/jinkobot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dianait/jinkobot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianait%2Fjinkobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianait%2Fjinkobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianait%2Fjinkobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianait%2Fjinkobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dianait","download_url":"https://codeload.github.com/dianait/jinkobot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dianait%2Fjinkobot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["firebase","nextjs","react","ros","styled-components"],"created_at":"2024-11-12T12:20:35.053Z","updated_at":"2026-04-08T20:38:31.984Z","avatar_url":"https://github.com/dianait.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Jinkobot Web Application\n\n![header image](https://github.com/DianaIT/jinkobot/blob/master/public/img/header.png)\n\n**Therapist Interface for Exercise Configuration and Progress Analytics**\n\nPart of the [Jinkobot Project](https://github.com/dianait/tfg) - Therapeutic Robot for Children with Autism Spectrum Disorder (ASD)\n\n---\n\n## 📋 Overview\n\nThis web application provides therapists with an intuitive interface to configure therapeutic exercises, monitor therapy sessions in real-time, and analyze children's progress through detailed analytics and visualizations. Built with Next.js and Firebase, it serves as the command center for the Jinkobot therapeutic robot system.\n\n## 🎯 Purpose\n\nThe web application enables therapists to:\n- **Prepare personalized therapy sessions** with customized exercises and difficulty levels\n- **Monitor real-time progress** during active therapy sessions\n- **Analyze historical data** through graphs and statistics\n- **Track individual patient progress** over multiple sessions\n- **Configure robot behavior** for different therapeutic scenarios\n\n## 🛠 Technical Stack\n\n### Frontend\n- **Next.js**: React framework for server-side rendering and optimal performance\n- **TypeScript**: Type-safe development for reliability\n- **React**: Component-based UI architecture\n- **Styled Components**: CSS-in-JS for modular, maintainable styling\n\n### Backend \u0026 Infrastructure\n- **Firebase Realtime Database**: Real-time data synchronization with the robot\n- **Firebase Authentication**: Secure therapist login and session management\n- **Firebase Hosting**: Fast, secure web hosting\n\n### Real-time Communication\n- **Firebase Realtime Database**: Bi-directional communication between web app and ROS system\n- **WebSocket-like sync**: Instant updates during therapy sessions\n\n## 🎮 Key Features\n\n### Session Configuration\n- **Patient Setup**: Register patient information and preferences\n- **Exercise Selection**: Choose between Emotion and Orientation exercises\n- **Difficulty Adjustment**: Set appropriate challenge levels for each child\n- **Custom Questions**: Configure specific emotion recognition questions from the database\n\n### Real-time Monitoring\n- **Live Session View**: Watch therapy progress in real-time\n- **Current Exercise Status**: See which question/task is active\n- **Response Tracking**: Monitor correct/incorrect answers as they happen\n- **Robot Status**: Check robot state and connectivity\n\n### Analytics \u0026 Reporting\n- **Session History**: Complete record of all therapy sessions\n- **Progress Graphs**: Visual representation of improvement over time\n- **Performance Metrics**: \n  - Time spent on each task\n  - Number of correct answers\n  - Number of unanswered questions\n  - Success rate trends\n- **Comparative Analysis**: Compare performance across sessions\n\n### Data Visualization\n- **Interactive Charts**: Built with charting libraries for clear insights\n- **Customizable Time Ranges**: Filter data by date, week, or month\n- **Export Capabilities**: Generate reports for clinical records\n\n## 📁 Repository Structure\n\n```\njinkobot/\n├── components/     # React components (UI elements, charts, forms)\n├── pages/          # Next.js pages (routes and views)\n├── firebase/       # Firebase configuration and services\n├── models/         # TypeScript interfaces and data models\n├── services/       # Business logic and API calls\n├── Hooks/          # Custom React hooks\n├── styles/         # Global styles and theme configuration\n├── public/         # Static assets (images, icons)\n└── package.json    # Dependencies and scripts\n```\n\n## 🔧 Dependencies\n\n- **Next.js**: ^12.x\n- **React**: ^18.x\n- **TypeScript**: ^4.x\n- **Firebase**: ^9.x\n- **Styled Components**: ^5.x\n\n## 🚀 Setup \u0026 Development\n\n### Installation\n```bash\n# Clone the repository\ngit clone https://github.com/DianaIT/jinkobot.git\n\n# Install dependencies\nnpm install\n\n# Configure Firebase\n# Add your Firebase configuration to firebase/config.js\n```\n\n### Development Server\n```bash\nnpm run dev\n# Open http://localhost:3000\n```\n\n### Build for Production\n```bash\nnpm run build\nnpm start\n```\n\n## 🔗 System Integration\n\n### Communication Flow\n1. **Therapist Configuration**: Therapist sets up session parameters in web app\n2. **Firebase Sync**: Configuration data is written to Firebase Realtime Database\n3. **ROS Listener**: Robot's ROS system listens for configuration changes\n4. **Session Execution**: Robot executes exercises based on configuration\n5. **Real-time Updates**: Robot writes progress data back to Firebase\n6. **Live Dashboard**: Web app displays updates instantly\n\n### Data Model\n```typescript\ninterface Session {\n  patientId: string;\n  patientName: string;\n  emotionQuestions: number;\n  orientationDifficulty: 'easy' | 'medium';\n  timestamp: Date;\n  results: {\n    correctAnswers: number;\n    incorrectAnswers: number;\n    unansweredQuestions: number;\n    timePerQuestion: number[];\n  };\n}\n```\n\n## 📊 Data Flow\n\n```\nWeb App → Firebase → ROS System → Robot Actions\n                  ↓\nRobot Results → Firebase → Web App Display\n```\n\n## 🔗 Related Repositories\n\n- **[Jinkobot Main](https://github.com/dianait/tfg)**: Core ROS system and state machine\n- **[Emotion Exercise](https://github.com/DianaIT/Emotion)**: Computer vision module\n- **[Orientation Exercise](https://github.com/DianaIT/Orientation)**: Autonomous navigation module\n\n## 🎓 Academic Context\n\nThis web application was developed as part of a Bachelor's thesis project (Honors Distinction) at Universitat Politècnica de València for the Interactive Technologies program. It demonstrates full-stack development skills with real-time data synchronization and integration with robotics systems.\n\n## 🔐 Security Considerations\n\n- Firebase Authentication for secure therapist access\n- Database rules to protect patient data\n- Session-based access control\n- HIPAA-compliant data handling considerations\n\n## 👩‍💻 Author\n\n**Diana Hernández Soler**\n- GitHub: [@dianait](https://github.com/dianait)\n- LinkedIn: [linkedin.com/in/dianait](https://linkedin.com/in/dianait)\n- Blog: [dianait.blog](https://dianait.blog)\n\n## 📄 License\n\nThis project was developed for academic purposes as part of the Jinkobot therapeutic robot system.\n\n---\n\nFor more information about the complete Jinkobot system, visit the [main repository](https://github.com/dianait/tfg).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdianait%2Fjinkobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdianait%2Fjinkobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdianait%2Fjinkobot/lists"}