{"id":15687026,"url":"https://github.com/thombashi/ghscard","last_synced_at":"2025-05-07T17:29:34.004Z","repository":{"id":46794690,"uuid":"85590529","full_name":"thombashi/ghscard","owner":"thombashi","description":"A JavaScript widget to generate interactive GitHub user/repository/organization cards for static web pages (like GitHub pages).","archived":false,"fork":false,"pushed_at":"2023-07-20T07:48:02.000Z","size":2228,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-27T09:02:39.065Z","etag":null,"topics":["github","github-card","javascript","typescript","widget"],"latest_commit_sha":null,"homepage":"https://ghscard.rtfd.io/","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/thombashi.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2017-03-20T15:01:32.000Z","updated_at":"2024-05-31T16:04:36.000Z","dependencies_parsed_at":"2023-02-06T11:46:44.947Z","dependency_job_id":null,"html_url":"https://github.com/thombashi/ghscard","commit_stats":{"total_commits":399,"total_committers":3,"mean_commits":133.0,"dds":"0.14536340852130325","last_synced_commit":"bda862f9148f45b832b8eda125d8dc8240f8a386"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thombashi%2Fghscard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thombashi%2Fghscard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thombashi%2Fghscard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thombashi%2Fghscard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thombashi","download_url":"https://codeload.github.com/thombashi/ghscard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252926210,"owners_count":21826266,"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":["github","github-card","javascript","typescript","widget"],"created_at":"2024-10-03T17:42:32.935Z","updated_at":"2025-05-07T17:29:33.973Z","avatar_url":"https://github.com/thombashi.png","language":"JavaScript","readme":".. contents:: **ghscard**\n   :backlinks: top\n   :depth: 2\n\nSummary\n=========\n`ghscard \u003chttps://github.com/thombashi/ghscard\u003e`__ is a JavaScript widget to generate interactive GitHub user/repository/organization cards for static web pages (like GitHub pages/Read the Docs).\n\n.. image:: https://badge.fury.io/py/ghscard.svg\n    :target: https://badge.fury.io/py/ghscard\n    :alt: PyPI package version\n\n.. image:: https://img.shields.io/pypi/pyversions/ghscard.svg\n    :target: https://pypi.org/project/ghscard\n    :alt: Supported Python versions\n\n.. image:: https://img.shields.io/npm/v/ghscard\n    :target: https://www.npmjs.com/package/ghscard\n    :alt: npm package version\n\n.. image:: https://img.shields.io/travis/thombashi/ghscard/master.svg?label=Linux%20CI\n    :target: https://travis-ci.org/thombashi/ghscard\n    :alt: Linux CI status\n\n.. image:: https://img.shields.io/github/stars/thombashi/ghscard.svg?style=social\u0026label=Star\n    :target: https://github.com/thombashi/ghscard\n    :alt: GitHub stars\n\nDemo\n======\n- `Popular Repositories on GitHub \u003chttps://thombashi.github.io/ghscard/demo/\u003e`__\n- https://thombashi.github.io/\n\nCLI Tool Installation\n====================================\nInstall ``ghscard`` CLI tool from `PyPI \u003c//pypi.python.org/pypi\u003e`__ via\n`pip \u003c//pip.pypa.io/en/stable/installing/\u003e`__ (Python package manager) command.\n\n::\n\n    pip install ghscard\n\n\nDependencies\n====================================\n\nCLI Tool Dependencies\n----------------------\n- Python 3.5+\n- `Python package dependencies (automatically installed) \u003chttps://github.com/thombashi/ghscard/network/dependencies\u003e`__\n\nQuick Start\n================\n\nGenerate card data files\n----------------------------------\nExecute ``ghscard gen`` command to generate a GitHub user/organization/repository card data file.\n\n::\n\n    $ ghscard gen thombashi -o data\n    [INFO] ghscard gen: written user data to 'data/thombashi.json'\n\n::\n\n    $ ghscard gen Microsoft/TypeScript -o data\n    [INFO] ghscard gen: written repository data to 'data/Microsoft_TypeScript.json'\n\n\nAdd widget to an HTML file\n----------------------------------\n\n:Example:\n    .. code-block:: html\n\n        \u003c!doctype html\u003e\n        \u003chtml\u003e\n        \u003cbody\u003e\n            \u003ctable border=\"0\"\u003e\n                \u003ctr\u003e\n                    \u003ctd\u003e\n                        \u003cdiv class='ghscard' src='data/thombashi.json'\u003e\u003c/div\u003e\n                    \u003c/td\u003e\n                    \u003ctd\u003e\n                        \u003cdiv class=\"ghscard\" src=\"data/Microsoft_TypeScript.json\"\u003e\u003c/div\u003e\n                    \u003c/td\u003e\n                \u003c/tr\u003e\n            \u003c/table\u003e\n\n            \u003cscript src='//cdn.jsdelivr.net/gh/thombashi/ghscard@master/dist/ghscard.min.js'\u003e\u003c/script\u003e\n        \u003c/body\u003e\n        \u003c/html\u003e\n\nThe above HTML rendered as follows:\n\n:Output:\n    .. image:: ss/quickstart.png\n        :width: 600px\n        :alt: Click to navigate to the HTML page\n        :target: //thombashi.github.io/ghscard/quickstart/\n\nCDN\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n- Version specific\n    - ``https://cdn.jsdelivr.net/npm/ghscard@\u003cversion\u003e/dist/ghscard.min.js``\n    - e.g. https://cdn.jsdelivr.net/npm/ghscard@0.4.1/dist/ghscard.min.js\n- Latest version\n    - https://cdn.jsdelivr.net/gh/thombashi/ghscard@master/dist/ghscard.min.js\n\nFor more information\n----------------------\nMore examples are available at \nhttps://ghscard.rtfd.io/en/latest/pages/usage/index.html\n\nTested environment\n=======================\n\n.. table:: Tested Web Browsers\n\n    =======================  ===========================\n    Web browser              Version\n    =======================  ===========================\n    ``Google Chrome``        ``57.0`` or newer\n    ``Mozilla Firefox``      ``52.0`` or newer\n    =======================  ===========================\n\nDocumentation\n---------------\nhttps://ghscard.rtfd.io/\n\nSponsors\n====================================\n.. image:: https://avatars0.githubusercontent.com/u/44389260?s=48\u0026u=6da7176e51ae2654bcfd22564772ef8a3bb22318\u0026v=4\n   :target: https://github.com/chasbecker\n   :alt: Charles Becker (chasbecker)\n\n`Become a sponsor \u003chttps://github.com/sponsors/thombashi\u003e`__\n\n","funding_links":["https://github.com/sponsors/thombashi"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthombashi%2Fghscard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthombashi%2Fghscard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthombashi%2Fghscard/lists"}