{"id":26678244,"url":"https://github.com/telexintegrations/random_meal_suggestor","last_synced_at":"2025-03-26T05:15:18.074Z","repository":{"id":278960632,"uuid":"937284853","full_name":"telexintegrations/random_meal_suggestor","owner":"telexintegrations","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-22T22:55:04.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T23:27:26.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hng12-stage3-telex-integration.vercel.app","language":"JavaScript","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/telexintegrations.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-22T19:14:13.000Z","updated_at":"2025-02-22T22:55:07.000Z","dependencies_parsed_at":"2025-02-22T23:27:26.359Z","dependency_job_id":null,"html_url":"https://github.com/telexintegrations/random_meal_suggestor","commit_stats":null,"previous_names":["collab-rishi/hng12-stage3-telex_integration","telexintegrations/random_meal_suggestor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2Frandom_meal_suggestor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2Frandom_meal_suggestor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2Frandom_meal_suggestor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2Frandom_meal_suggestor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/telexintegrations","download_url":"https://codeload.github.com/telexintegrations/random_meal_suggestor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245591534,"owners_count":20640692,"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":[],"created_at":"2025-03-26T05:15:17.442Z","updated_at":"2025-03-26T05:15:18.024Z","avatar_url":"https://github.com/telexintegrations.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telex Random Meal Suggestion\n\nA Telex interval integration that suggests random meals on certain time interval.\n\n## Features\n\n- Suggests a random meal.\n\n## Installation\n\n```bash\ngit clone https://github.com/telexintegrations/random_meal_suggestor.git\ncd random_meal_suggestor\nnpm install\n```\n\n## Usage\n\n1. Start the application:\n\n   ```bash\n   node index.js\n   ```\n\n## Endpoints\n\n### GET [/integration.json](http://_vscodecontentref_/2)\n\nReturns the integration schema for the Telex interval integration.\n\n**Response:**\n\n```json\n{\n  \"data\": {\n    \"date\": {\n      \"created_at\": \"2025-02-22\",\n      \"updated_at\": \"2025-02-22\"\n    },\n    \"descriptions\": {\n      \"app_name\": \"Daily Meal Suggestion\",\n      \"app_description\": \"Suggests a random meal daily.\",\n      \"app_logo\": \"https://dcassetcdn.com/design_img/375573/141837/141837_3031164_375573_image.jpg\",\n      \"app_url\": \"https://deployed-app.com\",\n      \"background_color\": \"#fff\"\n    },\n    \"is_active\": true,\n    \"integration_category\": \"Communication \u0026 Collaboration\",\n    \"integration_type\": \"interval\",\n    \"key_features\": [\"Daily random meal suggestion\"],\n    \"author\": \"Kumar Rishi\",\n    \"settings\": [\n      {\n        \"label\": \"interval\",\n        \"type\": \"text\",\n        \"required\": true,\n        \"default\": \"*/3 * * * *\"\n      }\n    ],\n    \"target_url\": \"\",\n    \"tick_url\": \"https://deployed-app.com/tick\"\n  }\n}\n```\n\n### POST /tick\n\n**Request Body:**\n\n```json\n{\n  \"return_url\": \"https://ping.telex.im/v1/return/\u003cyour-test-telex-channel-id\u003e\",\n  \"settings\": [\n    {\n      \"label\": \"interval\",\n      \"type\": \"text\",\n      \"required\": true,\n      \"default\": \"*/3 * * * *\"\n    }\n  ]\n}\n```\n\n**Response:**\n\n```json\n{\n  \"status\": \"success\"\n}\n```\n\n## Screenshot\n\n![Alt text](./assets/hng_3_!.PNG)\n\n## Contributing\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Make your changes.\n4. Commit your changes (`git commit -m 'Add some feature'`).\n5. Push to the branch (`git push origin feature-branch`).\n6. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelexintegrations%2Frandom_meal_suggestor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelexintegrations%2Frandom_meal_suggestor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelexintegrations%2Frandom_meal_suggestor/lists"}