{"id":30880102,"url":"https://github.com/varundeva/quotes-fusion","last_synced_at":"2026-02-24T09:05:06.697Z","repository":{"id":303636761,"uuid":"1016182588","full_name":"varundeva/quotes-fusion","owner":"varundeva","description":"A simple, open-source API for retrieving inspirational quotes in multiple languages and categories. Built with Hono and TypeScript, designed for serverless/edge environments (e.g., Cloudflare Workers).","archived":false,"fork":false,"pushed_at":"2025-07-13T17:02:03.000Z","size":161,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2025-10-09T19:09:43.147Z","etag":null,"topics":["api","cloudflareworkers","contribute-repository","contributionfriendly","edgefunctions","free","hono","inspiration","json","motivation","multilingual","nocode","open-source","opensource","quotesapi","restfulapi","serverless","typescript","webapi"],"latest_commit_sha":null,"homepage":"https://quotes-fusion.varundev23380.workers.dev/","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/varundeva.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,"zenodo":null}},"created_at":"2025-07-08T15:59:02.000Z","updated_at":"2025-07-31T14:48:44.000Z","dependencies_parsed_at":"2025-07-13T19:07:58.468Z","dependency_job_id":null,"html_url":"https://github.com/varundeva/quotes-fusion","commit_stats":null,"previous_names":["varundeva/quotes-market","varundeva/quotes-fusion"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/varundeva/quotes-fusion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundeva%2Fquotes-fusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundeva%2Fquotes-fusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundeva%2Fquotes-fusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundeva%2Fquotes-fusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varundeva","download_url":"https://codeload.github.com/varundeva/quotes-fusion/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varundeva%2Fquotes-fusion/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29777632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"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":["api","cloudflareworkers","contribute-repository","contributionfriendly","edgefunctions","free","hono","inspiration","json","motivation","multilingual","nocode","open-source","opensource","quotesapi","restfulapi","serverless","typescript","webapi"],"created_at":"2025-09-08T06:46:19.908Z","updated_at":"2026-02-24T09:05:06.647Z","avatar_url":"https://github.com/varundeva.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quotes Fusion API\n\nA simple, open-source API for retrieving inspirational quotes in multiple languages and categories. Built with [Hono](https://hono.dev/) and TypeScript, designed for serverless/edge environments (e.g., Cloudflare Workers).\n\n## Features\n- Get random quotes in English, Hindi, Kannada, Malayalam, Tamil, and Telugu\n- Filter quotes by language and category\n- Rate limiting and CORS support\n- Easy to contribute new quotes or languages\n\n## Getting Started\n\n### Prerequisites\n- Node.js (v18+ recommended)\n- npm or yarn\n\n### Installation\n```bash\n# Clone the repository\n$ git clone https://github.com/your-username/quotes-fusion.git\n$ cd quotes-fusion\n\n# Install dependencies\n$ npm install\n```\n\n### Development\n```bash\n# Start the development server (using wrangler for Cloudflare Workers)\n$ npx wrangler dev\n```\n\n## API Endpoints\n\nAll responses follow this structure:\n```json\n{\n  \"status\": true,\n  \"data\": \u003cresult\u003e,\n  \"error\": null\n}\n```\nIf an error occurs, `status` is `false`, `data` is `null`, and `error` contains a message.\n\n### 1. Get a random English quote\n**GET** `/quote`\n\n**Example Response:**\n```json\n{\n  \"status\": true,\n  \"data\": {\n    \"quote\": \"goal fail grow success yourself never journey\",\n    \"category\": \"Spirituality\",\n    \"language\": \"English\"\n  },\n  \"error\": null\n}\n```\n\n---\n\n### 2. List available languages\n**GET** `/languages`\n\n**Example Response:**\n```json\n{\n  \"status\": true,\n  \"data\": [\"english\", \"hindi\", \"kannada\", \"malayalam\", \"tamil\", \"telugu\"],\n  \"error\": null\n}\n```\n\n---\n\n### 3. List categories for a language\n**GET** `/categories/:language`\n\n**Example:** `/categories/english`\n\n**Example Response:**\n```json\n{\n  \"status\": true,\n  \"data\": [\"Spirituality\", \"Career\", \"Failure\", ...],\n  \"error\": null\n}\n```\n\n---\n\n### 4. Get a random quote from a language\n**GET** `/quote/:language`\n\n**Example:** `/quote/hindi`\n\n**Example Response:**\n```json\n{\n  \"status\": true,\n  \"data\": {\n    \"quote\": \"...\",\n    \"category\": \"...\",\n    \"language\": \"Hindi\"\n  },\n  \"error\": null\n}\n```\n\n---\n\n### 5. Get a random quote from a language and category\n**GET** `/quote/:language/:category`\n\n**Example:** `/quote/english/Spirituality`\n\n**Example Response:**\n```json\n{\n  \"status\": true,\n  \"data\": {\n    \"quote\": \"...\",\n    \"category\": \"Spirituality\",\n    \"language\": \"English\"\n  },\n  \"error\": null\n}\n```\n\n---\n\n## Example Usage\n\n### Fetch a random English quote (curl)\n```bash\ncurl https://your-api-domain/quote\n```\n\n### Fetch available languages\n```bash\ncurl https://your-api-domain/languages\n```\n\n### Fetch categories for Hindi\n```bash\ncurl https://your-api-domain/categories/hindi\n```\n\n### Fetch a random quote from Tamil\n```bash\ncurl https://your-api-domain/quote/tamil\n```\n\n### Fetch a random quote from English in the \"Career\" category\n```bash\ncurl https://your-api-domain/quote/english/Career\n```\n\n---\n\n## Contributing\n\nContributions are welcome! You can:\n- Add new quotes to existing language files in `src/quotes/`\n- Add a new language by creating a new JSON file in `src/quotes/`\n- Improve documentation or code\n\n### Steps\n1. Fork this repository\n2. Create a new branch (`git checkout -b feature/your-feature`)\n3. Make your changes\n4. Commit and push (`git commit -am 'Add new feature'`)\n5. Open a Pull Request\n\nPlease ensure your code passes linting and tests before submitting.\n\n---\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarundeva%2Fquotes-fusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarundeva%2Fquotes-fusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarundeva%2Fquotes-fusion/lists"}