dorkhub

cntui

Replay chrome requests from your terminal using curl

fipso
Go41updated 3 years ago
git clone https://github.com/fipso/cntui.gitfipso/cntui

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.

image

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

more like this

dragontoothmg

A fast Go chess library. Legal move generation, move/board types, apply/unapply, FEN parsing, Zobrist hashing.

Go51

webgpu

Zero-CGO WebGPU bindings for Go — GPU-accelerated graphics and compute in pure Go

Go52

YiMao

YiMao · 云海求片助手 — 双核心 Telegram 影视求片机器人。订阅模式:TMDB 智能搜索一键订阅 / 趣味求片模式:AI 生成五层地狱闯关,通关解锁优先求片。深度集成 MoviePilot + Emby/Jellyfin。…

Go52

search

search projects, people, and tags