Skip to content

Releases: hurtki/github-banners

Rate Limiting & Deploy Fixes

26 Mar 21:46
5190d47

Choose a tag to compare

Nginx

  • Moved rate limiting from the app layer to Nginx
  • Restricted server access to Cloudflare IPs only, all other traffic gets 403
  • Real client IP is now resolved from CF-Connecting-IP header
  • Added per-IP connection limits for /banners and /banners/preview
  • Blocked common scraping tools (wget, curl, scrapy, python-requests, etc.)
  • Rate limits: 5 req/min (60/hour) for banner creation, 20 req/min (180/hour) for previews

API

  • Removed RateLimitRPS from app config, rate limiting is now fully handled by Nginx
  • WriteTimeout is now driven by cfg.RequestTimeout instead of a hardcoded value
  • Added Bio field to the GitHub user data response

CI/CD

  • Fixed deploy and rollback scripts to run from the correct directory
  • Automatic database backup is now created before each deploy
  • Rollback restores the database from the backup of the previous version

Fix context cancellation issue in stats service

24 Mar 21:12
1b75230

Choose a tag to compare

Fix context cancellation issue in stats service

CI/CD Testing Release

24 Mar 14:25

Choose a tag to compare

Look at this CI/CD flow!
Screenshot 2026-03-24 at 16 32 46

Initial release

23 Mar 22:10

Choose a tag to compare

Merge pull request #33 from hurtki/feature/ci-docker-image-build

add: CI build push docker image to image registry