mfornet / acmx

Competitive programming made simple. VSCode extension.
MIT License
148 stars 10 forks source link

Submit from acmx #35

Closed mfornet closed 3 years ago

mfornet commented 4 years ago

New command to submit solutions directly from acmx.

The idea is using a web browser extension that spawns a server and is listening for new solutions to be submitted. This way, if the extension is already logged in in the website then should be easy to make the submission.

Maybe use the competitive-companion tool or create a brand new extension.

Relevant link: https://developer.chrome.com/apps/sockets_tcpServer

Salil03 commented 4 years ago

I suggest you close this issue because to implement this for each site would be incredibly difficult. Or at least give this issue low priority as even implementing this for a single site(like codeforces) has many headaches. Some problems may be

Codechef doesn't even allow multiple logins Password encryption and all those things Every website has unique submission path. There is no unified extension like competitive companion for this. Some tools are already made for this made they only work for codeforces, so this suggests that it may be difficult for other websites.

mfornet commented 4 years ago

Actually my idea is to start an extension similar to competitive companion that initially works with Codeforces, and allows external tools like acmX to make automatic submissions. I agree that this issue in general is out of the scope of this tool, but I'll leave it to keep track of it.

mfornet commented 4 years ago

It seems to be done in this tool for codeforces: https://github.com/ahmed-dinar/codeforces-cli

Salil03 commented 4 years ago

https://github.com/online-judge-tools/api-client this would help in submitting to more judges.

mfornet commented 3 years ago

Any custom tool can be used for automatic submission after implementation in #117