Skip to content

boydaihungst/altair-graphql-plugin-github-sync

Repository files navigation

Altair Graphql Client github Gist Sync

Node.js Package

NPM

This is a plugin for Altair Graphql Client that allows users sync collections with gist of GitHub.

Installation

Install the altair-graphql-plugin-github-sync plugin from Avaiable Plugins > Altair Github Sync > "Add To Altair" > Then Restart

Configure

  1. Create a personal access token to your GitHub account, with gist scope/permission. image

  2. Go to Altair Graphql Client, click on Gist Sync tab: image

  3. Filling with Gist API Key (generated on step 1), select a existent Gist or select "Create new..." to create a new Gist.

Usage

  • Click on "Upload" to send your collections, app settings, environment to Gist.
  • Click on "Donwload" to get your collections, app settings, environment from Gist.

For developer only

  1. Download and Open the Altair GraphQL Client
  2. Open the settings modal
  3. Toggle "ON" the "Enable experimental features in Altair. Note: The features might be unstable"
  4. Add "url:[email protected]::[url]->[http://localhost:8002]" to the plugins list and hit "Save" at the bottom of the settings modal
  5. Run yarn preview to build in watch mode and open http server
  6. After refresh Gist Sync panel will show in the left

Credit