{"id":17800880,"url":"https://github.com/refi64/github-repo-buttons","last_synced_at":"2025-04-02T04:41:04.505Z","repository":{"id":69429183,"uuid":"107188132","full_name":"refi64/github-repo-buttons","owner":"refi64","description":"A lightweight library for embeddable GitHub star/watch/fork buttons","archived":false,"fork":false,"pushed_at":"2017-10-16T22:19:02.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-03-25T05:06:46.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/refi64.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":"2017-10-16T22:07:42.000Z","updated_at":"2019-05-03T10:33:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a7710ba-183f-4ec5-b844-875b12aa3f93","html_url":"https://github.com/refi64/github-repo-buttons","commit_stats":null,"previous_names":["kirbyfan64/github-repo-buttons"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refi64%2Fgithub-repo-buttons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refi64%2Fgithub-repo-buttons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refi64%2Fgithub-repo-buttons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refi64%2Fgithub-repo-buttons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/refi64","download_url":"https://codeload.github.com/refi64/github-repo-buttons/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246758278,"owners_count":20828919,"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":"2024-10-27T12:31:58.083Z","updated_at":"2025-04-02T04:41:04.491Z","avatar_url":"https://github.com/refi64.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-repo-buttons\n\nA lightweight library for embeddable GitHub star/watch/fork buttons.\n\n[Demo.](https://refi64.com/github-repo-buttons)\n\n## Downloading\n\n```\n# Using npm:\n$ npm install --save github-repo-buttons\n# Using yarn:\n$ yarn add github-repo-buttons\n```\n\n## Usage\n\n```html\n\u003c!-- Simple button: the this will display the stars --\u003e\n\u003cdiv class=\"github-repo-button\" repo=\"myuser/myrepo\" stars\u003e\u003c/div\u003e\n\u003c!-- and the watchers --\u003e\n\u003cdiv class=\"github-repo-button\" repo=\"myuser/myrepo\" watchers\u003e\u003c/div\u003e\n\u003c!-- and the forks --\u003e\n\u003cdiv class=\"github-repo-button\" repo=\"myuser/myrepo\" forks\u003e\u003c/div\u003e\n\n\u003c!-- By default the stars/watchers/forks icons are used just like on GitHub. If you want to\n     use the GitHub logo instead like on the website, add the generic-icon attribute: --\u003e\n\u003cdiv class=\"github-repo-button\" repo=\"myuser/myrepo\" stars generic-icon\u003e\u003c/div\u003e\n\n\u003c!-- Instead of the class=\"github-repo-button\" syntax you can also use a tag: --\u003e\n\u003cgithub-repo-button repo=\"myuser/myrepo\" stars\u003e\u003c/github-repo-button\u003e\n\u003c!-- or an attribute --\u003e\n\u003cdiv github-repo-button repo=\"myuser/myrepo\" stars\u003e\u003c/div\u003e\n\n\u003c!-- If you want to request the stars/watchers/forks from GitHub over HTTP instead of HTTPS,\n     use the insecure-http attribute: --\u003e\n\u003cdiv class=\"github-repo-button\" repo=\"myuser/myrepo\" stars insecure-http\u003e\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefi64%2Fgithub-repo-buttons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frefi64%2Fgithub-repo-buttons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefi64%2Fgithub-repo-buttons/lists"}