Insomnia Collection Importer
Plugin Info
Author: Phurpa Tsering | Version: 1.0.0 | Repository: phurpa-tsering/insomnia-importer
A Voiden plugin that imports Insomnia v4 collection exports (.json) directly into your Voiden workspace. It mirrors the same experience as the OpenAPI importer but targets the Insomnia export format, converting every request and folder native Voiden .void files.
What it does
- Reads an Insomnia v4 export JSON and rebuilds the full folder hierarchy inside your active Voiden project
- Converts each request into a
.voidfile with the correct block types —json_body,xml_body,yml_body,restFile,multipart-table,url-table,headers-table,query-table, andpath-table - Merges authentication (Basic, Bearer, API Key, OAuth2) into request headers automatically
- Sanitizes folder and file names for filesystem compatibility
- Shows a live progress indicator and reports any per-request errors without halting the whole import
Supported body types
| Insomnia body | Voiden block |
|---|---|
application/json | json_body |
application/xml / text/xml | xml_body |
application/yaml / application/x-yaml | yml_body |
application/octet-stream / binary | restFile |
multipart/form-data | multipart-table |
application/x-www-form-urlencoded | skipped (not supported) |
application/graphql | skipped (not supported) |
Requirements
- Voiden
>=2.0.0 voiden-rest-apiextension (must be loaded before this plugin)
Usage
- Export your collection from Insomnia: Application → Export Data → Current Workspace → Insomnia v4 JSON
- In Voiden, drop the JSON file in the active working project and open that JSON file.
- At the top right corner , you will see
Import into voiden. - The plugin creates a folder matching the workspace name and populates it with
.voidfiles
Building
npm install
npm run build # builds the plugin bundle
npm run release # build + generate manifest