{"id":28920905,"url":"https://github.com/matiasrodlo/flutter-websocket-chat","last_synced_at":"2025-07-03T02:33:02.316Z","repository":{"id":207048477,"uuid":"717258545","full_name":"matiasrodlo/flutter-websocket-chat","owner":"matiasrodlo","description":"Flutter WebSocket Local Real-Time Chat (2023)","archived":false,"fork":false,"pushed_at":"2025-05-20T07:52:15.000Z","size":1817,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T05:33:30.653Z","etag":null,"topics":["chat-app","dart","flutter","websocket"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/matiasrodlo.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,"zenodo":null}},"created_at":"2023-11-10T23:48:10.000Z","updated_at":"2025-06-10T10:03:02.000Z","dependencies_parsed_at":"2025-03-17T19:41:10.566Z","dependency_job_id":"d44b41b9-13e9-4816-95bf-7f1151957d97","html_url":"https://github.com/matiasrodlo/flutter-websocket-chat","commit_stats":null,"previous_names":["matiasrodlo/chat-app","matiasrodlo/flutter-websocket-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matiasrodlo/flutter-websocket-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasrodlo%2Fflutter-websocket-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasrodlo%2Fflutter-websocket-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasrodlo%2Fflutter-websocket-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasrodlo%2Fflutter-websocket-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matiasrodlo","download_url":"https://codeload.github.com/matiasrodlo/flutter-websocket-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasrodlo%2Fflutter-websocket-chat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263247231,"owners_count":23436817,"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":["chat-app","dart","flutter","websocket"],"created_at":"2025-06-22T05:31:44.950Z","updated_at":"2025-07-03T02:33:02.300Z","avatar_url":"https://github.com/matiasrodlo.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat App\n\nA real-time chat application built with Flutter and WebSocket, featuring local network communication and modern UI.\n\n## Features\n\n- Real-time messaging using WebSocket\n- Local network communication\n- Message delivery status tracking\n- Offline message queue\n- Clean architecture implementation\n- Modern and responsive UI\n- User authentication\n- Specialist/User chat functionality\n\n## Architecture\n\nThe project follows clean architecture principles with the following structure:\n\n```\nlib/\n├── core/           # Core functionality and configurations\n├── features/       # Feature modules\n│   ├── auth/      # Authentication feature\n│   ├── chat/      # Chat feature\n│   └── specialist/# Specialist feature\n├── shared/        # Shared utilities and services\n└── services/      # Core services\n```\n\n## Prerequisites\n\n- Flutter SDK (latest stable version)\n- Node.js (for WebSocket server)\n- Dart SDK\n- VS Code (recommended) or Android Studio\n\n## Setup\n\n1. Clone the repository:\n```bash\ngit clone [repository-url]\ncd chat-app\n```\n\n2. Install Flutter dependencies:\n```bash\nflutter pub get\n```\n\n3. Install Node.js dependencies:\n```bash\nnpm install ws\n```\n\n4. Start the application:\n```bash\n./run_all.sh\n```\n\nThis script will:\n- Start the WebSocket server on port 8080\n- Launch the Flutter web app in Chrome\n\n## Development\n\n### Project Structure\n\n- `lib/core/`: Core configurations, themes, and routes\n- `lib/features/`: Feature-based modules\n- `lib/services/`: Core services implementation\n- `lib/shared/`: Shared utilities and widgets\n- `server.js`: WebSocket server implementation\n\n### Key Components\n\n- **WebSocket Service**: Handles real-time communication\n- **Chat Service**: Manages chat functionality\n- **Local Service**: Handles local data persistence\n- **Specialist Service**: Manages specialist-related features\n\n### Troubleshooting\n\n1. If you see \"Error: unable to find directory entry in pubspec.yaml: assets/images/\":\n   - Create an `assets/images` directory in your project root\n   - Add the directory to your `pubspec.yaml` under the `flutter` section:\n     ```yaml\n     flutter:\n       assets:\n         - assets/images/\n     ```\n\n2. If the WebSocket connection fails:\n   - Ensure the Node.js server is running (`node server.js`)\n   - Check that port 8080 is not in use\n   - Verify that the WebSocket URL is correct (ws://127.0.0.1:8080)\n\n3. If the Flutter app fails to start:\n   - Run `flutter clean`\n   - Run `flutter pub get`\n   - Try running the app again\n\n## Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Acknowledgments\n\n- Flutter team for the amazing framework\n- WebSocket community for the real-time communication protocols\n- All contributors who have helped shape this project\n\n## Contact\n\nFor any questions or concerns, please open an issue in the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatiasrodlo%2Fflutter-websocket-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatiasrodlo%2Fflutter-websocket-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatiasrodlo%2Fflutter-websocket-chat/lists"}