{"id":26795853,"url":"https://github.com/synthous/flaverse","last_synced_at":"2025-03-29T18:16:16.529Z","repository":{"id":285106655,"uuid":"957090378","full_name":"SynthouS/flaverse","owner":"SynthouS","description":"Online Anonymous Chat written in Flask","archived":false,"fork":false,"pushed_at":"2025-03-29T15:25:48.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T15:29:57.271Z","etag":null,"topics":["chat","flask","html","python","website"],"latest_commit_sha":null,"homepage":"https://flaverse.onrender.com/","language":"CSS","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/SynthouS.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":"2025-03-29T14:33:31.000Z","updated_at":"2025-03-29T15:25:52.000Z","dependencies_parsed_at":"2025-03-29T15:40:03.548Z","dependency_job_id":null,"html_url":"https://github.com/SynthouS/flaverse","commit_stats":null,"previous_names":["synthous/flaverse"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynthouS%2Fflaverse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynthouS%2Fflaverse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynthouS%2Fflaverse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SynthouS%2Fflaverse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SynthouS","download_url":"https://codeload.github.com/SynthouS/flaverse/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246223325,"owners_count":20743168,"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","flask","html","python","website"],"created_at":"2025-03-29T18:16:15.367Z","updated_at":"2025-03-29T18:16:16.204Z","avatar_url":"https://github.com/SynthouS.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flaverse\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA secure anonymous chat application built with Flask and Supabase. Features dark theme, message linking, and real-time updates.\n\n## Features\n\n- Anonymous chat with auto-generated nicknames\n- Supabase backend for message storage\n- Dark theme with responsive design\n- Message permalinks with copy functionality\n- Rate limiting and input validation\n- Real-time message updates\n- Secure environment configuration\n\n## Prerequisites\n\n- Python 3.8+\n- Supabase account\n- Git\n- PIP package manager\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/yourusername/flaverse.git\ncd flaverse\n```\n\n2. Create and activate virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n```\n\n3. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n## Configuration\n\n1. Create Supabase project:\n   - Go to [Supabase Dashboard](https://supabase.com/dashboard/)\n   - Create new project\n   - Create `messages` table with:\n     ```sql\n     CREATE TABLE messages (\n       id UUID PRIMARY KEY DEFAULT gen_random_uuid(),\n       nickname TEXT NOT NULL,\n       message TEXT NOT NULL,\n       created_at TIMESTAMPTZ DEFAULT NOW()\n     );\n     ```\n   - Enable RLS with policies:\n     ```sql\n     CREATE POLICY \"Allow public insert\" ON messages FOR INSERT WITH CHECK (true);\n     CREATE POLICY \"Allow public select\" ON messages FOR SELECT USING (true);\n     ```\n\n2. Create `.env` file:\n```env\nSUPABASE_URL=your_supabase_url\nSUPABASE_KEY=your_supabase_key\nFLASK_ENV=development\n```\n\n## Running the Application\n\n```bash\nexport FLASK_APP=app.py  # On Windows: set FLASK_APP=app.py\nflask run\n```\n\nAccess the application at: `http://localhost:5000`\n\n## Deployment\n\n1. **Recommended Host**: [Render.com](https://render.com)\n   - Create new Web Service\n   - Connect your GitHub repository\n   - Add environment variables:\n     - `SUPABASE_URL`\n     - `SUPABASE_KEY`\n     - `FLASK_ENV=production`\n\n2. **Custom Domain** (Optional):\n   - Configure DNS settings\n   - Add SSL via Cloudflare\n   - Set up proper caching headers\n\n## Contributing\n\n1. Fork the repository\n2. Create feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit changes (`git commit -m 'Add amazing feature'`)\n4. Push to branch (`git push origin feature/amazing-feature`)\n5. Open Pull Request\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## Acknowledgments\n\n- Built with [Flask](https://flask.palletsprojects.com/)\n- Powered by [Supabase](https://supabase.com/)\n- Icons by [Font Awesome](https://fontawesome.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynthous%2Fflaverse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynthous%2Fflaverse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynthous%2Fflaverse/lists"}