Getting Started

Filestack Architecture

File Upload

File Export (Save To)

Responsive Images

Image Transformations

Document Transformations

Video Transcoding

Audio Transcoding





Filestack Viewer


Supported Cloud Drives

Filestack Recipes

Filestack Integrations

Filestack SDKs

Register for an API key

Using GitHub with Filestack

How can you use GitHub with Filestack?

This is all you need to get started. A simple pick.

Sample Code
filepicker.pick( { mimetypes: ['*/*'], container: 'modal', services:['GITHUB'], }, function(Blob){ console.log(replaceHtmlChars(JSON.stringify(Blob))); }, function(FPError){ // console.log(FPError.toString()); - print errors to console } );

Setting up a Custom GitHub oauth application

By default, you do not need to configure anything to start uploading files from GitHub, Filestack is ready to go out of the box. When a user logs into their GitHub account from your site, the Filestack company application will show up. You can configure it so that your application shows up instead in order to make a more seamless experience for your customers. So let's get started.

  1. Sign in to GitHub, then go to and fill out the requested information. Enter as the Authorization callback URL, then click Register application.
  2. Sign into GitHub, fill out the required information and click Register the application
  3. Now copy the Client ID and Client Secret.
    Copy the Client ID and and Client Secret
  4. Now go to the Filestack developer portal and click on Auth Keys, scroll down to the bottom and enter the client ID and the client secret into the GitHub fields for App Key and App Secret and click Save Auth Credentials.
    Copy the App key and App Secret into the Filestack developer portal
  5. Go and test that you can connect to your GitHub application through Filestack.
    Test to make sure your GitHub OAuth application works
    authorize the connection request for your new application
    Congratulations, it worked!

Congratulations! Your custom GitHub application is all set up for use with Filestack!