Obtain github API access token. You could generate it by going to your GitHub personal access tokens page.
Mighty Watcher requires no scopes. I'd recommend you to put API token in env variable (e.g. MIGHTY_WATCHER_GITHUB_TOKEN) rather than passing it around everytime.
Comma-separated repositories to be excluded from search, following $repo/$name template, e.g. IgorPerikov/mighty-watcher
✖️
none will be excluded
Launch Docker container from terminal:
docker pull igorperikov/mighty-watcher:latest
docker run -e TOKEN=$MIGHTY_WATCHER_GITHUB_TOKEN --rm igorperikov/mighty-watcher:latest
Privacy policy
I do not track a thing about you.
Your api token in absolute safety - you can check this by codebase or by tcpdumping the outcome traffic -
application will communicate only with github api server via https.
The only thing I can see is amount of docker image pulls (not runs!), it is provided by docker hub
Lacking starred repositories?
Star languages/libraries you are using right now, if you enjoy them ;)
Trending section. Don't forget to change the language and play with date ranges.
Github lets you make up to 5000 API calls per hour and I am limiting amount of processed repositories to 1000.
So if you have more than 1000 starred repositories you should split requests by 1 language via INCLUDE variable to fit into limits.
If you have more than that or still hitting some limits - please contact me, I haven't thought about it thoroughly.
Api abuse detection
PARALLELISM variable defines amount of threads to use to fetch data from Github.
If you're hitting some limits, set lower amount and try again in a few minutes.
You can increase this value too if no error occurs to get results faster,
but chances are high that you will trigger api abuse mechanisms. I warned you ⚠️
Contribution
How to build
Kotlin style guide is predefined Kotlin style guide from Intellij Idea settings.
Unit testing
./gradlew clean test
E2E testing
Build new docker image locally docker build -t igorperikov/mighty-watcher:local .
For general feedback please proceed to the feedback issue.
If something doesn't work as expected or you have a feature request - don't hesitate to create new issue
请发表评论