{"id":25683182,"url":"https://github.com/danilppzz/node-badge-api","last_synced_at":"2025-02-24T16:41:44.107Z","repository":{"id":215134565,"uuid":"738205601","full_name":"danilppzz/Node-Badge-API","owner":"danilppzz","description":"This is a badge api for make svg with custom text, color and border to POST it into your projects docs and make it look better.","archived":false,"fork":false,"pushed_at":"2024-07-11T23:17:36.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-12T01:34:28.309Z","etag":null,"topics":["badge-generator","honojs","svg","typescript"],"latest_commit_sha":null,"homepage":"https://hono-badge-api.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danilppzz.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}},"created_at":"2024-01-02T17:16:54.000Z","updated_at":"2024-07-12T01:34:36.581Z","dependencies_parsed_at":"2024-01-06T12:57:50.903Z","dependency_job_id":"d8dc4cd8-c090-4223-b1f5-d9262f5ad644","html_url":"https://github.com/danilppzz/Node-Badge-API","commit_stats":null,"previous_names":["danilppzz/hono-badge-api","danilppzz/node-badge-api"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilppzz%2FNode-Badge-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilppzz%2FNode-Badge-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilppzz%2FNode-Badge-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danilppzz%2FNode-Badge-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danilppzz","download_url":"https://codeload.github.com/danilppzz/Node-Badge-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240516665,"owners_count":19814051,"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":["badge-generator","honojs","svg","typescript"],"created_at":"2025-02-24T16:41:43.455Z","updated_at":"2025-02-24T16:41:44.102Z","avatar_url":"https://github.com/danilppzz.png","language":"JavaScript","readme":"# Node-Badge-API\n\nTo copy this project you have to paste this command in your terminal.\n```cmd\ngit clone https://github.com/danilppzz/Node-Badge-API.git\n```\nNext thing you should do is look if you have nodejs v20 or higher.\n\nIn this porject I use .tsx files by HonoJS, because is better to return code as html.\n\n\n### This is the default root response ```http://localhost:3000/```\n```json\n{\n  \"owner\": \"danilppzz\",\n  \"license\": {\n    \"custom\": \"http://localhost:3000/license\"\n  },\n  \"versions\": \"1.0.0\",\n  \"api\": [\n    {\n      \"default\": \"http://localhost:3000/badge/default\"\n    },\n    {\n      \"presets\": \"http://localhost:3000/presets\"\n    }\n  ]\n}\n```\n\n\n\u003e [!NOTE]\n\u003e This api also has a presets endpoint with information and copy links to the presets at ```http://localhost:3000/presets```\n\u003e Here your can find 5 presets made by me (danilppzz).\n\n```js\n  var color = req.query.color || 'dark';\n  var ct = req.query.ct || 'white';\n  var text = req.query.text || 'EXAMPLE';\n  var rd = req.query.rd || false;\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilppzz%2Fnode-badge-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanilppzz%2Fnode-badge-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanilppzz%2Fnode-badge-api/lists"}