Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swinton/reverse-proxy-github-dotcom
A reverse proxy for GitHub.com using Caddy
https://github.com/swinton/reverse-proxy-github-dotcom
ai-generated caddyserver chatgpt github-api reverse-proxy
Last synced: 17 days ago
JSON representation
A reverse proxy for GitHub.com using Caddy
- Host: GitHub
- URL: https://github.com/swinton/reverse-proxy-github-dotcom
- Owner: swinton
- License: isc
- Created: 2024-07-18T19:27:05.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T19:22:43.000Z (4 months ago)
- Last Synced: 2024-10-08T18:01:45.978Z (about 1 month ago)
- Topics: ai-generated, caddyserver, chatgpt, github-api, reverse-proxy
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `reverse-proxy-github-dotcom`
> A reverse proxy for GitHub.com using Caddy## Purpose
Acts as a reverse proxy for API and Git traffic to GitHub.com, so you can analyze the traffic, e.g. to validate you are sending conditional API requests to GitHub, or to dig into API rate-limiting issues for a running GitHub integration.
## Usage
```shell
ngrok http 8080caddy run --config ./Caddyfile --watch
```## Analyze the logs
The logs can be analyzed via `jq`, which can handle a stream of JSON, e.g.
```shell
cat access.log | jq ".request,.status"
```## Resources
https://chatgpt.com/share/62253048-df26-47c2-922f-a79b32959c51