https://github.com/fipso/cntui
Replay chrome requests from your terminal using curl
https://github.com/fipso/cntui
Last synced: about 1 month ago
JSON representation
Replay chrome requests from your terminal using curl
- Host: GitHub
- URL: https://github.com/fipso/cntui
- Owner: fipso
- Created: 2023-07-14T11:58:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-14T17:39:58.000Z (over 2 years ago)
- Last Synced: 2024-08-02T06:14:11.289Z (over 1 year ago)
- Language: Go
- Size: 11.7 KB
- Stars: 20
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-tuis - cnTUI
- awesome-cli-apps-in-a-csv - cnTUI - Replay chrome requests from your terminal using curl. (<a name="webdev"></a>Web development)
- awesome-cli-apps - cnTUI - Replay chrome requests from your terminal using curl. (<a name="webdev"></a>Web development)
README
# Chrome DevTools Network TUI (cnTUI)
Little cli/tui tool to export HTTP requests to cURL commands from the terminal.
Currently exports requests to your X11 clipboard using xclip.

### Installation
Requirements: go, xclip
`git clone https://github.com/fipso/cntui.git`
`go build .`
`sudo cp /usr/local/bin cntui`
### Usage
- Start chrome with open DevTools Server (Debug mode):
`google-chrome-stable --remote-debugging-port=9222`
- Select tab you want to hack on
- Run `cntui`
- Select a request. Hit enter
- cURL command is now in your clipboard. Paste. Have fun
### TODO:
- [ ] Edit Mode: edit post body in terminal editor
- [ ] Replay request directly
- [ ] Request description screen
The development of this tool has been recorded on YouTube:
https://www.youtube.com/watch?v=ywqy_tIq7xc&list=PLd-Mx7H0BuG9Cfsu-8oqUS54MxbaOxmg9