0.1.9 • Published 3 years ago

insomnia-plugin-snippet-sync v0.1.9

Weekly downloads
52
License
MIT
Repository
github
Last release
3 years ago

Insomnia Workspace Snippet Sync

This is a plugin for Insomnia that allows users sync workspaces with GitLab snippets, every workspace is a separate snippet.

Installation

Install the insomnia-plugin-snippet-sync plugin from Preferences > Plugins.

Configure

1. Create a personal access token.

GitLab access token docs with the api scopre.

2. Go to Insomnia, click on your workspace name, then create a new one!

3. Click on new workspace name and click on "Snippet Sync Authentication"

Plugin Screenshot

Example config:

{
    "provider": "gitlab",
    "baseUrl": "https://your.gitlab.host",
    "token": "PERSONAL_ACCESS_TOKEN"
}

4. Go to your GitLab and search project ID

5. Go to Insomnia, and click on "Workspace Config"

Example config:

{
    "projectId": 4
}

If you already have a snippet in your repository for insomnia config, then use the following:

{
    "projectId": 4,
    "snippetId": YOUR_SNIPPET_ID
}

TODO

  • Configuration options in README
  • Configuration validation
  • Optional workspace level provider settings
  • Refactor typescript types
  • Tests
  • Solve delete sync

Usage

  • Click on Workspace upload to upload your workspace into GitLab Snippet.
  • Click on Workspace download to download your workspace settings from GitLab Snippet.

If you are really interested on preserving integrity working with a team, please support insomnia with a team membership.

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.5

3 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.3-0

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago