insomnia-plugin-universal-git

Plugin to sync your insomnia collections and environments with GitLab or Github

Usage no npm install needed!

<script type="module">
  import insomniaPluginUniversalGit from 'https://cdn.skypack.dev/insomnia-plugin-universal-git';
</script>

README

Universal Git Plugin for Insomnia API Client

This plugin for Insomnia aims to ease syncing your workspaces, directories or even single requests to your Git repositories. Right now GitLab is supported only but GitHub and others will be supported soon.

Current Features

GitLab

  • Sync Workspace

How to use this plugin

Just install it via the Insomnia Plugin Hub.

As I'm currently releasing updates nearly every day and the plugin hub only updates very rarely I'd recommend to install the plugin directly from npm by its name insomnia-plugin-universal-git under Insomnia -> Preferences -> Plugins.

After installing just hit the dropdown menu located right beneath the workspace/collections name, go through the setup and start pulling/pushing your config.

Bildschirmfoto 2021-07-15 um 12 02 42

Setup

  • Base URL: Your GitLabs' URL.
  • Access Token: Create an access token with "api" scope.
  • Project ID: Create a new project to store your configs directly in GitLab and enter the project id which you find in the settings.
  • Workspace File Name: The file your workspace will be stored under (JSON). Choose this freely.

Bildschirmfoto 2021-07-15 um 12 07 20

Branches

Multi-Branch support is implemented. You can choose from your existing branches or create new ones in the Setup.