Skip to content

feat(plugin): Import HTTP Archive (HAR) Files - #539

Open
Exudev wants to merge 6 commits into
VoidenHQ:mainfrom
Exudev:feat/har-importer
Open

feat(plugin): Import HTTP Archive (HAR) Files#539
Exudev wants to merge 6 commits into
VoidenHQ:mainfrom
Exudev:feat/har-importer

Conversation

@Exudev

@Exudev Exudev commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Description

Closes #519

Adds support for importing HTTP Archive (.har) files into Voiden, converting captured browser network requests into editable native .void request files.

Features & Implementation

  • Plugin 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.
  • Registry Sync: Added har-import to plugin registry and synced to Electron host app.
  • Unit & End-to-End Tests: Full test suite covering HAR parsing, content types, asset filtering, and file creation.

Testing

  • Unit tests (plugins/har-import/src/__tests__/converter.test.ts): 6/6 passed.
  • E2E tests (plugins/har-import/src/__tests__/e2e.test.ts): 1/1 passed.

@phurpa-tsering

Copy link
Copy Markdown
Collaborator

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:

  • Move this plugin into a separate public GitHub repo (following the same structure/conventions as our other community plugins).
  • Reply here (or open a new issue) with the link to that repo.

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!

@Exudev

Exudev commented Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

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
🚀 Release v1.0.0: https://github.com/Exudev/voiden-plugin-har-import/releases/tag/v1.0.0

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(plugin): Import HTTP Archive (HAR) Files

2 participants