b8a4d8d8dacb5328b6684914b2a19e5cdc142a71
- Fixed GitHub Actions CI workflow by setting the working directory to ./NewProxy - Added module caching to speed up dependency installation - Replaced 'go mod download' with 'go mod tidy' for automatic dependency resolution - Ensured all test and vet commands run inside the correct Go module directory - Resolved 'no modules specified' error during CI runs
Go Proxy Server (Gin-based) for ClassiCube-PPC
A lightweight HTTP proxy server written in Go using the Gin framework. It supports file forwarding, release version tracking, and download statistics, enabling the download of ClassiCube-PPC resources on older systems (it can also be used for other purposes).
🚀 Features
- Proxy file downloads via
?url=... - Track active downloads and total bytes transferred
- Serve latest release info from
release.json
Requirements
- Go 1.21 or newer
- Internet access for proxying external URLs
Setup
git clone https://github.com/andreiixedev/Proxy-PPC.git
cd NewProxy
go mod init newproxy
go get github.com/gin-gonic/gin@latest
>> Run the Server
go run main.go
Server will start on http://localhost:5090
Build Executable (Windows)
go build -o proxy.exe main.go
Then run:
./proxy.exe
🐳 Docker (Optional)
FROM golang:1.21-alpine
WORKDIR /app
COPY . .
RUN go build -o proxy .
EXPOSE 5090
CMD ["./proxy"]
Build and run:
docker build -t newproxy .
docker run -p 5090:5090 newproxy
Credits
Built with gin and ❤️ by Andreiixe.
Description
Languages
Go
62.9%
Python
37.1%