{"id":27633482,"url":"https://github.com/a3ro-dev/gds_automations","last_synced_at":"2025-04-23T18:17:05.295Z","repository":{"id":288573012,"uuid":"968550598","full_name":"a3ro-dev/GDS_automations","owner":"a3ro-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-18T09:47:41.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T18:16:47.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/a3ro-dev.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}},"created_at":"2025-04-18T09:32:26.000Z","updated_at":"2025-04-18T09:47:44.000Z","dependencies_parsed_at":"2025-04-18T23:04:24.936Z","dependency_job_id":"fa35449f-de88-44e1-a9a8-1ba39f1612a2","html_url":"https://github.com/a3ro-dev/GDS_automations","commit_stats":null,"previous_names":["a3ro-dev/gds_automations"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FGDS_automations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FGDS_automations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FGDS_automations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a3ro-dev%2FGDS_automations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a3ro-dev","download_url":"https://codeload.github.com/a3ro-dev/GDS_automations/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250487521,"owners_count":21438612,"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":[],"created_at":"2025-04-23T18:17:04.774Z","updated_at":"2025-04-23T18:17:05.281Z","avatar_url":"https://github.com/a3ro-dev.png","language":"Python","readme":"# GDS-Lucknow MUN 2025 Delegate Affairs System\n\nA Streamlit-based application to manage delegate outreach and tracking for the Global Diplomatic Summit-Lucknow MUN 2025.\n\n## Features\n\n- Secure login with optional \"Remember Me\" cookie-based authentication.\n- 📧 **Cold Email Generator**: \n  - Use a built-in template or customize your own.\n  - Generate personalized invitation emails using Ollama or GROQ AI models.\n  - Copy messages to clipboard or export for further editing.\n- 👥 **Delegate Management**:\n  - Add, search, filter, and edit delegate details (name, contact info, response status, follow-up dates).\n  - Inline data editor with dynamic row operations.\n  - Export current delegate list as CSV for offline review.\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.8+\n- [Ollama](https://ollama.com) running locally with the `gemma3:4b` model, if using Ollama personalization.\n- GROQ API key configured in `.env` (if Ollama is unavailable).\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-org/GDS_automations.git\n   cd GDS_automations\n   ```\n2. Create a virtual environment and activate it:\n   ```bash\n   python3 -m venv .venv\n   source .venv/bin/activate\n   ```\n3. Install dependencies:\n   ```bash\n   pip install --upgrade pip\n   pip install -r requirements.txt\n   ```\n4. Create a `.env` file in the project root with the following variables:\n   ```env\n   USER_NAME='usrnm'\n   USER_PASSWORD=G'pswd'\n   SECRET_KEY=your-secret-key\n   GROQ_API_KEY=your-groq-api-key  # Only needed if Ollama is not available\n   ```\n   **Note:** The values above are placeholders. Never commit your real credentials. Ensure that your `.env` file is added to `.gitignore` and kept out of version control.\n\n## Usage\n\nRun the Streamlit application:\n```bash\nstreamlit run app.py\n```\n\n- Open your browser at `http://localhost:8501`.\n- Log in with the credentials defined in `.env` (or use defaults).\n- Navigate between **Cold Email Generator** and **Delegate Management** from the home page.\n\n## Project Structure\n\n```\n├── app.py               # Main Streamlit application\n├── backend/             # AI personalization backend logic\n│   └── backend.py       # Message generation via Ollama or GROQ\n├── delegates.csv        # Persistent storage for delegate records\n├── requirements.txt     # Python dependencies\n└── README.md            # This documentation\n```\n\n## Configuration\n\n- **Authentication**: Uses HMAC-signed cookies and session state for persisted login.\n- **AI Models**: `ollama` and `groq` Python clients are used to generate personalized emails. Ollama is preferred when available.\n- **Email Templates**: A base template is provided and can be edited directly in the UI.\n\n## Contributing\n\n1. Fork the repo and create a new branch for your feature:\n   ```bash\ngit checkout -b feature/YourFeature\n```\n2. Make your changes, commit, and push:\n   ```bash\ngit commit -am \"Add your feature\"\n   git push origin feature/YourFeature\n   ```\n3. Open a Pull Request describing your changes.\n\n## License\n\nThis project is licensed under the MIT License. See [LICENSE](LICENSE) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa3ro-dev%2Fgds_automations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa3ro-dev%2Fgds_automations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa3ro-dev%2Fgds_automations/lists"}