{"id":23179060,"url":"https://github.com/weberi/node-red-contrib-croq-api","last_synced_at":"2026-02-14T23:06:35.744Z","repository":{"id":268661551,"uuid":"899661663","full_name":"weberi/node-red-contrib-croq-api","owner":"weberi","description":"Enhance your Node-RED flows with AI! Integrate free Groq models to enable AI-powered chat, user-friendly speech interfaces, and intelligent automations, with built-in support for prompt engineering.","archived":false,"fork":false,"pushed_at":"2024-12-06T18:30:18.000Z","size":26,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T09:36:42.470Z","etag":null,"topics":["ai","artificial-intelligence","automation","chatbot","conversational-ai","flow","intelligence","large-language-model","llm","node-red","prompt-engineering","qroc"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/weberi.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":"2024-12-06T18:27:54.000Z","updated_at":"2024-12-07T08:15:56.000Z","dependencies_parsed_at":"2024-12-18T07:23:48.329Z","dependency_job_id":null,"html_url":"https://github.com/weberi/node-red-contrib-croq-api","commit_stats":null,"previous_names":["weberi/node-red-contrib-croq-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weberi/node-red-contrib-croq-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-croq-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-croq-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-croq-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-croq-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weberi","download_url":"https://codeload.github.com/weberi/node-red-contrib-croq-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weberi%2Fnode-red-contrib-croq-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29460142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T22:42:09.113Z","status":"ssl_error","status_checked_at":"2026-02-14T22:42:05.053Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","artificial-intelligence","automation","chatbot","conversational-ai","flow","intelligence","large-language-model","llm","node-red","prompt-engineering","qroc"],"created_at":"2024-12-18T07:13:42.476Z","updated_at":"2026-02-14T23:06:35.718Z","avatar_url":"https://github.com/weberi.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-red-contrib-croq-api\n\nA Node-RED node for interacting with the **Groq API**.  \nCurrently, it supports only synchronous API calls.\n\n## Features\n\n- Easily interact with the Groq API for chat-based completions.\n- Customize the model, temperature, and token limits.\n- Requires an API key: Get yours from [GroqCloud Console](https://console.groq.com/keys).\n- Lightweight implementation using Node.js's native `https` module.\n\n## Installation\n\nInstall the nodes directly through Node-RED's built-in palette manager.\n\n## Nodes\n\n- **croq**: Calls the API.\n- **prompt**: Helps construct the prompt.\n- **models**: Retrieves available models.\n\n## Usage\n\n1. Drag the **croq** node from the palette into your Node-RED workspace.\n2. Double-click the node to open the configuration panel:\n   - Enter your **Groq API Key**. If you don’t have one, visit the [GroqCloud Console](https://console.groq.com/keys) to generate it. You will need to create a Groq account. Usage is **restricted** but **free** within defined limits. \n   - Specify a model in the node or in the input payload, e.g., **llama3-8b-8192**.\n   - Optionally set values for temperature and maximum tokens.\n3. Use the **model** node to retrieve a list of available models.\n4. Use the **prompt** node to configure a multi-part structured prompt and pass it to the **croq** node as `msg.prompt`.\n5. The **croq** node returns the API response in `msg.payload`.\n\n\n## Example Flow\nThe example flow demonstrates how to use the nodes together:\n\n![Demo Flow](examples/demo_flow.png)\n\nYou can import it from the repository to get started quickly.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweberi%2Fnode-red-contrib-croq-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweberi%2Fnode-red-contrib-croq-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweberi%2Fnode-red-contrib-croq-api/lists"}