Sometime in 2023, I was dissatisfied with Postman and I decided to try and create a simple HTTP client in Rust and React. My main frustrations with Postman were that:
- It phones home
- Many features were behind having an account (I know it's free, but hate the principle)
- It was slow at times
Ultimately, I'm still using Postman since I didn't spend much time on this project, but it was for sure something interesting to build with Tauri and Reqwest.
This assumes you have Rust, Node.js, and pnpm installed. Simply run the following to run the project locally:
pnpm i && pnpm tauri dev
If you want to create an executable, simply run the following command:
pnpm tauri build
I was surprisingly getting slower responses than with Postman, but the startup delay is way smaller. I suspect the difference is due to having not a proper pool of clients and reusing them (although I tried to implement something like that).
On my Mac, the executable is only 11MB in size and takes around ~75MB of memory (which is a bit less than the ~400MB size for Postman on my machine and the ~500MB of memory it takes).