RetroFill: A Tool for Customizing GitHub Contribution Graphs
RetroFill is a new tool that allows users to customize their GitHub contribution graphs by generating backdated commits in a new repository, offering a more transparent and user-friendly approach compared to existing…

RetroFill is a tool designed to allow users to customize their GitHub contribution graphs by generating backdated commits in a new repository. This approach offers a more transparent and user-friendly alternative to existing scripts that users have traditionally used to fill gaps in their contribution history. According to the Dev.to article, RetroFill allows users to load any public profile and preview a fill on the real graph without requiring sign-in. This feature enables users to manually paint days or let a realism engine propose a year of activity, providing greater control over the contribution graph (Dev.to, 1). [1]
The tool operates by creating a new repository with the name chosen by the user and pushing real backdated commits with real diffs. Gap-only is enabled by default, ensuring that days the user already contributed to are skipped. RetroFill also includes an undo feature, which deletes the repository created by the job, allowing users to easily revert changes if needed. The process is designed to ensure that the generated activity is visible and not misleading, as the article emphasizes that a green graph is not a résumé (Dev.to, 1). [1]
RetroFill's pipeline consists of five stages, beginning with a planning phase where the realism engine generates a deterministic function to model a real year of activity, including weekday versus weekend weighting and streak momentum. The pipeline continues with timestamping, building the repository with isomorphic-git, pushing the commits to a new repository, and verifying that the commits meet GitHub's criteria. The tool is designed to be used for pixel art across a year, filling gaps in contribution history, or maintaining a streak during a difficult period, but it is not intended to be used as evidence of specific work (Dev.to, 1). [1]
RetroFill operates by creating a new GitHub repository with a user-chosen name and pushing real backdated commits that carry the selected dates. These commits are generated through a five-stage pipeline that includes planning, timestamping, building, pushing, and verifying. The process ensures that the commits are visible on the GitHub contribution graph, but they are not linked to any prior work or private repositories. The realism engine used in the planning stage is deterministic, allowing the same seed to produce identical results in both the browser preview and the final push. This ensures consistency between the preview and the actual commits on the graph. [1]
Advertisement
The tool's design includes a gap-only feature that is enabled by default, ensuring that days on which the user has already contributed are skipped. This prevents the overwriting of real work with generated activity. The timestamps for each commit are generated based on the user's timezone, with work sessions scheduled at human hours and gaps of roughly ninety seconds to fifty-five minutes between sessions. This approach ensures that the generated commits align with the contribution graph's visual representation, even when considering the differences between local and UTC time zones. [1]
RetroFill's build stage uses isomorphic-git, a JavaScript-based implementation of Git, which allows the creation of a repository without the need for a local Git binary. Users can choose from three templates for the repository: a "Today I Learned" notebook, a small TypeScript utility library with tests, or a dev journal. Each commit message is drawn from a pool specific to the chosen template, and the author and committer details are set to the user's display name and GitHub noreply address. This approach ensures that the generated commits appear as if they were made by the user, but they do not overwrite or alter any existing history. [1]
The push stage of the pipeline ensures that the new repository is created with a unique name, and the process refuses to proceed if the name already exists. Sign-in is read-only, and any writes must go through a GitHub App installed by the user. This restriction ensures that the generated commits are only made in the specified repositories and not elsewhere, including private repositories that the user has not explicitly selected. The verification stage confirms that the commits are counted by GitHub under the specified conditions, including the repository not being a fork and the "Include private contributions" setting being enabled if necessary. [1]
RetroFill is designed to be used for purposes such as filling gaps in a contribution graph, maintaining a streak during a busy period, or creating a visually appealing year-long record of activity. However, the tool explicitly warns against using the generated commits as evidence of specific work, such as for job interviews, client presentations, or résumés. Users are encouraged to understand that the generated activity is not a substitute for real work and that the tool is not intended to obscure or misrepresent actual contributions. The tool's transparency page and documentation provide further details on how it functions and the limitations it imposes on the generated activity. [1]
Advertisement
The Cali Reporter newsletter
The stories worth your time.
California, the country, and what comes next. Join our free newsletter for reporting that keeps you informed.
More in Technology
- Modern Web Guidance 1.0 and Browser Compatibility
Modern Web Guidance 1.0, announced by Chrome for Developers on November 10, introduces browser compatibility data to assist coding agents in building web features. The initiative emphasizes the importance of fallback…
- Apache mod_http2 Vulnerability Detection with Nmap
A new Nmap scripting module has been developed to detect the Apache mod_http2 vulnerability (CVE-2026-119618), addressing the challenges of identifying affected systems accurately.
- Securing Remote Vendor Access in Industrial Networks
Best practices for managing remote vendor access in operational technology (OT) networks emphasize controlled access points, multifactor authentication, and time-bound sessions to reduce cybersecurity risks.
