Skip to content

This python script can be used to create a nice looking commit history. It make commits so it spells out words!

Notifications You must be signed in to change notification settings

wardfranssen/text-to-commit-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Example image

text-to-commit-history

This project allows you to create a series of git commits that form a specified text pattern over a year. The text pattern is defined using a JSON file that maps letters, numbers, punctuatiion and icons to a grid of dates. This JSON file can easily be edited to costumize everything.

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/wardfranssen/text-to-commit-history.git
    cd text-to-commit-history

Usage

  1. Make your own public repo and publish it to github. This repo will be used to make the commits to, if you delete this repo all the commits will also be gone.

  2. Run the script:

    python src/main.py
  3. Follow the prompts to input:

    • Directory of the repository you just made
    • Commit message
    • Text to be displayed
    • Text size (big/small)
    • Year for the commits

Example

Directory of repo: C:\Users\user\Test
Commit message: Test
Text: Hello, World
What size should the text be (big/small): small
What year should your commits be in: 2000

Files

  • src/main.py: Main script to run the project.
  • static/characters.json: JSON file containing the characters mappings, you can fully customize the characters in this file, but make sure that each letter has 7 columns.
  • static/...vincent-van-git.config.json: These can be imported to https://vincent-van-git.netlify.app/ to visualize the letters in a commit history.

About

This python script can be used to create a nice looking commit history. It make commits so it spells out words!

Topics

Resources

Stars

Watchers

Forks

Languages