
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
react-github-calendar
Advanced tools
React component to display a GitHub contributions calendar
A React component to display a GitHub contributions graph based on
react-activity-calendar
and
github-contributions-api
.
npm install react-github-calendar
import GitHubCalendar from 'react-github-calendar'
;<GitHubCalendar username="grubersjoe" />
Yes. However, not with this component because it fetches data client-side. For SSR support, you can
fetch the GitHub contribution data from a suitable
API server-side and pass it on to the
internally used react-activity-calendar
component. See the
source code as
example and the GitHub color theme.
Create React App (CRA) is considered
abandoned, and you probably should
not use it anymore (more
background).
Using this component inside CRA will lead to errors for reasons described in issue
#105 of
react-activity-calendar
. This repo is not for CRA support questions. If you encounter issues, you
need to fix those yourself given the maintenance state of CRA. Personally, I would recommend using
Vite instead of CRA. It offers everything that CRA does and more.
Start watch mode for the library first:
npm install
npm dev
Then start watch mode of example page:
cd example
npm install
npm dev
Open http://localhost:3000.
npm publish --dry-run
# When you're happy
npm publish --access=public
npm run deploy
FAQs
React component to display a GitHub contributions calendar
The npm package react-github-calendar receives a total of 4,663 weekly downloads. As such, react-github-calendar popularity was classified as popular.
We found that react-github-calendar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.