feat(plugin): Import HTTP Archive (HAR) Files - #539
Conversation
…epository conventions
|
Hi @Exudev , thanks for the contribution! For plugins, we don't merge them directly into this repo — each plugin needs to live in its own public repository as a standalone community plugin. Could you:
Once we have the link, we'll review it on our end. If no core changes are needed, we'll go ahead and list/publish it as a community plugin. Thanks again for putting this together — looking forward to taking a look once the repo is up! |
|
Hi @phurpa-tsering, Thanks for the clarification! As requested, I have moved the HTTP Archive (HAR) Importer plugin into its own standalone public repository following Voiden community plugin conventions: 📦 Repository: https://github.com/Exudev/voiden-plugin-har-import The repository includes the standalone build pipeline, unit & e2e tests, manifest, changelog, and automated release workflow. Feel free to review and list/publish it in the plugin registry. Since plugins live in standalone repositories, this PR can be closed. Thanks! |
Description
Closes #519
Adds support for importing HTTP Archive (
.har) files into Voiden, converting captured browser network requests into editable native.voidrequest files.Features & Implementation
plugins/har-import):convertHarEntryToVoidenSchema: Maps HAR request headers, cookies, query parameters, and postData bodies (JSON,XML,URL-encoded form data,Multipart,Plain text) to Voiden REST API blocks.groupEntries: Groups requests by page title or domain hostname.isStaticAsset: Option to ignore static assets (images, stylesheets, scripts, fonts, media).HarImportButton: React editor action toolbar component with progress tracking, static asset filter checkbox, cancel capability, and error handling.har-importto plugin registry and synced to Electron host app.Testing
plugins/har-import/src/__tests__/converter.test.ts): 6/6 passed.plugins/har-import/src/__tests__/e2e.test.ts): 1/1 passed.