npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

insomnia-plugin-git-integration

v0.6.5

Published

Sync your workspace to a Git repository.

Downloads

1,031

Readme

Git integration for Insomnia

⚠️ THIS PLUGIN DOES NOT WORK WITH INSOMNIA VERSION 8 OR HIGHER

Since Insomnia version 8 all data is saved in the cloud and cannot be accessed by this plugin. Use version 2023.5.8 of Insomnia or (Insomnium)[https://github.com/ArchGPT/insomnium/], if you still want to use this Plugin.

I would recommend switching to another API-Client like Bruno.


Insomnia plugin for exporting and importing insomnia Projects into Git repositories.

⚠️ This plugin accesses Insomnia data directly. It is recommended to back up Insomnia data before using it. Insomnia may introduce changes that break this Plugins functionality. If you have problems after an Update, please create a new issue.

Features

  • Export and import Insomnia projects
  • Manage projects with git, without leaving Insomnia (Pull, Push, Commit)

Requirements

  • git must be installed
  • Credentials must be setup for pushing and pulling

How to use

Setup with existing project

  • This plugin does not work with the default Insomnia project, you must create a other project.
  • Open the collection overview of the existing project.
  • Click the plus on the top right and in the dropdown choose Configure project

  • In the dialog, you can now choose a folder to where your project data should be saved
  • You can init a git repository in the choosen folder or manualy create/use one from a parent folder.
    • The git repository is fully optional. You can just this plugin for importing and exporting your project data

Import project from git

  • Click on the git symbol in the left sidebar

  • Choose a folder with the plugins project.json file
  • The project will be importet and Insomnia will restart

New buttons refence

This plugins injects new Buttons into the Insomnia ui.

  • Top left in project overview:
    • git-Button allowes to open a folder with an project.json from an exported project and import it into Insomnia
  • Create dropdown
    • Export Project export the project and all its workspaces into the configured folder
    • Import Project import data from configured folder, Insomnia will restart for this
    • Configure project Open a dialog to configure the project.
    • Commit changes exports the project data and commits it
    • Push push all commits to the current remote branch
    • Fetch fetch new commits from the remote repository
    • Pull pull new commits from current remote branch
  • Inside the workspace dropdown
    • Export workspace to Git export just this workspace into the configured folder
    • Import workspace from Git import just this workspace from the configured folder

TODO

  • UI for resolving merge conflicts

Development

Requirements

  • nodejs
  • yarn

Clone the repostitory and add the path to the additional plugin path (Settings > General > Additional Plugin Path)

Use yarn run watch to auto rebuild the project when changes are made.

Use npx eslint src --ext .ts,.tsx --fix to execute eslint