{"id":16295472,"url":"https://github.com/bamacharanchhandogi/react-gfg","last_synced_at":"2026-04-27T22:32:35.775Z","repository":{"id":229513714,"uuid":"776509249","full_name":"BamaCharanChhandogi/react-gfg","owner":"BamaCharanChhandogi","description":"Collection of components for showcasing your Geek for Geeks profile in your portfolio ","archived":false,"fork":false,"pushed_at":"2024-08-15T18:14:42.000Z","size":2120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-01T14:15:52.428Z","etag":null,"topics":["components-react","gfg-api","gfg-profile-data","npm-package","react-npm"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-gfg","language":"CSS","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/BamaCharanChhandogi.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-03-23T17:51:33.000Z","updated_at":"2025-04-19T03:11:15.000Z","dependencies_parsed_at":"2024-08-15T20:24:48.594Z","dependency_job_id":null,"html_url":"https://github.com/BamaCharanChhandogi/react-gfg","commit_stats":null,"previous_names":["bamacharanchhandogi/react-gfg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BamaCharanChhandogi/react-gfg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BamaCharanChhandogi%2Freact-gfg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BamaCharanChhandogi%2Freact-gfg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BamaCharanChhandogi%2Freact-gfg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BamaCharanChhandogi%2Freact-gfg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BamaCharanChhandogi","download_url":"https://codeload.github.com/BamaCharanChhandogi/react-gfg/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BamaCharanChhandogi%2Freact-gfg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32358509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["components-react","gfg-api","gfg-profile-data","npm-package","react-npm"],"created_at":"2024-10-10T20:18:51.628Z","updated_at":"2026-04-27T22:32:35.759Z","avatar_url":"https://github.com/BamaCharanChhandogi.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-GFG\n\neact-GFG is a comprehensive React component library designed to easily showcase detailed profile information for [Geeks for Geeks](https://www.geeksforgeeks.org/) users. Ideal for embedding in portfolios or web applications.\n\n\n### Full Blog Post\n- [Introducing React-GFG on Hashnode](https://bamacharan.hashnode.dev/introducing-react-gfg-fetch-your-geek-for-geeks-profile-details-with-ease/)\n\n\n## Key Features\n\n- 📈 `Profile Stats:` Clean and detailed profile stats presented as reusable components.\n- 🎨 `Customizable:` Tailor themes and styles to match your application's design.\n- 🍀 `Open Source:` Released under the [MIT License](./LICENSE) for flexibility and community contributions.\n\n## Installation\n\n- Install via npm:\n\n```bash\nnpm install react-gfg\n```\n\n- With Yarn:\n\n```bash\nyarn add react-gfg\n```\n\n## Usage\n\nHere’s a quick example of how to integrate the GFGProfile component into your application:\n\n### Example\n\n```tsx\nimport { GFGProfile } from \"react-gfg\";\n\nfunction App() {\n  return (\n    \u003cdiv className=\"w-full flex justify-center items-center\"\u003e\n      \u003cGFGProfile username=\"bamacharan\" /\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\u003c!-- ## Demo Screenshots --\u003e\n![Alt text](images/demo.png)\n\n## Advanced Customization\n### You can change the profile picture using the `img` prop:\n```tsx\nimport { GFGProfile } from \"react-gfg\";\n\nfunction App() {\n  return (\n    \u003cdiv className=\"w-full flex justify-center items-center\"\u003e\n      \u003cGFGProfile username=\"bamacharan\" img={\"imageURL.png\"}/\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\u003c!-- ## Demo Screenshots --\u003e\n![Custom Profile Image Example](images/demo1.png)\n\n### Or remove the profile picture entirely with the `showImg` prop:\n```tsx\nimport { GFGProfile } from \"react-gfg\";\n\nfunction App() {\n  return (\n    \u003cdiv className=\"w-full flex justify-center items-center\"\u003e\n      \u003cGFGProfile username=\"bamacharan\" ShowImg={\"none\"}/\u003e\n    \u003c/div\u003e\n  );\n}\n\nexport default App;\n```\n\u003c!-- ## Demo Screenshots --\u003e\n![No Profile Image Example](images/demo2.png)\n\n## Custom CSS\n\nThe `GFGProfile` component uses the following customizable CSS classes:\n\n## Base Styles\n\n- `.card`:Main container for the profile card.\n- `.profile-container`:  Contains the profile image and information.\n- `.profile-image`:  The profile image itself.\n- `.info-container`: Holds the user's profile details.\n\n## Customizable Styles\n- `body:` Font family for the entire component.\n- `.card:` Background color and gradient of the card.\n- `.username:` Username text color and font weight.\n- `.info-row:` Styles for the information rows (e.g., institute rank, streaks).\n\n### For detailed information, check the [here](src/stories/GFGProfile.css)\n\n\n## Development\n- Clone the repository and install dependencies:\n```bash\ngit clone https://github.com/BamaCharanChhandogi/react-gfg.git\n```\n- Install the packages\n```bash\nnpm install\n#or\nyarn install\n```\n\n- To run example website\n```bash\ncd example\n\nnpm run dev\n#or\nyarn dev\n```\n\n\n- Run the test\n```bash\nnpm run test\n#or\nyarn test\n```\n\n\n## Contributing\nIf you would like to contribute to this project, please follow these steps:\n\n- Fork the repo\n- Clone the repo `git clone https://github.com/BamacharanChhandogi/react-gfg.git`\n- Create your feature branch (`git checkout -b feature/YourFeature`)\n- Commit your changes (`git commit -am 'Add some feature'`)\n- Push to the branch (`git push origin feature/YourFeature`)\n- Create a new Pull Request\n\n\n## License\n`react-gfg` is released under the [MIT license](./LICENSE).\n\n## Thank You\nYour contributions and feedback are what make React-GFG better! Thank you for being a part of this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamacharanchhandogi%2Freact-gfg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbamacharanchhandogi%2Freact-gfg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbamacharanchhandogi%2Freact-gfg/lists"}