{"id":24794355,"url":"https://github.com/wwi2196/space-gpt","last_synced_at":"2025-03-24T18:13:47.910Z","repository":{"id":260935061,"uuid":"882755335","full_name":"WWI2196/Space-GPT","owner":"WWI2196","description":"A Flutter-based chat application featuring a space-themed UI that integrates with the Gemini Pro AI, offering an immersive conversation experience with cosmic aesthetics and robust functionality.","archived":false,"fork":false,"pushed_at":"2024-11-04T07:12:20.000Z","size":23236,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T22:45:02.617Z","etag":null,"topics":["ai-chat","ai-integration","api","bloc-pattern","flutter","gemini-pro","google-ai","real-time"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WWI2196.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-11-03T17:16:17.000Z","updated_at":"2024-11-12T01:19:41.000Z","dependencies_parsed_at":"2024-11-03T18:37:15.438Z","dependency_job_id":null,"html_url":"https://github.com/WWI2196/Space-GPT","commit_stats":null,"previous_names":["wwi2196/space-gpt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WWI2196%2FSpace-GPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WWI2196%2FSpace-GPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WWI2196%2FSpace-GPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WWI2196%2FSpace-GPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WWI2196","download_url":"https://codeload.github.com/WWI2196/Space-GPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245325223,"owners_count":20596818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ai-chat","ai-integration","api","bloc-pattern","flutter","gemini-pro","google-ai","real-time"],"created_at":"2025-01-29T22:36:43.916Z","updated_at":"2025-03-24T18:13:47.887Z","avatar_url":"https://github.com/WWI2196.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Space GPT\n\nA sophisticated Flutter-based chat application featuring a space-themed UI that integrates with the Gemini Pro language model.\n\n## 🚀 Features\n\n- Space-themed user interface with custom animations\n- Real-time chat integration with Gemini Pro AI\n- Customizable user and bot avatars\n- Cross-platform support (Android, iOS, Windows, macOS, Linux)\n- High-performance image caching and preloading\n- Message grouping and timestamps\n- Dark mode optimized design\n- Typing indicators\n- Scroll-to-bottom functionality\n- Message copy and formatting support\n\n## 🛠 Tech Stack\n\n- Flutter/Dart (SDK ^3.5.3)\n- BLoC Pattern for state management (bloc, flutter_bloc)\n- Dio for HTTP requests\n- Lottie for animations (^3.1.3)\n- Google's Gemini Pro API\n- Custom image caching system\n- Cupertino Icons (^1.0.8)\n\n## 📁 Project Structure\n\n```bash\nlib/\n├── bloc/\n│   ├── chat_bloc.dart                 \n│   ├── chat_event.dart\n│   └── chat_state.dart              \n├── utils/\n│   └── constants.dart                  \n├── repos/\n│   └── chat_repo.dart  \n├── model/\n│   └── chat_messgae_model.dart                              \n├── models/\n│   └── profile_model.dart                  \n├── pages/\n│   └── home_page.dart\n├── screens/\n│   └── profile_selector_screen.dart               \n└── main.dart                     \n```\n\n## 🚦 Getting Started\n\n### Prerequisites\n\n- Flutter SDK (latest stable version)\n- Dart SDK\n- Android Studio/VS Code with Flutter plugins\n- Gemini Pro API key\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/WWI2196/Space-GPT.git\ncd space_gpt\n```\n\n2. Install dependencies:\n```bash\nflutter pub get\n```\n\n3. Configure API key in constants.dart:\n```dart\nconst String apiKey = 'YOUR_API_KEY_HERE';\n```\n\n4. Run the application:\n```bash\nflutter run\n```\n\n## ⚙️ Configuration\n\n### Theme Customization\n```dart\ntheme: ThemeData(\n  fontFamily: \"Space Mono\",\n  brightness: Brightness.dark,\n  scaffoldBackgroundColor: Colors.grey.shade900,\n  primaryColor: Colors.pink.shade900,\n)\n```\n\n### Avatar Profiles\nAdd custom avatars in:\n- user_profiles\n- bot_profiles\n\n## 🔧 Development Resources\n\n- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)\n- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)\n- [Online documentation](https://docs.flutter.dev/)\n\n## ⚡ Performance Optimizations\n\n- Image preloading and caching\n- Optimized message rendering with RepaintBoundary\n- Efficient message grouping\n- Virtual scrolling implementation\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit changes (`git commit -m 'Add AmazingFeature'`)\n4. Push to branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwi2196%2Fspace-gpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwwi2196%2Fspace-gpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwwi2196%2Fspace-gpt/lists"}