{"id":14987047,"url":"https://github.com/isatyamks/chatsense","last_synced_at":"2026-01-07T15:10:57.764Z","repository":{"id":243845024,"uuid":"807506189","full_name":"isatyamks/ChatSense","owner":"isatyamks","description":"This is my first machine learning model, designed to predict the mood and behavior of users by analyzing their WhatsApp chat archives.","archived":false,"fork":false,"pushed_at":"2024-06-11T11:24:47.000Z","size":885,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T05:35:56.431Z","etag":null,"topics":["analysis","artificial-intelligence","behavior","data-visualization","machine-learning","matplotlib","pandas","prediction","seaborn","vercel-deployment","whatsapp-chat","wordcloud"],"latest_commit_sha":null,"homepage":"","language":"Python","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/isatyamks.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":"2024-05-29T08:26:17.000Z","updated_at":"2024-06-23T07:06:10.000Z","dependencies_parsed_at":"2024-06-11T14:04:18.512Z","dependency_job_id":null,"html_url":"https://github.com/isatyamks/ChatSense","commit_stats":null,"previous_names":["isatyamks/chatsense"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isatyamks%2FChatSense","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isatyamks%2FChatSense/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isatyamks%2FChatSense/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isatyamks%2FChatSense/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isatyamks","download_url":"https://codeload.github.com/isatyamks/ChatSense/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145017,"owners_count":20730494,"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":["analysis","artificial-intelligence","behavior","data-visualization","machine-learning","matplotlib","pandas","prediction","seaborn","vercel-deployment","whatsapp-chat","wordcloud"],"created_at":"2024-09-24T14:14:00.644Z","updated_at":"2026-01-07T15:10:57.713Z","avatar_url":"https://github.com/isatyamks.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatSense - WhatsApp Chat Analyzer and Behavior Predictor\n\n## Overview\n\nThis machine learning model aims to provide a simple but powerful tool for analyzing WhatsApp chat data. By utilizing  some machine learning techniques, it not only provides insights into chat but in future i will make it to predict behaviors and moods based on the conversation history.\n\n## Features\n\n- **Chat Analysis**: Visualizes various aspects of WhatsApp chats, including message frequency and word usage.\n- **Mood Prediction**: Uses machine learning to predict the mood or behavior of participants based on chat history.\n- **Customizable Visualization**: Offers a range of visualization options using Matplotlib, Seaborn, and WordCloud.\n- **Data Preprocessing**: Extracts URLs, emojis, and cleans text using regular expressions.\n- **Easy Integration**: Can be integrated into existing projects or used as a standalone tool.\n\n## Requirements\n\n- Python 3.x\n- Dependencies:\n  - `matplotlib`\n  - `pandas`\n  - `seaborn`\n  - `urlextract`\n  - `emoji`\n  - `wordcloud`\n\n## Usage\n\n1. **Install Dependencies**: Ensure Python 3.x is installed. Then, install the required packages:\n   ```bash\n   pip install matplotlib pandas seaborn urlextract emoji wordcloud\n   ```\n\n2. **Prepare Data**: Export your WhatsApp chat history as a text file and place it in the `data_chats` folder. Update the `file` variable in `app.py` (line 7) with the relative path to your chat file.\n\n3. **Run the Analyzer**: Execute the script to analyze your WhatsApp chat data:\n   ```bash\n   python app.py\n   ```\n\n4. **Explore Results**: Review the generated visualizations and insights. Customize them as needed.\n\n## Contributing\n\nContributions are welcome! To contribute:\n\n1. Fork the repository.\n2. Create a new branch: `git checkout -b feature/new-feature`.\n3. Make your changes.\n4. Commit your changes: `git commit -am 'Add new feature'`.\n5. Push to the branch: `git push origin feature/new-feature`.\n6. Create a Pull Request.\n\n## Contact\n\nFor inquiries or feedback, please contact [Satyam Kumar](mailto:isatyamks@gmail.com) or connect on GitHub or LinkedIn.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisatyamks%2Fchatsense","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisatyamks%2Fchatsense","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisatyamks%2Fchatsense/lists"}