Initial implementation of GitHub download proxy service

- Add flexible URL template configuration via environment variables
- Implement automatic repository path parsing and extraction
- Add 404 response handling for all non-200 status codes
- Support both SecNex and GitHub URL formats through URL template
- Include comprehensive documentation and Docker support
- Add proper Go project structure with .gitignore

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Björn Benouarets
2025-11-14 17:21:50 +01:00
commit 3a955c4238
8 changed files with 430 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM golang:1.25.3-alpine3.22 AS builder
WORKDIR /app
COPY ./app/go.mod ./app/go.sum ./
RUN go mod download && go mod verify
COPY ./app ./.
RUN go build -o download .
FROM alpine:latest AS runner
COPY --from=builder /app/download /app/download
CMD ["/app/download"]