All Projects โ†’ ISKU โ†’ Boj Autocommit

ISKU / Boj Autocommit

Licence: mit
When you solve the problem of Baekjoon Online Judge, it automatically commits and pushes to the remote repository.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Boj Autocommit

Anticrawlersolution
It covers the blockade principle of most anti-climbing strategies and corresponding solutions.๐Ÿ‘ฝ๐Ÿ‘ฝ๐Ÿ‘ฝ๐Ÿ‘ฝ๏ผˆๆถต็›–ไบ†ๅคง้ƒจๅˆ†็š„ๅ็ˆฌ็ญ–็•ฅ็š„ๅฐ้”ๅŽŸ็†ไปฅๅŠๅฏนๅบ”็š„่งฃๅ†ณๆ–นๆกˆใ€‚๏ผ‰
Stars: โœญ 77 (+28.33%)
Mutual labels:  algorithm, crawler
Goose Parser
Universal scrapping tool, which allows you to extract data using multiple environments
Stars: โœญ 211 (+251.67%)
Mutual labels:  crawler, phantomjs
Torbot
Dark Web OSINT Tool
Stars: โœญ 821 (+1268.33%)
Mutual labels:  algorithm, crawler
Strong Web Crawler
ๅŸบไบŽC#.NET+PhantomJS+Sellenium็š„้ซ˜็บง็ฝ‘็ปœ็ˆฌ่™ซ็จ‹ๅบใ€‚ๅฏๆ‰ง่กŒJavascriptไปฃ็ ใ€่งฆๅ‘ๅ„็ฑปไบ‹ไปถใ€ๆ“็บต้กต้ขDom็ป“ๆž„ใ€‚
Stars: โœญ 238 (+296.67%)
Mutual labels:  crawler, phantomjs
Leetcode Spider
็”จ node.js ็ˆฌไฝ ่‡ชๅทฑ็š„ leetcode ่งฃ้ข˜ๆบ็ 
Stars: โœญ 176 (+193.33%)
Mutual labels:  algorithm, crawler
img-cli
An interactive Command-Line Interface Build in NodeJS for downloading a single or multiple images to disk from URL
Stars: โœญ 15 (-75%)
Mutual labels:  crawler, phantomjs
Appcrawler
Androidๅบ”็”จๅธ‚ๅœบ็ฝ‘็ปœ็ˆฌ่™ซ
Stars: โœญ 25 (-58.33%)
Mutual labels:  crawler, phantomjs
Leetcode Ranking Search
Leetcode Contest Ranking Searcher
Stars: โœญ 51 (-15%)
Mutual labels:  crawler
Pathfinding Lab
Run, test and compare all algorithms and heuristic functions
Stars: โœญ 58 (-3.33%)
Mutual labels:  algorithm
Serverless Html Pdf
Convert HTML to PDF thru a lambda function using PhantomJS.
Stars: โœญ 51 (-15%)
Mutual labels:  phantomjs
Lapjv
Go implementation of the LAPJV algorithm
Stars: โœญ 50 (-16.67%)
Mutual labels:  algorithm
Algorithm
algorithm library
Stars: โœญ 55 (-8.33%)
Mutual labels:  algorithm
Study
Algorithm / Book Reviews / Interview / ETC
Stars: โœญ 58 (-3.33%)
Mutual labels:  algorithm
Images Web Crawler
This package is a complete tool for creating a large dataset of images (specially designed -but not only- for machine learning enthusiasts). It can crawl the web, download images, rename / resize / covert the images and merge folders..
Stars: โœญ 51 (-15%)
Mutual labels:  crawler
Lgenerics
Generic algorithms and data structures for Lazarus/Free Pascal
Stars: โœญ 59 (-1.67%)
Mutual labels:  algorithm
Thmap
Concurrent trie-hash map library
Stars: โœญ 51 (-15%)
Mutual labels:  algorithm
Chemrtron
A document viewer; fuzzy match incremental search.
Stars: โœญ 59 (-1.67%)
Mutual labels:  crawler
Overhead Camera People Counter
People counting algorithm using an overhead video camera
Stars: โœญ 58 (-3.33%)
Mutual labels:  algorithm
Crawlergo
A powerful dynamic crawler for web vulnerability scanners
Stars: โœญ 1,088 (+1713.33%)
Mutual labels:  crawler
Car Prices
Golang็ˆฌ่™ซ ็ˆฌๅ–ๆฑฝ่ฝฆไน‹ๅฎถ ไบŒๆ‰‹่ฝฆไบงๅ“ๅบ“
Stars: โœญ 57 (-5%)
Mutual labels:  crawler

BOJ-AutoCommit

BOJ-AutoCommit์€ Baekjoon Online Judge(์ดํ•˜ BOJ)์˜ ๋‹ค์–‘ํ•œ ์•Œ๊ณ ๋ฆฌ์ฆ˜ ๋ฌธ์ œ๋ฅผ ํ’€์–ด์„œ ์ œ์ถœํ•˜๊ณ  ์ •๋‹ต์„ ๋งž์ถ”๋ฉด Github์™€ ๊ฐ™์€ ์›๊ฒฉ์ €์žฅ์†Œ์— Source Code๋ฅผ Pushํ•ฉ๋‹ˆ๋‹ค. ์ผ์ •ํ•œ ์‹œ๊ฐ„๋งˆ๋‹ค BOJ์—์„œ ์‚ฌ์šฉ์ž์˜ ID๋ฅผ ์ด์šฉํ•˜์—ฌ ์ •๋‹ต์„ ๋งž์ถ˜ ๋ฌธ์ œ๋“ค์„ ๊ฒ€์ƒ‰ ๋ฐ ๋ถ„์„ํ•˜๊ณ , Local Repository์— ํ•ด๋‹น ๋ฌธ์ œ ํŒŒ์ผ์ด ์กด์žฌํ•˜์ง€ ์•Š์œผ๋ฉด Source Code๋ฅผ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์•„ Local Repository์— ์ €์žฅํ•จ๊ณผ ๋™์‹œ์— Git์„ ์‚ฌ์šฉํ•˜์—ฌ Add, Commit ๊ทธ๋ฆฌ๊ณ  Push๋ฅผ ์ž๋™์œผ๋กœ ํ•˜๋ฉฐ, Python3์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๋งŒ๋“ค์–ด์กŒ์Šต๋‹ˆ๋‹ค.

Installation

$ git clone https://github.com/ISKU/BOJ-AutoCommit

Dependency

$ pip3 install requests
$ pip3 install bs4

How to use

  • ๋‹ค์Œ๊ณผ ๊ฐ™์ด Tool์„ ์‹คํ–‰ํ•˜์—ฌ, ์˜ฌ๋ฐ”๋ฅธ ์ •๋ณด๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
$ python3 main.py
  • Tool ์‹คํ–‰์‹œ ๋‹ค์Œ๊ณผ ๊ฐ™์ด BOJ์˜ ํšŒ์› ์ •๋ณด์™€ GitHub์˜ ํšŒ์› ์ •๋ณด ๋ฐ Repository ์ด๋ฆ„์„ ์ž…๋ ฅํ•˜์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.
Input Description
BOJ id BOJ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ID๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
BOJ password ๋กœ๊ทธ์ธ์„ ์œ„ํ•ด BOJ์˜ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
GitHub id GitHub์—์„œ ์‚ฌ์šฉํ•˜๋Š” ID๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
GitHub password ๋กœ๊ทธ์ธ์„ ์œ„ํ•ด GitHub์˜ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
Repository Source Code๋ฅผ Pushํ•  ์›๊ฒฉ์ €์žฅ์†Œ์˜ Repository์˜ ์ด๋ฆ„์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.
  • ์ด Tool์€ ๋Œ€๊ธฐํ•˜๊ณ  ์žˆ๋Š” ์‹œ๊ฐ„์ด ๊ธธ๊ธฐ ๋•Œ๋ฌธ์— ๋‹ค์Œ๊ณผ ๊ฐ™์ด Background์—์„œ ์‹คํ–‰์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.
$ nohup python3 main.py &

Default

  • ๋ฌธ์ œ๋ฒˆํ˜ธ๋กœ Directory๋ฅผ ์ƒ์„ฑ ํ•œ ํ›„, ํ•˜์œ„์— ๋ฌธ์ œ๋ฒˆํ˜ธ๋ฅผ ์ œ๋ชฉ์œผ๋กœ Source Code ํŒŒ์ผ์ด ์ €์žฅ๋ฉ๋‹ˆ๋‹ค.
  • Commit Message๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ "BOJ #๋ฌธ์ œ๋ฒˆํ˜ธ" ์ž…๋‹ˆ๋‹ค.
  • ์•ฝ 10๋ถ„๋งˆ๋‹ค ๋งž์•˜๋˜ ๋ฌธ์ œ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๊ณ  ์ƒˆ๋กญ๊ฒŒ ๋งž์€ ๋ฌธ์ œ๊ฐ€ ์žˆ์œผ๋ฉด ์›๊ฒฉ์ €์žฅ์†Œ์— Pushํ•ฉ๋‹ˆ๋‹ค.
  • ์ •๋‹ต์„ ๋งž์ถ˜ ๊ฐ€์žฅ ์ตœ๊ทผ 20๊ฐœ์˜ ๋ฌธ์ œ์— ๋Œ€ํ•ด์„œ๋งŒ ๋ถ„์„ํ•˜๋ฉฐ, ์ •๋‹ต์„ ๋งž์ถ˜ ๋ชจ๋“  ๋ฌธ์ œ๋ฅผ ๋‹ค๋ฃจ์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค.
  • ์ •๋‹ต์„ ๋งž์ถ˜ ๋ฌธ์ œ๊ฐ€ ์—ฌ๋Ÿฌ๊ฐ€์ง€๊ฐ€ ์žˆ์„ ๊ฒฝ์šฐ ๊ฐ€์žฅ ๋งˆ์ง€๋ง‰์— ์ œ์ถœํ•œ Source Code๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Extension

  • Tool์„ ํ™•์žฅํ•˜์—ฌ ์ž์œ ๋กญ๊ฒŒ ์ž์‹ ์˜ ์›๊ฒฉ์ €์žฅ์†Œ๋ฅผ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • option.json์— ๋‹ค์Œ ์˜ˆ์ œ์™€ ๊ฐ™์ด ์›ํ•˜๋Š” Option์„ ์„ค์ •ํ•˜์„ธ์š”.
{	
	"commit_message": "[NO]๋ฒˆ [TITLE] ๋ฌธ์ œํ’€์ด",
	"source_tree": "Algorithm/BOJ/Src",
	"dir_name": "[NO]",
	"mkdir": true,
	"private": true,
	"poll": 1800,
	"source_name": "[NO]",
	"lang": "Java"
}

๐Ÿ’ก ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” Option์€ ๋ฐ˜๋“œ์‹œ ์ง€์›Œ์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Key Options:

Key Description
commit_message Commit ๋‚ด์šฉ์„ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.
source_tree ์›ํ•˜๋Š” ์œ„์น˜์— Source๋ฅผ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค. (์‹œ์ž‘ Directory๋Š” Repository ์ด๋ฆ„๊ณผ ์ผ์น˜ํ•˜์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.)
dir_name Source๊ฐ€ ์ €์žฅ ๋˜๋Š” Directory์˜ ์ด๋ฆ„์„ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.
mkdir Source๊ฐ€ ์ €์žฅ ๋  ๋•Œ Directory๋ฅผ ์ƒ์„ฑ ํ•  ๊ฒƒ์ธ์ง€๋ฅผ ๊ฒฐ์ •ํ•ฉ๋‹ˆ๋‹ค.(false: dir_name์€ ๋ฌด์‹œ๋ฉ๋‹ˆ๋‹ค.)
private BOJ์—์„œ Source๋ฅผ ๋น„๊ณต๊ฐœ๋กœ ์„ค์ •ํ•˜๋ฉด ํ•ด๋‹น ๋ฌธ์ œ๋Š” ๋ฌด์‹œ๋ฉ๋‹ˆ๋‹ค.
poll BOJ์˜ ๋งž์€ ๋ฌธ์ œ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋Š” ์ฃผ๊ธฐ๋ฅผ ์ดˆ ๋‹จ์œ„๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. (์ตœ์†Œ 5๋ถ„ ์ด์ƒ์ด์—ฌ์•ผ ํ•ฉ๋‹ˆ๋‹ค.)
source_name Source ํŒŒ์ผ์˜ ์ด๋ฆ„์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. [NO]๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ฌธ์ œ๋ฒˆํ˜ธ๋กœ ์ €์žฅํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.
lang           ํ•ด๋‹น ์–ธ์–ด๋กœ ์ œ์ถœํ•œ Source๋งŒ ์›๊ฒฉ์ €์žฅ์†Œ์— Pushํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ’ก [NO]: ๋‚ด์šฉ์— [NO]๊ฐ€ ์žˆ์œผ๋ฉด ๋ฌธ์ œ์˜ ๋ฒˆํ˜ธ๋กœ ๋Œ€์ฒด๋ฉ๋‹ˆ๋‹ค.
๐Ÿ’ก [TITLE]: ๋‚ด์šฉ์— [TITLE]์ด ์žˆ์œผ๋ฉด ๋ฌธ์ œ์˜ ์ œ๋ชฉ์œผ๋กœ ๋Œ€์ฒด๋ฉ๋‹ˆ๋‹ค.

Example

  • https://github.com/ISKU/Algorithm
  • ์œ„ Repository๋Š” BOJ-AutoCommit์„ ์‚ฌ์šฉํ•˜์—ฌ Source Code๋ฅผ ๊ด€๋ฆฌํ•˜๊ณ  ์žˆ์œผ๋ฉฐ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š” Option์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.
{
	"commit_message": "BOJ #[NO]: [TITLE]",
	"source_tree": "Algorithm/BOJ",
	"private": true,
	"poll": 1800,
	"source_name": "Main",
	"lang": "Java"
}

License

Author

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].