chcli
chcli copied to clipboard
Complete cli for codechef and other platforms
I'm currently working on a complete command line interface for a major platform (codechef). It uses robobrowser. Login is complete. Listing questions is also complete. The cli will have inbuilt commands to open vim. A template will be loaded automatically along with the problem statement and example I/O. I have faced some problems scrapping codechef as the problems aren't always in the same html tag. But It should not be a major issue.
I will automate checking example test cases by 'diff'ing with the sample output scraped from codechef itself.
Another module to see all submissions is on the pipeline. File upload and checking for result will be another web scraping challenge. I will soon upload the code and integrate with this repo after it becomes somewhat usable. Help from the community is asked to integrate other platforms (codeforces,topcoder,hackerearth,hackerrank,etc). This could become a goto platform for all competitive programming needs! :1st_place_medal:
I am attaching pictures to show the flow of the work that I have done.