Skip to content

ksbek/githubcommit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

githubcommit

githubcommit is a jupyter notebook extension enabling users push ipython notebooks to a git repo. The git button gets displayed in the notebook toolbar. After saving any notebook the user can push notebook to pre-specified git repository. There are few configuration variables that must be set. Currently this extension supports commits to a single github repo defined in configuration variable but in the long run need help to modify this extension allowing user to select his repo and branch.

Installation

You can currently install this directly from git:

1. Please generate ssh key using following command and configure ssh key (present in ~/.ssh/id_rsa.pub or specified location) in github account.

   ssh-keygen -b 2048 -t rsa -f ~/.ssh/id_rsa -q -N ""

2. Download config.json template

   cd && curl -O https://raw.githubusercontent.com/ksbek/githubcommit/master/config.json

3. Please open config.json and set git configuration values

4. Setup githubcommit package

   curl https://raw.githubusercontent.com/ksbek/githubcommit/master/bootstrap.sh | bash

5. Restart jupyter server

Screenshots

Extension

Add Message

Commit Message

Push Message

Pull Message

Success Message

About

A jupyter notebook extension enabling users push ipython notebooks to a git repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 50.6%
  • JavaScript 45.0%
  • Shell 4.4%