{"id":27941913,"url":"https://github.com/rishichirchi/summup","last_synced_at":"2026-04-12T03:38:30.747Z","repository":{"id":261797988,"uuid":"885180912","full_name":"rishichirchi/SummUp","owner":"rishichirchi","description":"Using a combination of WebSocket communication, Kafka message streaming, and sentiment analysis, SummUp generates insights that help users understand the emotional tone of their chat interactions.","archived":false,"fork":false,"pushed_at":"2025-05-27T21:32:28.000Z","size":485,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T00:44:56.838Z","etag":null,"topics":["dart","flutter","gemini-api","go","golang","java","kafka","sentiment-analysis","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"C++","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/rishichirchi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-08T05:29:21.000Z","updated_at":"2025-05-27T21:32:31.000Z","dependencies_parsed_at":"2025-05-27T22:33:05.558Z","dependency_job_id":null,"html_url":"https://github.com/rishichirchi/SummUp","commit_stats":null,"previous_names":["rishichirchi/moodpulse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishichirchi/SummUp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishichirchi%2FSummUp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishichirchi%2FSummUp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishichirchi%2FSummUp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishichirchi%2FSummUp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishichirchi","download_url":"https://codeload.github.com/rishichirchi/SummUp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishichirchi%2FSummUp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31703501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"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":["dart","flutter","gemini-api","go","golang","java","kafka","sentiment-analysis","spring","spring-boot"],"created_at":"2025-05-07T11:24:04.261Z","updated_at":"2026-04-12T03:38:30.716Z","avatar_url":"https://github.com/rishichirchi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SummUp\n\nSummUp is an Emotion-Aware Chat Companion app designed to enhance chat experiences by analyzing the sentiment of ongoing conversations and providing real-time feedback on the chat's mood. Using a combination of WebSocket communication, Kafka message streaming, and sentiment analysis, MoodPulse generates insights that help users understand the emotional tone of their chat interactions.\n\n## Table of Contents\n\n- [Project Overview](#project-overview)\n- [Features](#features)\n- [Architecture](#architecture)\n- [Tech Stack](#tech-stack)\n- [Setup and Installation](#setup-and-installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Project Overview\n\nIn SummUp, two users can chat with each other in real time using WebSocket communication managed by a Spring Boot backend. Each message is analyzed for sentiment by a Go-based microservice, which returns the current mood of the conversation. This sentiment feedback is displayed in the Flutter app, allowing users to get a visual representation of the chat's emotional state through emojis and suggestions to uplift the mood.\n\n## Features\n\n- Real-time chat system with WebSocket\n- Sentiment analysis on live chat messages\n- Kafka message streaming for efficient message processing\n- Mood feedback displayed to users as emojis\n- Suggestions for uplifting the chat based on sentiment analysis\n\n## Architecture\n\nThe workflow of the SummUp app is as follows:\n\n1. **Flutter App**: Users communicate via a chat interface.\n2. **Spring Boot Backend**: Manages WebSocket connections and routes chat messages to Kafka.\n3. **Kafka**: Acts as a message broker, streaming chat messages for processing.\n4. **Go Microservice**: Consumes messages from Kafka, performs sentiment analysis, and returns mood feedback.\n5. **Sentiment Analysis**: Uses a language model (e.g., Gemini) to analyze messages.\n6. **Mood Indicator**: The Flutter app shows the mood of the conversation using emojis based on sentiment feedback.\n\n## Workflow Diagram\n![image](https://github.com/user-attachments/assets/018c1c1c-0550-43b9-8b2f-5c43b57d788b)\n\n\n## Tech Stack\n\n- **Frontend**: Flutter\n- **Backend**: Spring Boot, WebSocket\n- **Messaging Queue**: Apache Kafka\n- **Sentiment Analysis**: Go microservice with language model integration (e.g., Gemini)\n- **Database**: MongoDB\n\n## Setup and Installation\n\n### Prerequisites\n\n- Java 11+\n- Kafka\n- Go (latest version)\n- Flutter SDK\n- Node.js (for testing WebSocket with JavaScript)\n\n### Steps\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/your-username/SummUp.git\n   cd SummUp\n2. **Install and Run Kafka**\nMake sure Kafka is installed and running. Update application.properties to point to your Kafka instance.\n\n3. **Start the Spring Boot Backend**\n\n```bash\ncd springboot-backend\n./mvnw spring-boot:run\nRun the Go Microservice\n```\n\n4. **Start the Go Microservice**\n```bash\ncd go-microservice\ngo run main.go\n```\n5. **Start the Flutter App**\n\n```bash\ncd flutter-app\nflutter run\n```\n## WebSocket Testing\n\nYou can use the JavaScript WebSocket client (websocket.js) for testing WebSocket endpoints.\n\n## Usage\nStart Chatting: Open the app, connect with another user, and start chatting.\nView Mood Feedback: The app will display an emoji based on the sentiment analysis results.\nSuggestions to Improve Mood: If the sentiment is negative, MoodPulse provides suggestions for uplifting the chat's mood.\n\n## Contributing\nWe welcome contributions to SummUp! If you'd like to contribute, please follow these steps:\n\nFork the repository.\nCreate a new branch.\nMake your changes.\nSubmit a pull request.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishichirchi%2Fsummup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishichirchi%2Fsummup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishichirchi%2Fsummup/lists"}