https://github.com/harborclient/plugin-curl
Adds a tab to the request editor that shows an equivalent `curl` command for the configured request and provides a copy button.
https://github.com/harborclient/plugin-curl
Last synced: 9 days ago
JSON representation
Adds a tab to the request editor that shows an equivalent `curl` command for the configured request and provides a copy button.
- Host: GitHub
- URL: https://github.com/harborclient/plugin-curl
- Owner: harborclient
- Created: 2026-06-25T00:15:55.000Z (12 days ago)
- Default Branch: main
- Last Pushed: 2026-06-25T17:10:24.000Z (11 days ago)
- Last Synced: 2026-06-25T18:22:39.950Z (11 days ago)
- Language: TypeScript
- Size: 16.5 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HarborClient cURL Plugin
Adds a **cURL** tab to the request editor that shows an equivalent `curl` command for the configured request and provides a copy button.
## Install
Build the plugin, then install the `.hcp` package or load the project folder unpacked:
```bash
pnpm install
pnpm build
```
In HarborClient: **Settings → Plugins → Load unpacked…** and select this directory.
## Development
```bash
pnpm dev
```
Rebuilds `dist/renderer.js` on change when HarborClient file watching is enabled for unpacked plugins.
## Limitations
| Aspect | Behavior |
| ---------------- | ------------------------------------------------------------------------- |
| Variables | Resolved from collection + active environment (environment wins on dupes) |
| Cookie jar | Not included unless a `Cookie` header is set manually |
| Pre/post scripts | Do not affect displayed cURL |
| Multipart files | Uses stored file paths (`@/path`) on the local machine |
## License
MIT