{"id":14989313,"url":"https://github.com/rizzlogy/qc-api","last_synced_at":"2025-04-12T00:32:31.042Z","repository":{"id":193953232,"uuid":"686877700","full_name":"rizzlogy/qc-api","owner":"rizzlogy","description":"API Quoted Chat Telegram Support Replit Host!","archived":false,"fork":false,"pushed_at":"2023-11-28T05:42:31.000Z","size":56897,"stargazers_count":4,"open_issues_count":0,"forks_count":19,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T21:02:57.117Z","etag":null,"topics":["koa","nodejs","quoted-chat","replit","telegram-chat"],"latest_commit_sha":null,"homepage":"https://qc-api.rizzy.eu.org/","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/rizzlogy.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":"2023-09-04T06:22:45.000Z","updated_at":"2025-03-20T16:51:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"e09fbb5b-8afa-4c72-b102-b8cd0f693751","html_url":"https://github.com/rizzlogy/qc-api","commit_stats":{"total_commits":216,"total_committers":9,"mean_commits":24.0,"dds":0.5694444444444444,"last_synced_commit":"d8fd222e3e0859440713306b540816a4b403e2a0"},"previous_names":["rizzlogy/qc-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizzlogy%2Fqc-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizzlogy%2Fqc-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizzlogy%2Fqc-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rizzlogy%2Fqc-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rizzlogy","download_url":"https://codeload.github.com/rizzlogy/qc-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501426,"owners_count":21114674,"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":["koa","nodejs","quoted-chat","replit","telegram-chat"],"created_at":"2024-09-24T14:18:07.208Z","updated_at":"2025-04-12T00:32:26.012Z","avatar_url":"https://github.com/rizzlogy.png","language":"JavaScript","readme":"# qc-api\n\n#### API Quoted Chat Telegram Support Replit Host!\n\n## Metode Request\n##### Path Request Only Post!\n```http\nPOST https://qc-api.rizzy.eu.org/generate\n```\n\n## Options\n|  Body | Type |  Description |\n| :------------ | :------------ | :------------ |\n|  type | string | Output image type. May be: quote, image, null |\n|  backgroundColor | string | Quote background color. Can be Hex, name or random for a random color |\n|  messages | array | Array of messages |\n| width | number | Maximum width |\n| height | number | Maximum height |\n| scale | number | Scale |\n\n## Example Request POST Method\n\u003e Quoted Chat Without Media\n```js\nconst axios = require('axios')\nconst fs = require('fs')\n\nconst text = \"Hello World\"\nconst username = \"RizzyFuzz\"\nconst avatar =  \"https://telegra.ph/file/b10b6d0ab3ef16e126cf5.jpg\"\nconst baseurl = \"https://qc-api.rizzy.eu.org/generate\"\n\nconst json = {\n  \"type\": \"quote\",\n  \"format\": \"png\",\n  \"backgroundColor\": \"#1b1429\",\n  \"width\": 512,\n  \"height\": 768,\n  \"scale\": 2,\n  \"messages\": [\n    {\n      \"entities\": [],\n      \"avatar\": true,\n      \"from\": {\n        \"id\": 1,\n        \"name\": username,\n        \"photo\": {\n          \"url\": avatar\n        }\n      },\n      \"text\": text,\n      \"replyMessage\": {}\n    }\n  ]\n};\n\nconst response = axios.post(baseurl, json, {\n        headers: {\n        'Content-Type': 'application/json'\n}\n}).then(res =\u003e {\n    const buffer = Buffer.from(res.data.result.image, 'base64')\n       fs.writeFile('Quotly.png', buffer, (err) =\u003e {\n      if (err) throw err;\n    })\n});\n```\n\u003e Quoted Chat With Media\n```js\nconst axios = require('axios')\nconst fs = require('fs')\n\nconst text = \"Hello World\"\nconst username = \"RizzyFuzz\"\nconst avatar =  \"https://telegra.ph/file/b10b6d0ab3ef16e126cf5.jpg\"\nconst mediaReply = \"https://telegra.ph/file/c8d1dbcaafb17d933d306.jpg\"\nconst baseurl = \"https://qc-api.rizzy.eu.org/generate\"\n\nconst json = {\n  \"type\": \"quote\",\n  \"format\": \"png\",\n  \"backgroundColor\": \"#1b1429\",\n  \"width\": 512,\n  \"height\": 768,\n  \"scale\": 2,\n  \"messages\": [\n    {\n      \"entities\": [],\n      \"media\": {\n        \"url\": mediaReply\n      },\n      \"avatar\": true,\n      \"from\": {\n        \"id\": 1,\n        \"name\": username,\n        \"photo\": {\n          \"url\": avatar\n        }\n      },\n      \"text\": text,\n      \"replyMessage\": {}\n    }\n  ]\n};\n\nconst response = axios.post(baseurl, json, {\n        headers: {\n        'Content-Type': 'application/json'\n}\n}).then(res =\u003e {\n    const buffer = Buffer.from(res.data.result.image, 'base64')\n       fs.writeFile('Quotly.png', buffer, (err) =\u003e {\n      if (err) throw err;\n    })\n});\n```\n\n### Response\n\n![Quotly.png](assets/quoted-chat.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizzlogy%2Fqc-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frizzlogy%2Fqc-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frizzlogy%2Fqc-api/lists"}