{"id":18495390,"url":"https://github.com/victrme/i18n-quotes","last_synced_at":"2025-08-05T08:14:32.099Z","repository":{"id":37962606,"uuid":"477042525","full_name":"victrme/i18n-quotes","owner":"victrme","description":"Retrieves random quotes in different languages","archived":false,"fork":false,"pushed_at":"2025-05-31T16:43:16.000Z","size":3016,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T04:04:30.592Z","etag":null,"topics":["cloudflare-workers","internationalization","quotes","rest-api"],"latest_commit_sha":null,"homepage":"https://i18n-quotes.victr.workers.dev/","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/victrme.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":"2022-04-02T12:05:11.000Z","updated_at":"2025-05-31T16:43:20.000Z","dependencies_parsed_at":"2023-02-08T20:15:43.404Z","dependency_job_id":"7c5e5636-a2c6-4753-a413-92bf79422d23","html_url":"https://github.com/victrme/i18n-quotes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victrme/i18n-quotes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fi18n-quotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fi18n-quotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fi18n-quotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fi18n-quotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victrme","download_url":"https://codeload.github.com/victrme/i18n-quotes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victrme%2Fi18n-quotes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268859123,"owners_count":24318874,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cloudflare-workers","internationalization","quotes","rest-api"],"created_at":"2024-11-06T13:24:38.494Z","updated_at":"2025-08-05T08:14:31.991Z","avatar_url":"https://github.com/victrme.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Quotes API used by Bonjourr\n\nThis API returns quotes using 3 different providers:\n\n-   Random quotes found on the internet\n-   Inspirational quotes by inspirobot\n-   Famous quotes from the tv show kaamelott\n\n⚠️ For performance reasons, quotes are fetched from this repo using [jsDelivr CDN](https://www.jsdelivr.com/github). This will cause problem when forking this repo.\n\n## Run and deploy\n\nThis API can easily be deployed as a Cloudflare Worker.\n\n```bash\ndeno install --global npm:wrangler\n\n# ✅ Successfully installed wrangler\n\n# test\ndeno test --allow-net\n\n# ok | 3 passed (9 steps) | 0 failed (1s)\n\n# dev\nwrangler dev\n\n# ⎔ Starting local server...\n# Ready on http://127.0.0.1:8787\n\n# deploy\ndeno run deploy --allow-net\n\n# Total Upload: 1.96 KiB / gzip: 0.89 KiB\n# Uploaded i18n-quotes (8.39 sec)\n```\n\n## API Endpoints\n\nAll endpoints return a list of quotes with the same type\n\n```typescript\ntype Quotes = {\n\tauthor: string\n\tcontent: string\n}[]\n```\n\n### Classic\n\nReturns 20 random english quotes\n\n```HTTP\nGET /classic\n```\n\n```jsonc\n[\n  {\n    \"author\": \"Joseph Campbell\",\n    \"content\": \"Find a place inside where there's joy, and the joy will burn out the pain.\"\n  },\n  {\n    \"author\": \"Theodore Roosevelt\",\n    \"content\": \"With self-discipline most anything is possible.\"\n  }\n  // ...\n]\n```\n\nReturns 20 random quotes from a specified language\n\n```HTTP\nGET /classic/:lang\n```\n\n```jsonc\n[\n  {\n    \"author\": \"Socrate\",\n    \"content\": \"Tout ce que je sais, c'est que je ne sais rien.\"\n  },\n  {\n    \"content\": \"L’enthousiasme a toujours engendré la certitude.\",\n    \"author\": \"Alfred Espinas\"\n  }\n  // ...\n]\n```\n\n### Inspirobot\n\nReturns 20 quotes from [Inspirobot](https://inspirobot.me/)\n\n```HTTP\nGET /inspirobot\n```\n\n```jsonc\n[\n  {\n    \"author\": \"Inspirobot\",\n    \"content\": \"Depressions can become memorable.\"\n  },\n  {\n    \"author\": \"Inspirobot\",\n    \"content\": \"Notice how your left nostril is connecting to your heart.\"\n  }\n  // ...\n]\n```\n\n### Kaamelott\n\nReturns 20 quotes from a list of kaamelott quotes shamelessly stolen from [sin0light/api-kaamelott](https://github.com/sin0light/api-kaamelott).\n\n```HTTP\nGET /kaamelott\n```\n\n```jsonc\n[\n  {\n    \"author\": \"Le Roi Burgonde\",\n    \"content\": \"Arthour !… Pas changer assiette pour fromage !\"\n  },\n  {\n    \"author\": \"Perceval\",\n    \"content\": \"Là, vous faites sirop de vingt-et-un et vous dites: beau sirop, mi-sirop, siroté, gagne-sirop, sirop-grelot, passe-montagne, sirop au bon goût.\"\n  }\n  // ...\n]\n```\n\n### The Office\n\nReturns 20 quotes from a list of The Office quotes shamelessly stolen from [AkashRajpurohit/the-office-api](https://github.com/AkashRajpurohit/the-office-api).\n\n```HTTP\nGET /office\n```\n\n```jsonc\n[\n  {\n      \"author\": \"Dwight Schrute\",\n      \"content\": \"When someone smiles at me, all I see is a chimpanzee begging for its life.\"\n  },\n  {\n      \"author\": \"Michael Scott\",\n      \"content\": \"An office is not for dying. An office is a place for living life to the fullest, to the max, to… an office is a place where dreams come true.\"\n  },\n  // ...\n]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictrme%2Fi18n-quotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictrme%2Fi18n-quotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictrme%2Fi18n-quotes/lists"}