{"id":48498950,"url":"https://github.com/stackmasteraliza/cook-ai","last_synced_at":"2026-04-07T13:32:54.144Z","repository":{"id":276162814,"uuid":"927206680","full_name":"stackmasteraliza/cook-ai","owner":"stackmasteraliza","description":"This project is a Node.js and Express-based API that allows users to ask cooking-related questions. It uses Hugging Face's LLaMA model to generate AI-powered responses.","archived":false,"fork":false,"pushed_at":"2025-02-06T16:31:16.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T17:22:42.449Z","etag":null,"topics":[],"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/stackmasteraliza.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-04T15:26:48.000Z","updated_at":"2025-02-06T16:56:43.000Z","dependencies_parsed_at":"2025-02-06T17:22:45.628Z","dependency_job_id":"9261c8bc-fed2-45c5-ae5e-0c978d904fbf","html_url":"https://github.com/stackmasteraliza/cook-ai","commit_stats":null,"previous_names":["stackmasteraliza/cook-ai"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stackmasteraliza/cook-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmasteraliza%2Fcook-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmasteraliza%2Fcook-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmasteraliza%2Fcook-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmasteraliza%2Fcook-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackmasteraliza","download_url":"https://codeload.github.com/stackmasteraliza/cook-ai/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackmasteraliza%2Fcook-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31515145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-04-07T13:32:53.858Z","updated_at":"2026-04-07T13:32:54.139Z","avatar_url":"https://github.com/stackmasteraliza.png","language":"HTML","readme":"# Express.js Cooking AI Chatbot\n\nThis project is a Node.js and Express-based API that allows users to ask cooking-related questions. It uses Hugging Face's LLaMA model to generate AI-powered responses.\n\n## Features\n- Query Hugging Face's LLaMA model for cooking advice.\n- Handle API requests and responses using Express.js.\n- JSON-based API for easy integration with frontend applications.\n\n## Video Presentation\n\nhttps://github.com/user-attachments/assets/cbf9ba82-6b52-4894-8e79-dfa0e05b8710\n\n\n## Requirements\n- Node.js (v14+)\n- Express.js\n- Hugging Face API key\n\n## Installation\n1. Clone this repository:\n   ```sh\n   git clone https://github.com/stackmasteraliza/cook-ai.git\n   cd cook-ai\n   ```\n2. Install dependencies:\n   ```sh\n   npm install\n   ```\n3. Create a `.env` file and add your Hugging Face API key:\n   ```sh\n   HUGGINGFACE_API_KEY=your_api_key_here\n   ```\n\n## Usage\n1. Start the server:\n   ```sh\n   node index.js\n   ```\n2. Make a request to the API:\n   ```sh\n   curl -X POST http://localhost:3000/ask -H \"Content-Type: application/json\" -d '{\"question\": \"How do I make a perfect omelette?\"}'\n   ```\n\n## API Endpoints\n### `POST /ask`\n**Request:**\n```json\n{\n  \"question\": \"How do I make a perfect omelette?\"\n}\n```\n\n**Response:**\n```json\n{\n  \"answer\": \"To make a perfect omelette, beat eggs, heat butter in a pan, pour the eggs, and fold when slightly firm.\"\n}\n```\n\n## Technologies Used\n- Node.js\n- Express.js\n- Hugging Face API (LLaMA Model)\n\n## License\nThis project is licensed under the MIT License.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackmasteraliza%2Fcook-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackmasteraliza%2Fcook-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackmasteraliza%2Fcook-ai/lists"}