Skip to content

About

🌸 Proxy scraper & checker for HTTP, SOCKS4 and SOCKS5 with a cute terminal dashboard β€” live stats, geolocation & ASN lookup, JSON/TXT/CSV export. Written in Go.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

7 Commits

Folders and files

Repository files navigation

  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—
 β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β•β•β•β–ˆβ–ˆβ•‘ β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘β•šβ•β•β–ˆβ–ˆβ•”β•β•β•
 β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   
 β–ˆβ–ˆβ•‘     β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•”β•β•β•  β–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•— β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   
 β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•—β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   
  β•šβ•β•β•β•β•β• β•šβ•β•β•β•β•β•    β•šβ•β•   β•šβ•β•β•β•β•β•β•β•šβ•β•  β•šβ•β•β•šβ•β•   β•šβ•β•  
                  P R O X Y   v 3 . 0

A proxy scraper and checker with a cute terminal dashboard, written in Go 🌸
HTTP Β· SOCKS4 Β· SOCKS5 Β· Live Stats Β· Geolocation & ASN Β· JSON / TXT / CSV


CI Go Platform License


cutekit proxy dashboard during a run: counters, per-protocol progress, sources and the fastest proxies

Contents


Overview

cutekit proxy collects proxies from any number of lists, checks that each one really works, and saves the survivors with their response time, exit IP, network and location. Everything happens in a single terminal window with a soft, pastel dashboard.

It ships as one binary. There is no database server, no runtime to install and no per-proxy API calls.


Screenshots

The screenshots are rendered from the app with sample data. All addresses come from the ranges reserved for documentation.

Working proxies and logs

Table of working proxies with protocol, ping, exit IP and country, followed by the log panel

Search and export

Search results for "germany" with highlighted matches and a CSV export button


Features

Feature Description
Three protocols HTTP (via CONNECT), SOCKS4 / SOCKS4a and SOCKS5
Flexible sources URLs or local files; proxies are picked out of any text where host:port stays together
CIDR ranges 192.0.2.0/24:8080 expands to every usable host (/16 to /32)
Deduplication The same proxy from ten lists is checked once
Real checks Each proxy must complete a TLS request and deliver the whole response
Geolocation & ASN Looked up offline in GeoLite databases, downloaded and cached automatically
Live dashboard Counters, per-protocol progress, speed, time left, fastest proxies and logs
Search Filter by address, exit IP, location or network, and by protocol
Export JSON, plain text lists, and CSV that is safe to open in a spreadsheet
Safe saving A run that finds nothing leaves your previous results untouched
Headless mode Plain logs when redirected, for scripts and scheduled tasks

How It Works

 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚   Sources    β”‚     β”‚    Scrape    β”‚     β”‚    Check     β”‚     β”‚     Save     β”‚
 β”‚              β”‚     β”‚              β”‚     β”‚              β”‚     β”‚              β”‚
 β”‚  URLs        β”œβ”€β”€β”€β”€β–Ίβ”‚  parse       β”œβ”€β”€β”€β”€β–Ίβ”‚  tunnel      β”œβ”€β”€β”€β”€β–Ίβ”‚  JSON        β”‚
 β”‚  local files β”‚     β”‚  expand CIDR β”‚     β”‚  TLS request β”‚     β”‚  TXT lists   β”‚
 β”‚              β”‚     β”‚  deduplicate β”‚     β”‚  latency, IP β”‚     β”‚              β”‚
 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                  β”‚
                                           β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”
                                           β”‚  GeoLite DB  β”‚
                                           β”‚  ASN + City  β”‚
                                           β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. Scrape β€” all sources are downloaded in parallel. Temporary failures are retried twice.
  2. Check β€” every proxy opens a tunnel to https://httpbin.org/ip and has to return a successful, complete response. Checks are not retried.
  3. Enrich β€” the exit IP reported by the check page is looked up in the ASN and city databases.
  4. Save β€” results are written only after the run ends, or when you stop it.

Quick Start

You need Go 1.27.4 or newer.

# 1. Clone
git clone https://github.com/tessdev1337/cutekit-proxy.git
cd cutekit-proxy

# 2. Build
go build -trimpath -ldflags="-s -w" .

# 3. Run (from the folder that holds config.toml)
./cutekit-proxy          # Linux / macOS
.\cutekit-proxy.exe      # Windows

Press F5 or click start ✿ and watch it go.

Important

The program reads config.toml from the current directory and exits if it cannot find it. To keep the file elsewhere, point CUTEKIT_PROXY_CONFIG at it.


Controls

Key Action
F5 Start or stop a run
F6 Reload the config and the saved results
F7 Export the current search to CSV
F3 Jump to the search box
Tab / Shift+Tab Move between controls
Enter / Space Press the focused button
← / β†’ Change the protocol filter when it is focused
↑ / ↓ Scroll the page, or the focused list
PgUp / PgDn / Home Scroll by a screen, or back to the top
j / k Scroll the logs towards newer / older lines
End Jump to the newest log line
Ctrl+U Clear the focused input
q / Esc Stop the run; press again to quit (Esc first leaves an input)
Ctrl+C / Ctrl+Q Quit, saving what a running scan has found

The mouse works too: click buttons and inputs, and use the wheel to scroll the page, the sources, the results or the logs.


Configuration

Every option is documented inside config.toml. The file is read again at the start of each run, so edits apply without a restart.

Option Default Description
debug false Log the reason of every failed check
output.path ./out Where results are written
output.sort_by_speed true Fastest first, otherwise by protocol, address and port
output.txt.enabled true Write plain text lists
output.json.enabled true Write JSON files
output.json.include_asn true Add network data
output.json.include_geolocation true Add location data
checking.max_concurrent_checks 512 Parallel checks
checking.timeout 10 Seconds for a whole check
checking.connect_timeout 5 Seconds to connect and finish handshakes
checking.user_agent Chrome User-Agent sent through the proxy
scraping.max_proxies_per_source 100000 Larger sources are skipped (0 = no limit)
scraping.timeout 10 Seconds to download a source
scraping.connect_timeout 5 Seconds to connect to a source
scraping.proxy "" Proxy for downloading sources and databases
scraping.user_agent Chrome User-Agent sent to sources
scraping.<protocol>.enabled true Turn http, socks4 or socks5 on or off
scraping.<protocol>.urls [] The sources of that protocol

Sources

[scraping.socks5]
urls = [
    "https://example.com/socks5.txt",
    "./my-list.txt",
    { url = "https://example.com/private.txt", basic_auth = { username = "user", password = "pass" }, headers = { Accept = "text/plain" } },
]

These forms are recognised inside a source:

192.0.2.10:8080
socks5://192.0.2.10:1080
user:password@192.0.2.10:3128
http://user:password@proxy.example.com:8080
192.0.2.0/24:8080

An entry without a scheme takes the protocol of its section.

Environment variables

Variable Effect
CUTEKIT_PROXY_CONFIG Path to the config file
HTTP_PROXY / HTTPS_PROXY Used for downloads when scraping.proxy is empty
NO_COLOR Turn colors off

Output

out/
β”œβ”€β”€ proxies.json          # compact
β”œβ”€β”€ proxies_pretty.json   # indented
└── proxies/
    β”œβ”€β”€ all.txt           # protocol://[user:password@]host:port
    β”œβ”€β”€ http.txt          # [user:password@]host:port
    β”œβ”€β”€ socks4.txt
    └── socks5.txt

One entry of proxies_pretty.json (abbreviated):

{
  "protocol": "socks5",
  "username": null,
  "password": null,
  "host": "192.0.2.10",
  "port": 1080,
  "timeout": 0.43,
  "exit_ip": "192.0.2.10",
  "asn": {
    "autonomous_system_number": 64500,
    "autonomous_system_organization": "Example Networks"
  },
  "geolocation": {
    "city": { "names": { "en": "Frankfurt" } },
    "country": { "names": { "en": "Germany" } }
  }
}

timeout is the response time in seconds. exit_ip, asn and geolocation are null when unknown.

CSV export (F7) writes cutekit_export_<date>_<time>.csv to the current directory, with the columns protocol, username, password, host, port, timeout, exit_ip, country, city, asn, organization.


Headless Mode

When input or output is not a terminal, the dashboard is skipped: the program does one run, prints plain logs with a progress line every 30 seconds, and exits. Ctrl+C stops it early and still saves what works.

./cutekit-proxy > run.log 2>&1

Terminal Support

Terminal Experience
Windows Terminal, and modern Linux / macOS terminals with 24-bit color βœ… Recommended
Classic Windows console Works; emoji are monochrome, a few symbols are missing and large digits can show thin lines
256-color terminals Cards are drawn with frames, without the background effects

The full five-card layout needs a window at least 120 columns wide. Narrower windows stack the panels.


Troubleshooting

Problem What to check
The window closes immediately config.toml is missing from the current directory, or has an error. Start the program from a terminal to read the message
Every proxy is dead Open https://httpbin.org/ip yourself: if it is down or blocking you, all checks fail
The connection becomes unstable Lower max_concurrent_checks
Location and network are empty The database download failed; see the logs

Known Limitations

  • Logins in sources may contain only letters and digits. A -, _ or other symbol leads to a wrong or missing login.
  • The host:port:user:password format is read without its login.
  • IPv6 proxy addresses are not recognised.
  • The check URL is fixed to https://httpbin.org/ip.
  • HTTP proxies that do not support CONNECT are reported as dead.

Development

go test ./...     # tests use only local servers
go vet ./...
gofmt -l .

Project structure

.
β”œβ”€β”€ main.go               # entry point: dashboard or headless run
β”œβ”€β”€ config.toml           # settings and sources
└── internal/
    β”œβ”€β”€ config/           # reading and validating the config
    β”œβ”€β”€ proxy/            # parsing proxies and checking them
    β”œβ”€β”€ engine/           # scrape β†’ check β†’ save, GeoLite databases, logs
    β”œβ”€β”€ ui/               # the terminal dashboard
    └── testproxy/        # local proxy servers used by tests

Responsible Use

  • Use only proxies you are allowed to use, and follow the laws and terms of service that apply to you.
  • Public proxies are run by strangers. Never send passwords or private data through them.
  • Checking opens hundreds of connections to unknown hosts. Your provider may treat that as abusive traffic.
  • Result files can contain proxy logins. Keep them private.

Credits

Library License
gdamore/tcell Apache-2.0
BurntSushi/toml MIT
oschwald/maxminddb-golang ISC
rivo/uniseg MIT
golang.org/x/term BSD-3-Clause

License

MIT

cutekit proxy ✿

About

🌸 Proxy scraper & checker for HTTP, SOCKS4 and SOCKS5 with a cute terminal dashboard β€” live stats, geolocation & ASN lookup, JSON/TXT/CSV export. Written in Go.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages