{"id":31644387,"url":"https://github.com/yuvakunaal/anonyma","last_synced_at":"2026-04-05T21:01:40.065Z","repository":{"id":316637487,"uuid":"1056202555","full_name":"Yuvakunaal/Anonyma","owner":"Yuvakunaal","description":"Anonyma is a secure, real-time anonymous chat platform designed for developers and users. It enables seamless code sharing , AI-powered explanations via Groq, and optional password-protected rooms—all without requiring user accounts. Built with Flask and Socket.IO, it prioritizes privacy with ephemeral data and automatic room cleanup.","archived":false,"fork":false,"pushed_at":"2025-09-26T08:14:13.000Z","size":93,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T04:56:22.382Z","etag":null,"topics":["ai","anonymous-chat","flask","groq-api","llama","python3","socket-io","ui"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Yuvakunaal.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-13T15:48:27.000Z","updated_at":"2025-09-26T08:14:17.000Z","dependencies_parsed_at":"2025-09-25T20:55:16.382Z","dependency_job_id":"818a89ea-bbf1-463d-bed1-80fcfb907cc7","html_url":"https://github.com/Yuvakunaal/Anonyma","commit_stats":null,"previous_names":["yuvakunaal/anonyma"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yuvakunaal/Anonyma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuvakunaal%2FAnonyma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuvakunaal%2FAnonyma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuvakunaal%2FAnonyma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuvakunaal%2FAnonyma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yuvakunaal","download_url":"https://codeload.github.com/Yuvakunaal/Anonyma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yuvakunaal%2FAnonyma/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31449836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"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":["ai","anonymous-chat","flask","groq-api","llama","python3","socket-io","ui"],"created_at":"2025-10-07T04:52:12.637Z","updated_at":"2026-04-05T21:01:40.045Z","avatar_url":"https://github.com/Yuvakunaal.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Anonyma - Anonymous Chat Platform\n\n[![Anonymous Chat](https://img.shields.io/badge/Anonymous-Chat-blue?style=for-the-badge\u0026logo=chat)](https://github.com/Yuvakunaal/Anonyma)\n[![Flask 2.3.3](https://img.shields.io/badge/Flask-2.3.3-green?style=for-the-badge\u0026logo=flask)](https://flask.palletsprojects.com/)\n[![Socket.IO 5.3.6](https://img.shields.io/badge/Socket.IO-5.3.6-orange?style=for-the-badge\u0026logo=socket.io)](https://socket.io/)\n[![AI Assistant](https://img.shields.io/badge/AI-Assistant-purple?style=for-the-badge\u0026logo=ai)](https://console.groq.com/)\n\n**Anonyma** is a privacy-focused chat platform designed for developers and teams to collaborate in real-time without the need for accounts or sign-ups. Share code, discuss ideas, and get instant AI-powered assistance - all while maintaining complete anonymity.\n\n---\n\n## 🚀 Features\n\n- 🔒 **Complete Anonymity:** No accounts or personal information required\n- 💬 **Real-time Chat:** Instant messaging with Socket.IO technology\n- 💻 **Code Sharing:** Beautiful code blocks and copy functionality\n- 🤖 **AI Assistant:** Get instant code explanations with integrated AI technology\n- 🔐 **Private Rooms:** Optional password protection for sensitive discussions\n- 📱 **Responsive Design:** Works perfectly on desktop and mobile devices\n- ⚡ **Instant Access:** Join chats immediately without registration\n- 🧹 **Auto Cleanup:** Rooms automatically expire after 24 hours of inactivity\n\n---\n\n## 🛠️ Technology Stack\n\n- **Backend:** Flask (Python)\n- **Real-time Communication:** Flask-SocketIO\n- **AI Processing:** Groq API with llama-3.1-8b-instant model\n- **Frontend:** HTML5, CSS3, JavaScript\n- **Security:** Werkzeug password hashing\n- **Deployment:** Ready for production with ProxyFix support\n\n---\n\n## 📦 Installation\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/Yuvakunaal/Anonyma.git\ncd anonyma-chat\n```\n\n### Install Dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### Environment Configuration\n\nCreate a .env file with the following variables:\n\n```env\nSECRET_KEY=your-secret-key-here\nGROQ_API_KEY=your-groq-api-key\nADMIN_PASSWORD=your-admin-password\nADMIN_SECRET_KEY=your-admin-secret-key\nROOM_TIMEOUT_HOURS=24\nCLEANUP_INTERVAL_SECONDS=3600\nMAX_ROOMS_PER_DEVICE=5\n```\n\n### 🔑 How to Get Groq API Key\n\n1. Go to [https://console.groq.com/](https://console.groq.com/).\n2. Log in with your account.\n3. Go to **API Keys**.\n4. Click on **Create API key**, give it a name.\n5. Copy the generated key.\n6. Paste it as the value of the `GROQ_API_KEY` variable in your project (.env).\n\n### Run the Application\n\n```bash\npython3 app.py\n```\n\n**Open Browser: Navigate to http://localhost:8070/**\n\n# 🎯 How It Works\n\n## For Users:\n\n- **Create or Join a Room**: From the home page, create a new room or join an existing one.\n- **Set Display Name**: Choose any temporary name (not stored after you leave).\n- **Start Collaborating**: Chat, share code, and use AI assistant features.\n- **Share Room URL**: Invite others by sharing your room's unique URL.\n\n## For Developers:\n\n- **Code Sharing**: Use the code editor (Ctrl+K toggle) or paste code directly.\n- **AI Assistance**: Click the \"AI ✨\" button on any code block for instant explanations.\n- **Real-time Collaboration**: See others type and collaborate seamlessly.\n\n# 🔧 API Endpoints (Imp)\n\n- `/` – Home\n- `/admin` - Admin only\n\n# 🛡️ Security Features\n\n- **Password Hashing**: All room passwords are securely hashed.\n- **Device Rate Limiting**: Maximum 5 rooms per Device per day.\n- **Session Management**: Secure session-based room access.\n- **Auto Cleanup**: Inactive rooms are automatically deleted.\n- **No Permanent Storage**: All data is temporary and ephemeral.\n\n# 👨‍💻 Admin Features\n\nAccess the admin dashboard at `/admin` with the following capabilities:\n\n- View all active rooms and statistics.\n- Create rooms with admin override privileges.\n- Delete rooms and manage users.\n- Monitor system-wide metrics.\n\n# 🚨 Limitations\n\n- **Room Expiry**: All rooms automatically expire after 24 hours of inactivity.\n- **Room Creation**: Maximum 5 rooms per day per user.\n- **Message History**: Only the last 100 messages are preserved in active rooms.\n- **AI Rate Limits**: Subject to third-party API limitations during high traffic.\n\n# 👨‍💻 Developer\n\nKunaal – Full Stack AI Enthusiast\n\n# 🙏 Acknowledgments\n\n- Groq for providing AI API access.\n- Flask and Socket.IO communities for excellent documentation.\n\n\u003e ⭐ If you find this project useful, please consider giving it a star on GitHub!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuvakunaal%2Fanonyma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuvakunaal%2Fanonyma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuvakunaal%2Fanonyma/lists"}