Giter VIP home page Giter VIP logo

gitpic's Introduction

GitPic

Make your git commit history more fun by automatically make a webcam capture for each commit you make! Captures will be saved and sorted based on project and time so you can easily browse your history. As a bonus the commit message is rendered to the captured image. Holy smokes thats awesome!

gitpic

Install (Mac OSX)

GitPic relies on Python 3 and OpenCV (and its Python bindings of course). Just install via pip3

$> pip3 install opencv-python

If you have not defined it yet you need to create a template dir for git in which we will put the script and relavant hooks. When you create a new git repo the hooks defined here will be copied to your project.

$> git config --global init.templatedir "~/.git_template"

Then copy the files "capture_webcam.py", "post-commit" to this folder or run the install script:

$> ./install.sh

If you already have a git repository for your project just do a re:init of the project and the new hooks will be copied

$> git init

Now every time you create a new git repository with 'git init' GitPic will automatically be installed! Whohoo! If you already have an existing git repository but still want all the GitPic goodness it is safe to run 'git init' again and git will copy any new hooks to your existing repository.

Configuration

Images will by default be stored in ~/Pictures/gitpic/ but you can change this by editing the constant "OUTPUT_DIR" in the script.

gitpic's People

Contributors

wejeus avatar

Stargazers

Augusto Gonzalez avatar  avatar Simon Kotlinski avatar Andriy avatar Yang Meyer avatar Jon Terje Tvergrov Kalvatn avatar Tri Nguyen avatar

Watchers

James Cloos avatar

Forkers

augustoalegon

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.