GithubHelp home page GithubHelp logo

dindatiwi / github-vanity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ihabunek/github-vanity

0.0 0.0 0.0 53 KB

Write to your GitHub activity chart

License: Other

Makefile 3.34% Python 96.66%

github-vanity's Introduction

Vanity text for GitHub

Write to your GitHub activity chart.

Inspired by Rockstar

image

image

image

Installation

From APT package repository

This works for Debian, Ubuntu and other derivatives.

The repo is signed with my keybase.io key.

echo "deb http://bezdomni.net/packages/ ./" | sudo tee /etc/apt/sources.list.d/bezomni.list
curl https://keybase.io/ihabunek/pgp_keys.asc | sudo apt-key add -

sudo apt update
sudo apt install python3-github-vanity

From Python Package Index

Preferably install into a virtual environment.

pip install github-vanity

Usage

Initialize an empty Git repository which you will submit to GitHub.

Populate the repo with the desired text:

vanity write "Hi there!"

Push the repo to GitHub and presto!

image

Reference

vanity write [options] text

  • text - text to write to the commit chart

Available options:

  • -h, --help - show usage instructions
  • -d, --start_date - the date to start with, should be a Sunday
  • -o, --offset - number of spaces to leave to the left (default is 0)
  • -s, --spacing - spacing between letters (default is 1)
  • -w, --space_width - width of space character (default is 4)
  • -c, --commits - number of commits per pixel (default is 50)

The default start_date is the Sunday 52 weeks before the last one, which is the first pixel visible on the commit chart.

github-vanity's People

Contributors

ihabunek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.