{"id":32259205,"url":"https://github.com/piotrl/github-profile-card","last_synced_at":"2026-03-17T16:39:11.980Z","repository":{"id":16357227,"uuid":"19107250","full_name":"piotrl/github-profile-card","owner":"piotrl","description":"Simple and easy to use widget with your GitHub profile — No dependencies","archived":false,"fork":false,"pushed_at":"2026-01-27T21:12:09.000Z","size":41254,"stargazers_count":99,"open_issues_count":5,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-03-12T11:42:31.546Z","etag":null,"topics":["github","github-profile","library","no-dependencies","npm-package","typescript","widget"],"latest_commit_sha":null,"homepage":"https://piotrl.github.io/github-profile-card","language":"TypeScript","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/piotrl.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-04-24T12:17:37.000Z","updated_at":"2026-02-26T05:55:01.000Z","dependencies_parsed_at":"2025-03-17T11:41:53.822Z","dependency_job_id":null,"html_url":"https://github.com/piotrl/github-profile-card","commit_stats":null,"previous_names":["piotrl/github-profile-widget"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/piotrl/github-profile-card","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrl%2Fgithub-profile-card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrl%2Fgithub-profile-card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrl%2Fgithub-profile-card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrl%2Fgithub-profile-card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrl","download_url":"https://codeload.github.com/piotrl/github-profile-card/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrl%2Fgithub-profile-card/sbom","scorecard":{"id":734792,"data":{"date":"2025-08-11","repo":{"name":"github.com/piotrl/github-profile-card","commit":"81289550e9cba351b4df68483685f53cb905db78"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":9,"reason":"10 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrl/github-profile-card/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/piotrl/github-profile-card/ci.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2.0.0 not signed: https://api.github.com/repos/piotrl/github-profile-card/releases/4952515","Warn: release artifact 2.0.0 does not have provenance: https://api.github.com/repos/piotrl/github-profile-card/releases/4952515"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'master'","Warn: 'stale review dismissal' is disabled on branch 'master'","Warn: branch 'master' does not require approvers","Warn: codeowners review is not required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Info: PRs are required in order to make changes on branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T15:28:04.555Z","repository_id":16357227,"created_at":"2025-08-22T15:28:04.556Z","updated_at":"2025-08-22T15:28:04.556Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30627248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T14:16:03.965Z","status":"ssl_error","status_checked_at":"2026-03-17T14:16:03.380Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["github","github-profile","library","no-dependencies","npm-package","typescript","widget"],"created_at":"2025-10-22T19:59:17.166Z","updated_at":"2026-03-17T16:39:11.958Z","avatar_url":"https://github.com/piotrl.png","language":"TypeScript","readme":"# GitHub Profile Card\n\n\u003e Widget shows your GitHub profile directly on your website.  \n\u003e Show your current projects — always up to date.\n\n![Screenshot](./demo/screenshot.png)\n\n## Live [demo and configuration](https://piotrl.github.io/github-profile-card/demo?username=piotrl)\n\n## Contents\n\n- [GitHub Profile Card](#github-profile-card)\n  - [Main features](#main-features)\n  - [Live demo and configuration](#live-demo-and-configuration)\n  - [Changelog](#changelog)\n- [Quick install](#quick-install)\n  - [Download](#download)\n  - [Advanced configuration](#advanced-configuration)\n  - [Configuration options](#configuration-options)\n- [FAQ](#faq)\n- [Feedback](#feedback)\n\n### Main features\n\n- Top languages statistics\n- Last updated repositories\n- Configurable in HTML\n- Copy-Paste installation\n- No jQuery and any other libraries required\n\n### [Changelog](https://github.com/piotrl/github-profile-card/releases)\n\n## Quick install\n\nInclude script and style just before `\u003c/body\u003e` tag:\n\n```\n\u003cscript type=\"text/javascript\" src=\"https://piotrl.github.io/github-profile-card/dist/gh-profile-card.min.js\"\u003e\u003c/script\u003e\n```\n\nInclude HTML code anywhere you would like to place widget:\n\n```\n\u003cdiv id=\"github-card\"\n     data-username=\"YOUR_GITHUB_USERNAME\"\u003e\n\u003c/div\u003e\n```\n\nGreat! Widget will autoload. We're done here.\n\n## Download\n\nWith [_npm_](https://www.npmjs.com/package/github-profile-card)\n\n```\nnpm install github-profile-card --save\n```\n\n## Advanced configuration\n\nConfigure widget in HTML:\n\n```\n\u003cdiv id=\"github-card\"\n     data-username=\"YOUR_GITHUB_USERNAME\"\n     data-max-repos=\"3\"\n     data-sort-by=\"stars\"\n     data-header-text=\"Most starred repositories\"\u003e\n\u003c/div\u003e\n```\n\nFor special usages, it is possible to configure widget(s) in JavaScript.\nYou have to use different template than `#github-card`.\n\n```\nvar widget = new GitHubCard({\n    username: 'YOUR_GITHUB_USERNAME'\n    template: '#github-card-demo',\n    sortBy: 'stars',\n    reposHeaderText: 'Most starred',\n    maxRepos: 5,\n    hideTopLanguages: false,\n});\n\nwidget.init();\n```\n\n## Configuration options\n\n| HTML option (`data-` prefix) | JavaScript option  | Default                     | Details                                                                                                                          |\n| ---------------------------- | ------------------ | --------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| `username`                   | `username`         | None                        | GitHub profile username                                                                                                          |\n| `—`                          | `template`         | `#github-card`              | DOM selector of your widget in HTML                                                                                              |\n| `sort-by`                    | `sortBy`           | `stars`                     | Repositories sorting method (`stars` or `updateTime`)                                                                            |\n| `max-repos`                  | `maxRepos`         | `5`                         | Amount of listed repositories. `0` disables section                                                                              |\n| `header-text`                | `headerText`       | `Most starred repositories` | Text label above repositories list                                                                                               |\n| `hide-top-languages`         | `hideTopLanguages` | `false`                     | Avoids heavy network traffic for calculating `Top Languages` section. Recommended for profiles with huge amount of repositories. |\n\n## FAQ\n\n- **My language statistic is affected by libraries and dependencies**\n\n  Consider ignoring them with .gitattributes: [My repository is detected as the wrong language](https://github.com/github/linguist#overrides)\n\n- **How language statistic is build?**\n\n  It is sum of all characters written in language you use.\n  One big repository in `C#` will be ranked higher than many small `JavaScript` repositories.\n\n  It is based on 10 last updated repositories, to represent your current interests.\n\n- **How to show two or more profiles on page?**\n\n  You have to create two widgets with different ID, then initialize each manually in JS.\n\n  e.g.\n\n  ```\n  \u003cdiv id=\"github-card-1\" data-username=\"user1\"\u003e\u003c/div\u003e\n  \u003cdiv id=\"github-card-2\" data-username=\"user2\"\u003e\u003c/div\u003e\n\n  \u003cscript\u003e\n      new GitHubCard({ template: '#github-card-1' }).init();\n      new GitHubCard({ template: '#github-card-2' }).init();\n  \u003c/script\u003e\n  ```\n\n## Feedback\n\nI love feedback, send me one!\n\n- show me website on which you're using this widget: [leave comment](https://github.com/piotrl/github-profile-card/issues/15)\n- ping me on twitter: [@constjs](https://twitter.com/constjs)\n- create [new issue](https://github.com/piotrl/github-profile-card/issues/new)\n\nRemember no other libraries required. It's like gluten free 😉\n\n![gluten-free](http://forthebadge.com/images/badges/gluten-free.svg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrl%2Fgithub-profile-card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrl%2Fgithub-profile-card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrl%2Fgithub-profile-card/lists"}