pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/cdpdriver/kdriver-proxy

ssorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/repository-6534fbc3f5e83ac0.css" /> GitHub - cdpdriver/kdriver-proxy: A lightweight SOCKS5 proxy server written in pure Kotlin. It allows you to create local SOCKS5 proxy endpoints that forward traffic through a remote HTTPS proxy with optional authentication. · GitHub
Skip to content

Repository files navigation

kdriver-proxy

License Maven Central Version Issues Pull Requests codecov CodeFactor Open Source Helpers

A lightweight SOCKS5 proxy server written in pure Kotlin. It allows you to create local SOCKS5 proxy endpoints that forward traffic through a remote HTTPS proxy with optional authentication.

Ideal for Kotlin applications needing dynamic local proxies without relying on external binaries like Gost, especially on platforms like Windows.

It's perfect for use with KDriver.

📦 Installation

Add the dependency to your build.gradle.kts:

dependencies {
    implementation("dev.kdriver:proxy:0.1.0")
}

🚀 Features

  • Start a local SOCKS5 proxy on any port
  • Forward all traffic through a remote HTTPS proxy (with optional auth)
  • Run multiple proxies in parallel
  • Fully coroutine-based (non-blocking)
  • Pure Kotlin (JVM)

🧪 Usage

Start a Proxy

val startUseCase = StartLocalProxyUseCase()
startUseCase(1080, Proxy(URI("https://your-remote-proxy.com:443"), "yourUsername", "yourPassword"))

Now you can connect to: socks5://localhost:1080 Your traffic will go through the remote proxy with authentication.

Stop a Proxy

val stopUseCase = StopLocalProxyUseCase()
stopUseCase(1080)

About

A lightweight SOCKS5 proxy server written in pure Kotlin. It allows you to create local SOCKS5 proxy endpoints that forward traffic through a remote HTTPS proxy with optional authentication.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy