{"id":30015130,"url":"https://github.com/fahmiaziz98/ad-generator","last_synced_at":"2026-05-19T10:31:12.620Z","repository":{"id":306415914,"uuid":"1023039917","full_name":"fahmiaziz98/ad-generator","owner":"fahmiaziz98","description":"AI ad generator","archived":false,"fork":false,"pushed_at":"2025-07-25T13:38:24.000Z","size":727,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-25T16:39:44.182Z","etag":null,"topics":["ads","ai","ai-generated","campaign","lunos","openai","sveltekit"],"latest_commit_sha":null,"homepage":"","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/fahmiaziz98.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-07-20T11:56:59.000Z","updated_at":"2025-07-25T13:38:27.000Z","dependencies_parsed_at":"2025-07-25T16:39:48.512Z","dependency_job_id":"d8a446b0-3a59-4884-9485-dda61a6a69ea","html_url":"https://github.com/fahmiaziz98/ad-generator","commit_stats":null,"previous_names":["fahmiaziz98/ad-generator"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/fahmiaziz98/ad-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmiaziz98%2Fad-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmiaziz98%2Fad-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmiaziz98%2Fad-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmiaziz98%2Fad-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fahmiaziz98","download_url":"https://codeload.github.com/fahmiaziz98/ad-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fahmiaziz98%2Fad-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268955236,"owners_count":24335209,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"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":["ads","ai","ai-generated","campaign","lunos","openai","sveltekit"],"created_at":"2025-08-05T18:57:59.480Z","updated_at":"2026-05-19T10:31:12.607Z","avatar_url":"https://github.com/fahmiaziz98.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Ad Generator\n\nAn intelligent ad copywriting system that generates high-converting marketing content for social media, email campaigns, and product descriptions using advanced prompt engineering and flexible tone modulation.\n\n---\n\n## ✨ Features\n\n- **Multi-Platform Support**: Generate ads for Social Media, Email, and Product Descriptions.\n- **Flexible Tone System**: Choose from 8 different tones to match your brand voice.\n- **Real-time Streaming**: Stream responses for better user experience.\n- **Product-Aware**: Contextual ads based on detailed product information.\n- **Image Generation**: Generate product images to complement your ad content.\n\n---\n\n## 📋 Supported Ad Types\n\n| Ad Type              | Description                     | Use Cases                  |\n|----------------------|---------------------------------|---------------------------|\n| `social_media`       | Instagram, Facebook, TikTok posts | Engagement, brand awareness |\n| `email`              | Email marketing campaigns       | Nurturing, product announcements |\n| `product_description`| E-commerce product pages        | Conversion optimization    |\n\n---\n\n## 🎨 Available Tones\n\n| Tone          | Style                          | Best For                     |\n|---------------|-------------------------------|------------------------------|\n| `friendly`    | Warm, conversational, emoji-friendly | Lifestyle brands, B2C       |\n| `professional`| Formal but approachable, credible | B2B, premium products        |\n| `urgent`      | Time-sensitive, action-driven | Sales, limited offers        |\n| `playful`     | Fun, humor, creative          | Youth brands, entertainment  |\n| `luxurious`   | Sophisticated, premium, exclusive | High-end products           |\n| `minimalist`  | Clean, simple, essential      | Modern brands, tech          |\n| `bold`        | Strong, confident, assertive  | Fitness, transformation      |\n| `conversational`| Natural, chat-like, relatable | Community brands             |\n\n---\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n- Python 3.10 or higher.\n- `uv` for virtual environment management ([Learn more](https://www.datacamp.com/tutorial/python-uv)).\n- `npm` for client dependencies.\n\n### Clone Repository\n\n```bash\n# Clone the repository\ngit clone https://github.com/fahmiaziz98/ad-generator.git\ncd ad-generator\n```\n\n### Environment Variables\nTo copy the **.env.example** file to **.env**, you can use the following command in your terminal:\n```bash\ncp .env.example .env\n```\nThis will create a **.env** file with the same content as **.env.example**. You can then edit the **.env** file to add your actual environment variables, such as **LUNOS_API_KEY**. you can get API Key [here](lunos.tech)\n```bash\n# .env file\nLUNOS_API_KEY='your_api_key'\n```\n\n---\n\n### Create \u0026 Activate Virtual Environment\n\n```bash\ncd server\n# Initialize virtual environment\nuv init .\n\n# Activate the virtual environment\nsource .venv/bin/activate\n\n# Install server dependencies\nuv pip install -r pyproject.toml \n\n# Run server\nfastapi dev src/main.py\n```\n\nAccess API documentation at [http://0.0.0.0:8000/docs](http://0.0.0.0:8000/docs).\n\n### Install \u0026 Run Client\nOpen another terminal:\n\n```bash\n# Move to client directory\ncd client\n\n# Install client dependencies\nnpm install\n\n# Run client\nnpm run dev\n```\n\nAccess the client at [http://localhost:5173](http://localhost:5173).\n- **Note**: Please see api docs [here](server/README.md)\n\n---\n\n\n## 🤝 Contributing\n\n1. Fork the repository.\n2. Create a feature branch (`git checkout -b feature/amazing-feature`).\n3. Commit your changes (`git commit -m 'Add amazing feature'`).\n4. Push to the branch (`git push origin feature/amazing-feature`).\n5. Open a Pull Request.\n\n---\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\n\n## 🆘 Support\n\n- **Issues**: [GitHub Issues](https://github.com/fahmiaziz98/ad-generator/issues)\n- **Email**: [fahmiazizfadhil999@gmail.com](mailto:fahmiazizfadhil999@gmail.com)\n\n---\n\n## 🚀 Roadmap\n\n- [x] Add Image Generation.\n- [x] Docker deployment\n\n---\n\n## 🖼️ Example UI Screenshot\n\nBelow is an example of the user interface for the AI Ad Generator:\n\n\u003cdiv style=\"display: flex; flex-direction: column; gap: 20px;\"\u003e\n  \u003cimg src=\"assets/images34.png\" alt=\"Example UI 1\" style=\"width: 70%; border: 1px solid #ddd; border-radius: 8px;\" /\u003e\n  \u003cimg src=\"assets/img007.png\" alt=\"Example UI 2\" style=\"width: 70%; border: 1px solid #ddd; border-radius: 8px;\" /\u003e\n\u003c/div\u003e\n\n---\n\n## 🖼️ Generated Images\n\nBelow are examples of generated images:\n\n\u003cdiv style=\"display: flex; gap: 20px;\"\u003e\n  \u003cimg src=\"assets/Aurora_Pro_Wireless_Earbuds_SoundWave.png\" alt=\"Generated Image 1\" style=\"width: 48%; border: 1px solid #ddd; border-radius: 8px;\" /\u003e\n  \u003cimg src=\"assets/Radiance_Vitamin_C_Serum_LuxeDerm.png\" alt=\"Generated Image 2\" style=\"width: 48%; border: 1px solid #ddd; border-radius: 8px;\" /\u003e\n\u003c/div\u003e\n\n---\n\n**Made with ❤️ by fahmiaziz98**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahmiaziz98%2Fad-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffahmiaziz98%2Fad-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffahmiaziz98%2Fad-generator/lists"}