{"id":26800771,"url":"https://github.com/hamarshehmhmd/promptly","last_synced_at":"2025-04-23T00:15:19.391Z","repository":{"id":281836548,"uuid":"945030713","full_name":"hamarshehmhmd/Promptly","owner":"hamarshehmhmd","description":"QGIS plugin that provides a simple interface to send prompts to various LLM providers and execute the generated Python code in QGIS.","archived":false,"fork":false,"pushed_at":"2025-04-15T08:17:07.000Z","size":180,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T00:14:53.347Z","etag":null,"topics":["artificial-intelligence","llm","qgis","qgis-plugin","qgis-python-plugin","qgis3-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hamarshehmhmd.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-03-08T13:55:35.000Z","updated_at":"2025-04-15T08:17:10.000Z","dependencies_parsed_at":"2025-04-15T09:24:32.238Z","dependency_job_id":"55b67958-3a4a-4299-b0c9-5b43165995a3","html_url":"https://github.com/hamarshehmhmd/Promptly","commit_stats":null,"previous_names":["hamarshehmhmd/promptly"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamarshehmhmd%2FPromptly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamarshehmhmd%2FPromptly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamarshehmhmd%2FPromptly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamarshehmhmd%2FPromptly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamarshehmhmd","download_url":"https://codeload.github.com/hamarshehmhmd/Promptly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343957,"owners_count":21415041,"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":["artificial-intelligence","llm","qgis","qgis-plugin","qgis-python-plugin","qgis3-plugin"],"created_at":"2025-03-29T20:19:01.333Z","updated_at":"2025-04-23T00:15:19.355Z","avatar_url":"https://github.com/hamarshehmhmd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"left\"\u003e\n  \u003cimg src=\"icons/icon.png\" alt=\"promptly Logo\" width=fit\u003e\n  \u003ch1\u003ePromptly\u003c/h1\u003e\n\u003c/div\u003e\n\n\nA QGIS plugin that provides a simple interface to send prompts to various LLM providers and execute the generated Python code in QGIS.\n\n - Avaliable Now!! : https://plugins.qgis.org/plugins/promptly/\n - My Email: hamarshehmhmd@gmail.com\n\n\n\n## Features\n\n- Send custom prompts to multiple LLM providers\n- View both full LLM responses and extracted code\n- Edit and execute code within QGIS\n- Lightweight UI\n\n## Requirements\n\n| Requirement | Details |\n|------------|---------|\n| QGIS | 3.x |\n| Python | 3.x |\n| Dependencies | `requests` package |\n| Ollama | [Ollama](https://github.com/jmorganca/ollama) (local/remote) |\n| Other Providers | Valid API key |\n\n## Installation\n\n1. Download or clone this repository.\n2. Copy `QGISPromptExecutor` to the QGIS plugins directory:\n   - **Windows:** `C:\\Users\\{username}\\AppData\\Roaming\\QGIS\\QGIS3\\profiles\\default\\python\\plugins`\n   - **Linux:** `~/.local/share/QGIS/QGIS3/profiles/default/python/plugins`\n   - **macOS:** `~/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins`\n3. Enable the plugin via **Plugins \u003e Manage and Install Plugins**.\n\n### Alternative Installation\n\n1. Download the ZIP file.\n2. Install via **Plugins \u003e Manage and Install Plugins \u003e Install from ZIP**.\n\n''' This Plugin Will soon be available on the QGIS plugin store for easier installation'''\n\n## Usage\n\n1. Open **Plugins \u003e Promptly** or click the toolbar icon.\n2. Select an LLM provider.\n3. Configure settings (API Key, Endpoint, Model, etc.).\n4. Enter a prompt and click **Send to LLM**.\n5. Review results:\n   - **Full Response**: Complete LLM output.\n   - **Executable Code**: Extracted Python code.\n6. Edit and execute code within QGIS.\n\n## Provider-Specific Settings\n\n| Provider  | API Endpoint | Model | API Key Required? |\n|-----------|-------------|-------|------------------|\n| **Ollama** | `http://localhost:11434/api/generate` | Depends on local models | No |\n| **OpenAI** | `https://api.openai.com/v1/chat/completions` | `gpt-4o`, `gpt-3.5-turbo`, etc. | Yes |\n| **OpenRouter** | `https://openrouter.ai/api/v1/chat/completions` | OpenAI, Anthropic, and others | Yes |\n| **Anthropic** | `https://api.anthropic.com/v1/messages` | `claude-3-opus`, `claude-3-sonnet` | Yes |\n| **Custom** | User-defined | User-defined | Yes (if required) |\n\n## Examples\n\n| Task | Example Prompt |\n|------|---------------|\n| Calculate area | \"Calculate area of 'buildings' layer and add as 'area_sqm'\" |\n| Buffer creation | \"Create 100m buffer around 'rivers' and save as new layer\" |\n| Style update | \"Change 'roads' layer color based on 'type' attribute\" |\n\n## Troubleshooting\n\n| Issue | Solution |\n|-------|---------|\n| **API Key Issues** | Ensure the key is valid and not expired. |\n| **Model Selection** | Check model availability in your subscription. |\n| **Network Issues** | Verify connection and firewall settings. |\n| **Response Format** | Ensure LLM outputs Python code within ```python blocks. |\n\n## License\n\nThis plugin is licensed under the [MIT License](LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamarshehmhmd%2Fpromptly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamarshehmhmd%2Fpromptly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamarshehmhmd%2Fpromptly/lists"}