Skip to content
A tool for Arduino that allows you to upload and retrieve source from github gists. The Arduino board's serial number is used to identify the correct source.
Java CSS
Latest commit d747a8d Aug 5, 2013 @davidvondle fixed isReachable bug


These tools allow you Arduino board to be the link to it's own source stored online.

To install, place the folders "GistUploader" and "GistRetriever" in Documents/Arduino/tools.
On Windows you will need the "DevCon" command line utility, download directly from Microsoft here:
devcon.exe should be placed in the same "tools" folder as everything else.

When you are finished programming your Arduino, select "Save and Upload Source to Github from the "Tools" dropdown menu.

If you ever need the source for that board, plug the board into USB, and select "Retrieve Source". The code will show up in the editor window.


Using your own github account:

The github username/password file is in the same folder your Arduino preferences.txt file is.  it is called "gistCredentials".  You can add your own github login information into that file if you prefer to save to your own account. 
in your code you can specify which account you want the code to go to by putting this in the comments at the top:
Keep in mind these accounts are the same account that the retriever uses to find the code, so if you use a personal account and want to retrieve the code on another machine, make sure your credentials are on that machine as well.

Making the code private:

To make the code private, put this string in the comments:
This only really makes sense on your own github account, as the login information for the general account is not secret.

This code supports libraries that are in the same folder as the .ino/.pde file.  

For an extensive write-up on this project read my post on IDEO Labs here:


Copyright 2012 Dave Vondle

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   See the License for the specific language governing permissions and
   limitations under the License.


This code depends on 
egit, which is under the EDL License:

gson, commons-codec, commons-logging, httpclient, and httpcore are all under the Apache License 2.0

Something went wrong with that request. Please try again.