Set up GitHub account for exporting node trees from Sverchok - nortikin/sverchok GitHub Wiki

Introduction

Sverchok allows you to export your node tree setups to .json file, to be imported again. If you want, you may share it by use of any pastebin service, or by use of github's gist service.

To share your node trees, Sverchok has a function to automatically post exported json to gist.github.com service. This is a very nice and widely used feature, but since some time GitHub requires authentication for gist creation. Thus, to use this feature, you have to

  1. get GitHub account
  2. set up your GitHub account to enable automate gists creation
  3. set up Sverchok to tell it about your GitHub account.

Get GitHub Account

To create GitHub account, press "Sign up for GitHub" at the https://github.com/ page. For more information about GitHub accounts, please visit GitHub Help.

Set up your GitHub Account

To allow automated gists creation, you have to create a so-called "personal access token". For that, you have to navigate to your Personal Access Tokens settings. You may access the same page by going to GitHub settings page

then use the sidebar to go to "Developer Settings"

and then go to "Personal Access Tokens"

At that page, click "Generate new token" and allow the newly created token to create gists:

GitHub will provide you with a hexadecimal string (something like 0123ABCDE...). Copy that string and store it safely.

Tell Sverchok about your GitHub account

To configure Sverchok to publish gists by use of your GitHub account:

  1. Launch Blender
  2. Go to Preferences (Edit -> Preferences) dialog and find Sverchok preferences under "Add-ons" section.
  3. In Sverchok preferences, specify your GitHub access token:

Now you should be able to export node tree setups to GitHub gist service by use of "Export to gist" button in the node editor's N panel.