• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

IgorPerikov/mighty-watcher: Open source made easier

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

IgorPerikov/mighty-watcher

开源软件地址:

https://github.com/IgorPerikov/mighty-watcher

开源编程语言:

Kotlin 98.2%

开源软件介绍:

Codacy grade Codecov Travis (.org) GitHub Docker Pulls

Mighty Watcher

Finds issues available for contributing, based on repositories you starred

Table of contents

Search criteria

  • Non-assigned
  • Open
  • Was updated less than N days ago(configurable, see how-to)
  • Labeled as help wanted or similar, all labels can be found here
  • Starred by account, which issued API access token. If you are lacking starred repositories, there are some advices here

How to use

  • Install Docker
  • 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.
  • Set environment variables in docker run command:
name description required default behaviour
TOKEN GitHub API access token ✔️
INCLUDE Comma-separated language names(in lower case) to be included, nb only main language counts ✖️ include all languages
DAYS Days since last issue update to be included ✖️ 90
PARALLELISM Parallelism level for fetching data from github, more details below ✖️ 10
EXCLUDE 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?

Limitations

Github rate limiting

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 .
  • Launch it via docker command

Issues labeling

  • Contribute your own labels, if list misses any
  • Put labels on issues in your repositories if you want to get some help
  • Spread the word!

Roadmap

Contact me

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Yassir4/react-github-api: search for Github users发布时间:2022-06-11
下一篇:
breadcrumbs-plugin发布时间:2022-06-11
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap