- 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>
1.6 KiB
1.6 KiB
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a Go project named gh-download-proxy which appears to be a GitHub download proxy service. The project is currently in initial setup phase with only a go.mod file present.
Development Setup
Go Environment
- Go version: 1.25.3
- Module name:
gh-download-proxy
Common Commands
Building the project
go build ./...
Running tests
go test ./...
Running a specific test
go test -run <TestName> ./...
Managing dependencies
go mod tidy # Clean up dependencies
go mod download # Download dependencies
Running the application (once main.go exists)
go run main.go
Project Structure
Currently minimal structure:
go.mod- Go module definition
As the project develops, typical Go project structure would include:
main.go- Main application entry pointcmd/- Command-line applicationsinternal/- Internal application codepkg/- Public library codego.sum- Dependency checksums
Architecture Notes
Since this is intended to be a GitHub download proxy, the architecture will likely involve:
- HTTP server to handle download requests
- GitHub API integration
- File caching mechanisms
- Proxy functionality to intercept and serve GitHub downloads
Development Notes
- This is a new repository with no commit history yet
- No Go source files exist yet - development is just beginning
- Consider adding a
README.mdwith project documentation - Consider adding
.gitignorefor Go-specific files