feat: IPv6 outbound rotation via curl --interface

- Add IPv6SourcePool for round-robin IP rotation
- fetchViaCurl: Bun.spawn + curl -6 --interface for source binding
- Auto-fallback to regular fetch when IPv6 connection fails
- Response decompression via --compressed flag
- Docker + GHCR build/deploy workflows
- 8 routable IPv6 addresses on VPS
This commit is contained in:
MythEclipse
2026-06-19 19:07:46 +07:00
parent cb6191902e
commit 17338a7dca
13 changed files with 673 additions and 47 deletions
+22
View File
@@ -0,0 +1,22 @@
FROM oven/bun:1.3-alpine
WORKDIR /app
# Install curl for IPv6 source rotation
RUN apk add --no-cache curl
# Copy dependency manifests
COPY package.json bun.lock* ./
# Install all dependencies (no production deps)
RUN bun install
# Copy source code
COPY src/ src/
COPY public/ public/
COPY proxy.txt ./
EXPOSE 3000
USER bun
CMD ["bun", "run", "src/index.ts"]