c0m1t / scriptable-scripts

Collection of Scriptable scripts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scriptable Scripts

GitLab Contribution Graph

A widget that shows an overview of your recent GitLab contributions. It is available in small and medium sizes.

Screenshots

Light theme Dark theme

GitHub Contribution Graph widget for comparison.

Installation

  1. You need to install Scriptor app on your device.
  2. Download GitLabContributionGraph.js from your device and move it to "Scriptable" directory in iCloud.
  3. Open Scriptor app and make sure the script is imported to your scripts.
  4. Add a new Scriptable widget. Notice that Large size widget is not supported for this widget.
  5. Edit Scriptable widget; Choose GitLabContributionGraph as script and select "Run Script" for "When interacting".
  6. Press the widget and you will be asked to enter your GitLab URL and Personal Access Token. Enter your credentials and press submit.

Credentials

Your credentials will be stored in Keychain.

  • GitLab URL: The GitLab server you want to connect to. For instance: https://gitlab.example.com.
  • Personal Access Token: It is used to authenticate with the GitLab API. For more information, visit GitLab documentation on creating a personal token.

Acknowledgments

About

Collection of Scriptable scripts.


Languages

Language:JavaScript 100.0%