{"id":25511278,"url":"https://github.com/shagun122/solar-ai-bot","last_synced_at":"2026-05-03T05:36:53.846Z","repository":{"id":277729544,"uuid":"933324107","full_name":"shagun122/Solar-ai-bot","owner":"shagun122","description":"This is an AI-powered assistant that provides expert insights on solar energy, including solar panel technology, installation, maintenance, cost analysis, regulations, and market trends. ","archived":false,"fork":false,"pushed_at":"2025-02-15T17:31:46.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T18:29:23.043Z","etag":null,"topics":["ai","huggingface","solar-panel","streamlit"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/shrishagun/solar-ai-assistant","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/shagun122.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":"2025-02-15T17:26:15.000Z","updated_at":"2025-02-15T17:31:49.000Z","dependencies_parsed_at":"2025-02-15T18:40:10.848Z","dependency_job_id":null,"html_url":"https://github.com/shagun122/Solar-ai-bot","commit_stats":null,"previous_names":["shagun122/solar-ai-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shagun122%2FSolar-ai-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shagun122%2FSolar-ai-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shagun122%2FSolar-ai-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shagun122%2FSolar-ai-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shagun122","download_url":"https://codeload.github.com/shagun122/Solar-ai-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239640313,"owners_count":19672995,"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":["ai","huggingface","solar-panel","streamlit"],"created_at":"2025-02-19T10:31:43.455Z","updated_at":"2025-11-27T08:30:14.040Z","avatar_url":"https://github.com/shagun122.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ☀️ Solar Industry AI Assistant  \n\nThis is an **AI-powered assistant** that provides expert insights on solar energy, including **solar panel technology, installation, maintenance, cost analysis, regulations, and market trends**.  **https://huggingface.co/spaces/shrishagun/solar-ai-assistant**\n\n🚀 **Powered by OpenRouter API** with **Gemini Flash Lite 2.0 (Free).**  \n\n---\n\n## **🛠 Features**\n- 🌞 Provides accurate information about **solar energy**  \n- ⚡ Uses **OpenRouter AI (Gemini 2.0 Flash Lite - Free)**  \n- 🛡 Secure API key handling with **dotenv**  \n- 🎨 Interactive UI with **Streamlit**  \n\n---\n\n## **📌 Installation \u0026 Setup (Localhost)**\n### **1️⃣ Clone the Repository**\n```bash\ngit clone https://github.com/YOUR_GITHUB_USERNAME/solar-ai-assistant.git\ncd solar-ai-assistant\n```\n\n### **2️⃣ Create a Virtual Environment (Recommended)**\n```bash\npython -m venv venv\n```\nActivate the virtual environment:  \n- **Windows**:  \n  ```bash\n  venv\\Scripts\\activate\n  ```\n- **Mac/Linux**:  \n  ```bash\n  source venv/bin/activate\n  ```\n\n### **3️⃣ Install Dependencies**\n```bash\npip install -r requirements.txt\n```\n\n### **4️⃣ Set Up API Key**\n1. Create a **`.env`** file in the project root.  \n2. Add your **OpenRouter API Key** inside `.env`:  \n   ```bash\n   OPENROUTER_API_KEY=your_openrouter_api_key_here\n   ```\n\n### **5️⃣ Run the Application**\n```bash\nstreamlit run app.py\n```\n\nThe app will launch in your browser at **`http://localhost:8501/`** 🎉  \n\n---\n\n## **🚀 Deployment**\n### **Deploy on Hugging Face Spaces**\n1. Go to **[Hugging Face Spaces](https://huggingface.co/spaces)**  \n2. Create a new **Streamlit** space  \n3. Upload the following files:\n   - `app.py`\n   - `requirements.txt`\n4. **Set API Key** in **Settings → Secrets**  \n5. Restart the space, and it’s live! 🚀  \n\n---\n\n## **🛡 Security Best Practices**\n- ✅ **DO NOT** commit your `.env` file  \n- ✅ Add `.env` to `.gitignore`:\n  ```\n  .env\n  ```\n\n---\n\n## **👨‍💻 Contributing**\nFeel free to fork and submit **pull requests**! Contributions are welcome.  \n\n---\n\n## **📧 Contact**\nFor issues or suggestions, create a **GitHub Issue** or email **awareindia12@gmail.com**.  \n\n---\n\n🎯 **Now, you're all set to build and deploy your AI-powered Solar Assistant!** ☀️🚀  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshagun122%2Fsolar-ai-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshagun122%2Fsolar-ai-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshagun122%2Fsolar-ai-bot/lists"}