Github Integration

Use when building GitHub-based features - Explains auth token usage, Gist reading/writing and rendering helpers.

tomevault-io Updated

File contents

GitHub tokens and auth

  • Check whether github-device-login-token is already in local storage before prompting users.
  • When the token is missing or lacks scopes, direct users to /tools/github-device-login/ to refresh authorization.

Gists

  • Review tools/scratch-pad/index.html for an end-to-end example of creating and saving Gists.
  • Render saved HTML gists at https://gistpreview.github.io/?${encodeURIComponent(gistId)} to preview their content.

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/dave1010--tools--github-integration commit fe373816bc

Frequently asked questions

npx skillmds@latest add tomevault-io/github-integration