Insomnia Collection Importer
Plugin Info
Author: Phurpa Tsering | Version: 1.1.0 | Repository: phurpa-tsering/insomnia-importer
A Voiden plugin that imports Insomnia v4 (.json) and v5 (.yaml/.yml/.json) collection exports 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 into native Voiden .void files.
What it does
- Reads an Insomnia v4 (JSON) or v5 (YAML/JSON) export 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 — pick Insomnia v4 JSON (older Insomnia) or Insomnia v5 YAML/JSON (newer Insomnia).
- In Voiden, drop the exported file in the active working project and open it.
- 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