Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rdok/github-readme-stats

 
 

Repository files navigation

AWS - GitHub Readme Stats

Longer Serverless Function Execution Timeout

Serve GitHub Readme Stats through AWS instead of Vercel. Resolves issues with long requests timeouts. Vercel supports Serverless Function Execution Timeout of up to 30 seconds only for enterprise pricing. Occasional Wakatime API requests, however, can take 15-30 seconds. AWS Showcase

AWS Infrastructure

  • Lambda with 128MB of memory
  • API Gateway with maximum timeout of 30 seconds and cheaper HttpApi
  • CloudFront with caching based on HTTP query only

Private Wakatime

  • /api/v1/users/:user/stats/:range without a specified range increases response time to ~30 seconds.
  • /api/v1/users/:user/stats/:range WITH a specified range of 7 days decreases response time to ~7 seconds. However, this requires a Wakatime API for users having a repository. This fork addresses this issue.

About

⚡ AWS dynamically generated stats for your github readmes

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • JavaScript 99.1%
  • Other 0.9%