Skip to content

taetaetae/github-repo-searcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Github repo searcher ๐Ÿ”Ž

  • github ์˜ repo๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋˜ ์•„๋ž˜์™€ ๊ฐ™์€ ์กฐ๊ฑด์— ํ•ด๋‹นํ•˜๋Š” repository๋ฅผ ์ฐพ๋Š” ํŒŒ์ด์ฌ ์Šคํฌ๋ฆฝํŠธ ์ž…๋‹ˆ๋‹ค.

    • topic ์ด '์ง€์ •ํ•œ ํ† ํ”ฝ' ์ด๊ณ  (and)
    • created_at ์ด '์ง€์ •ํ•œ ๋ฒ”์œ„' ๋‚ด์— ์žˆ๊ณ  (and)
    • ์ฐพ์€ repository > user ์˜ location ์ด '์ง€์ •ํ•œ ์ง€์—ญ' ์ผ๋•Œ
  • github ์—์„œ 'ํ† ํ”ฝ' ๊ณผ '์ง€์—ญ' ์„ and ์กฐ๊ฑด์œผ๋กœ ๊ฒ€์ƒ‰์ด ์•ˆ๋˜์–ด ๋งŒ๋“ค๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

  • github api ํ˜ธ์ถœ ์ œํ•œ์ด ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ์ ๋‹นํžˆ ํ˜ธ์ถœํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

  • hacktoberfest๋ฅผ ์ง„ํ–‰ํ•˜๋‹ค ๊ฒ€์ƒ‰์— ์–ด๋ ค์›€์ด ์žˆ์–ด ๋งŒ๋“ค๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

  • ๋ฒ”์šฉ์ ์œผ๋กœ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด 'ํ† ํ”ฝ', '๊ฒ€์ƒ‰์ผ์ž', '์ง€์—ญ' ์„ ํŒŒ๋ผ๋ฏธํ„ฐ๋กœ ๋ฐ›์Šต๋‹ˆ๋‹ค.

  • ํ•„์š”ํ•œ ํŒจํ‚ค์ง€ ์„ค์น˜ ๋ฐฉ๋ฒ•
    ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ํ•„์š”ํ•œ ํŒจํ‚ค์ง€๋ฅผ ๋ชจ๋‘ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

pip install -r requirements.txt
  • ์‚ฌ์šฉ๋ฒ•

    • ํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ ๋ฐ›์•„ ์ฒ˜๋ฆฌ ๋ฉ๋‹ˆ๋‹ค.
    $ python main.py github_id=taetaetae github_token=ASDFASDFASDF
    search base time : 2020-10-11,  now time : 2020-10-11 17:59:22,  page : 1,  user_count : 30,  total_count : 76
    Found it! = createdat :  2020-10-11T08:08:05Z , repository :  https://github.com/taetaetae/github-repo-searcher
    search base time : 2020-10-11,  now time : 2020-10-11 17:59:52,  page : 2,  user_count : 30,  total_count : 76
    search base time : 2020-10-11,  now time : 2020-10-11 18:00:22,  page : 3,  user_count : 16,  total_count : 76
    search base time : 2020-10-10,  now time : 2020-10-11 18:00:46,  page : 1,  user_count : 30,  total_count : 328
    ...
    
    
    ํ•ญ๋ชฉ ํ•„์ˆ˜์—ฌ๋ถ€ ๋‚ด์šฉ ๊ธฐ๋ณธ๊ฐ’
    github_id O github id ์—†์Œ
    github_token O Personal access tokens ์—†์Œ
    search_topic X ์ฐพ์œผ๋ ค๋Š” topic hacktoberfest
    search_month_range X ์ฐพ์œผ๋ ค๋Š” ๊ธฐ๊ฐ„(์›”) 6
    search_location X ์ฐพ์œผ๋ ค๋Š” ์ง€์—ญ Korea

Contributors