{"id":21984202,"url":"https://github.com/venopyx/copilohero","last_synced_at":"2026-05-02T15:42:55.108Z","repository":{"id":261779890,"uuid":"885318519","full_name":"venopyX/copilohero","owner":"venopyX","description":"CopiloHero is a dynamic tool aggregator that utilizes Cloudflare's AI Function Calling to provide various functionalities like GitHub user info retrieval, stock analysis, and web scraping. It leverages multiple APIs and web scraping tools to fetch real-time information, offering a robust integration with Cloudflare’s Function Calling capabilities.","archived":false,"fork":false,"pushed_at":"2024-11-16T11:08:09.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T05:11:16.770Z","etag":null,"topics":["agent","ai","aiagent","cloudflare","copilot","copliohero","functioncalling","tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/venopyX.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":"2024-11-08T11:03:27.000Z","updated_at":"2024-11-27T09:07:50.000Z","dependencies_parsed_at":"2025-01-28T05:10:50.964Z","dependency_job_id":"360d4afb-ed26-4ed3-a5c0-65cadee271aa","html_url":"https://github.com/venopyX/copilohero","commit_stats":null,"previous_names":["gladsonchala/copilohero","venopyx/copilohero"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2Fcopilohero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2Fcopilohero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2Fcopilohero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2Fcopilohero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/venopyX","download_url":"https://codeload.github.com/venopyX/copilohero/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245044493,"owners_count":20551898,"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":["agent","ai","aiagent","cloudflare","copilot","copliohero","functioncalling","tool"],"created_at":"2024-11-29T18:07:58.093Z","updated_at":"2026-05-02T15:42:55.081Z","avatar_url":"https://github.com/venopyX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CopiloHero\n\n**CopiloHero** is a dynamic tool aggregator that utilizes Cloudflare's AI Function Calling to provide various functionalities like GitHub user info retrieval, stock analysis, and web scraping. It leverages multiple APIs and web scraping tools to fetch real-time information, offering a robust integration with Cloudflare’s Function Calling capabilities.\n\n## 🚀 Features\n\n- **Cloudflare AI Integration**: Dynamically call functions using Cloudflare's AI model with tool descriptions.\n- **GitHub User Info**: Fetch public details of GitHub users.\n- **Stock Analysis**: Retrieve real-time stock data, company profiles, and analyst recommendations.\n- **Web Scraping**: Extract visible text and metadata from webpages.\n- **Product Hunt Leaderboard**: Get the latest trending products on Product Hunt.\n- **Web Search**: Perform Google search and retrieve top results.\n\n## 🛠️ Setup\n\n### Prerequisites\n\n- **Python 3.8+**\n- **ChromeDriver** installed for Selenium usage.\n\n### Installation\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/gladsonchala/copilohero.git\n   cd copilohero\n   ```\n\n2. **Install Dependencies**:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Configure Environment Variables**:\n   - Copy the `.env.sample` to `.env`:\n     ```bash\n     cp .env.sample .env\n     ```\n   - Update the `.env` file with your Cloudflare `ACCOUNT_ID` and `API_TOKEN`.\n\n### Example `.env` File:\n   ```\n   ACCOUNT_ID=your_account_id_here\n   API_TOKEN=your_api_token_here\n   MODEL_NAME=@hf/nousresearch/hermes-2-pro-mistral-7b\n   ```\n\n## ⚙️ Usage\n\n1. **Run the Main Script**:\n   ```bash\n   python main.py\n   ```\n\n2. **Example Query**:\n   - Retrieve GitHub user info:\n     ```python\n     user_query = \"Get information about the GitHub user 'octocat'.\"\n     ```\n\n3. **Cloudflare API Integration**:\n   - The application utilizes Cloudflare’s Function Calling to dynamically choose tools based on the user query. This ensures a seamless and context-aware response.\n\n## 🧩 Available Tools\n\n- **GitHub User Info**: Fetch GitHub user details.\n- **Stock Info**: Get current stock prices and company profiles.\n- **Web Search**: Perform Google searches and fetch results.\n- **Web Scraping**: Extract text from a given URL.\n- **Product Hunt**: Retrieve trending products from Product Hunt’s daily leaderboard.\n\n## 📈 Contributing\n\nFeel free to fork this project, open issues, and submit PRs. Contributions are welcome!\n\n## 📜 License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n\n## 📧 Contact\n\nFor any inquiries, please contact: [gladsonchala@gmail.com](mailto:gladsonchala@gmail.com)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenopyx%2Fcopilohero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvenopyx%2Fcopilohero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenopyx%2Fcopilohero/lists"}