https://github.com/jellydn/vscode-hurl-runner
Hurl Runner is a VS Code extension designed to run HTTP requests directly from `.hurl` files.
https://github.com/jellydn/vscode-hurl-runner
hacktoberfest hurl vscode-extension
Last synced: 4 months ago
JSON representation
Hurl Runner is a VS Code extension designed to run HTTP requests directly from `.hurl` files.
- Host: GitHub
- URL: https://github.com/jellydn/vscode-hurl-runner
- Owner: jellydn
- License: mit
- Created: 2024-10-10T09:51:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-19T23:46:45.000Z (4 months ago)
- Last Synced: 2025-06-20T00:33:34.741Z (4 months ago)
- Topics: hacktoberfest, hurl, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=jellydn.vscode-hurl-runner
- Size: 1.51 MB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
Welcome to vscode-hurl-runner 👋
[](#contributors-)
> Streamline API development in VSCode. Run Hurl requests, manage variables, and view responses directly in your editor.
[](https://www.youtube.com/watch?v=fbDu7fusFsw)
### 🏠 [Homepage](https://github.com/jellydn/vscode-hurl-runner#readme)
## Prerequisites
- vscode ^1.93.0
- [Hurl - Run and Test HTTP Requests](https://hurl.dev/)## Features
- 🚀 Run Hurl requests directly from VSCode
- ▶️ Execute single entries
- ⏭️ Run from a specific entry to the end of the file
- 📁 Run entire Hurl files
- ✂️ Run selected text
- 🔝 Run from the beginning to the current entry
- 🔧 Variable management
- 🌍 Support for environment files
- 📝 Inline variable management
- 🌐 Global variable support (based on captured variables)
- 📊 Capture values from responses and use them in subsequent requests
- 👁️ View detailed HTTP responses in a formatted webview ([PrismJs with Tomorrow Night Theme](https://prismjs.com/))
- 🎨 Syntax highlighting for Hurl files
- 📊 Integration with VSCode's status bar for execution feedback
- 🔍 Code lens support for quick actions
- 🔁 Rerun last command functionality
- 📜 View last response without re-running the request### Commands
| Command | Title |
| ------------------------------------------ | -------------------------------------- |
| `vscode-hurl-runner.runHurl` | Hurl Runner: Run at entry |
| `vscode-hurl-runner.runHurlFile` | Hurl Runner: Run File |
| `vscode-hurl-runner.runHurlToEnd` | Hurl Runner: Run to End |
| `vscode-hurl-runner.manageInlineVariables` | Hurl Runner: Manage Inline Variables |
| `vscode-hurl-runner.selectEnvFile` | Hurl Runner: Select Environment File |
| `vscode-hurl-runner.runHurlSelection` | Hurl Runner: Run Selected Text |
| `vscode-hurl-runner.rerunLastCommand` | Hurl Runner: Rerun Last Command |
| `vscode-hurl-runner.runHurlFromBegin` | Hurl Runner: Run from Begin to Current |
| `vscode-hurl-runner.viewLastResponse` | Hurl Runner: View Last Response |
| `vscode-hurl-runner.removeGlobalVariable` | Remove Global Variable |### Configs
| Key | Description | Type | Default |
| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ----------- |
| `vscode-hurl-runner.hurlPath` | Path to the Hurl executable | `string` | `"hurl"` |
| `vscode-hurl-runner.verboseMode` | Set the verbosity level for Hurl execution. 'verbose' provides basic information about requests and responses. 'very-verbose' includes detailed information, including timing data. | `string` | `"verbose"` |
| `vscode-hurl-runner.captureToGlobalVariable` | When enabled, captured values will be set as global variables. | `boolean` | `true` |### Keybindings
- `ctrl+alt+h` (Windows/Linux) or `cmd+alt+h` (Mac): Run Hurl entry
- `ctrl+alt+f` (Windows/Linux) or `cmd+alt+f` (Mac): Run Hurl file
- `ctrl+alt+shift+v` (Windows/Linux) or `cmd+alt+shift+v` (Mac): Manage variables### Demo
#### Running a Single Hurl Entry
[](https://gyazo.com/3ceef5b45f68df5bcabe00e7bd39ed27)
_Demonstrates running a single Hurl entry directly from VSCode._#### Running from Entry to the End of File
[](https://gyazo.com/294af3f42fca76eb751e8bce2c432d10)
_Shows how to run Hurl requests from a specific entry to the end of the file._#### Running an Entire Hurl File
[](https://gyazo.com/d9188c14d370748f9bc495d0071a130b)
_Illustrates running an entire Hurl file in one go._#### Managing Variables
[](https://gyazo.com/49e3688ff47f5ba32a5094b428a89a60)
_Demonstrates how to manage inline variables for Hurl requests._#### Selecting Environment File
[](https://gyazo.com/84e3e3ff85a4b6cc254af6398d33d6d2)
_Shows the process of selecting an environment file for Hurl requests._## Related Projects
### For Neovim Users
If you prefer Neovim, check out my companion plugin:
- [hurl.nvim](https://github.com/jellydn/hurl.nvim): A Neovim plugin for running Hurl requests directly within Neovim.
This plugin offers similar functionality to this VSCode extension, tailored for the Neovim environment.
### Other Tools in the Ecosystem
- [pfeiferj/vscode-hurl](https://github.com/pfeiferj/vscode-hurl)
- [Verseth/vscode-hurl-runner](https://github.com/Verseth/vscode-hurl-runner)Whether you're using VSCode, Neovim, or the command line, there's a tool to help you work efficiently with Hurl files.
# Author
👤 **Dung Huynh Duc **
- Website: https://productsway.com/
- Github: [@jellydn](https://github.com/jellydn)## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/jellydn/vscode-hurl-runner/issues). You can also take a look at the [contributing guide](https://github.com/jellydn/vscode-hurl-runner/blob/master/CONTRIBUTING.md).## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2024 [Dung Huynh Duc ](https://github.com/jellydn).
This project is [MIT](https://github.com/jellydn/vscode-hurl-runner/blob/master/LICENSE) licensed.[](https://ko-fi.com/dunghd)
[](https://paypal.me/dunghd)
[](https://www.buymeacoffee.com/dunghd)## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Dung Duc Huynh (Kaka)
💻 📖
Alexey
💻
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!