CFViewer is a project designed to help competetive programmers who use codeforces platform for participating in contests and problem solving. There are many features present on the website, which coders can use to find and explore new problems and contests.
- CFViewer is now available as a docker container. So, users can directly pull cfviewer from DockerHub and use it without any installation. Follow the steps below to use CFViewer.
- First, download
docker
and verify you have properly installed it.- This link may help - https://docs.docker.com/desktop/
- Now, pull the cfviewer image using the following commmand (It may take some time depending on your internet connectivity)
docker pull rudradesai200/cfviewer:latest
- The setup is complete, now you are ready to run the CFViewer image
- You can start the container by using the following command,
docker run --rm -dp 8020:8020 rudradesai200/cfviewer:latest --name web
- Once the image is run, you can open CFViewer by opening the following url on any browser,
http://localhost:8020
- To open the admin console, you need to start the container with following flags
- DJANGO_SUPERUSER_USERNAME
- DJANGO_SUPERUSER_PASSWORD
- DJANGO_SUPERUSER_EMAIL
- For Ex,
docker run --rm -dp 8020:8020 -e DJANGO_SUPERUSER_USERNAME=admin -e DJANGO_SUPERUSER_PASSWORD=password -e DJANGO_SUPERUSER_EMAIL=admin@example.com rudradesai200/cfviewer
- Now to access the admin console, go to
http://localhost:8020/admin
This platform is completely made using Django-Python Framework. Because, it is hosted on my personal AWS server, I cannot share the complete project on GitHub, So, I have shared just the main app here. Please try to test if it is working or not first, then only open a pull request. Any suggestion and edits are welcome! Thanks in advance for the contribution.
Following is the list of features on the website and how to use it.
Dashboard contains statistics of coder's perfomance till now on codeforces. It contains 4 different charts -
- Problem Category vs Numbers Solved
- Rating Changes vs Contests
- Problems Tag vs Numbers Solved
- Submission Types vs Total Submissions
Also, some other information like Number of Problems attempted, Contests Attempted , Max Rating on Codeforces and Current Rating.
Problem Suggestor suggests problems to coders based on the problems they have solved till now. It is a smart algorithm which analyzes the solved problems and its rating and suggests some filters based on it. Also, 10 problems following the same filters are also displayed below it with its link.
Contest Suggestor suggests virtual contests to coders based on the contests they have participated till now. It is a smart algorithm which analyzes the solved contests and suggests some filters based on it. Also, 10 contests following the same filters are also displayed below it along with its link.
Just enter the name of a friend and get some detailed statistics comparing the perfomance of your's and your friend's submission history. Also, all of your friend's attempted but unsolved problems are listed in a tabular format along with a link to the problem. So, you can try it and then boast it in front of your friend ;)
The main functionality of this page are the filters. You can combine multiple filters to get the problems you want to solve.
It is a simple page which lists all the non-gym contests available on codeforces and displays it in a tabular format.
This page contains the top 10 Books for competitive programming suggested by experts in this field. Also, a link to the amazon page for that book is attached.