A sidebar Chrome extension that enhances Codeforces, making it a more productive platform for competitive programmers.
From enhanced UI elements and dark theme, to a fully functional code editor, this extension provides everything you need for a seamless coding experience on Codeforces.
With Codeforces Lite, you can now write, time, and submit code directly from the problem page. No need to switch tabs or upload files manually.
Key features include:
- Default language selector for easy switching between programming languages.
- Adjustable font size for a customized coding experience.
- Built-in timer for practicing timed coding problems.
- Options to reset your code and automatic tab indentation.
Along with this, your submitted codes are saved locally and can be retrieved when you revisit the same problem. The storage system is designed to handle over 1000+ code files, with each file being up to 200+ lines long, by automatically managing storage and deleting older codes to make space for newer ones.
This is done by an efficient storage management system using HashMap and Queue.
Codeforces Lite offers a highly optimized dark theme designed to provide a more visually comfortable experience, especially during extended coding sessions. The dark theme ensures a consistent look throughout the entire platform.
- Eye Comfort: The dark theme reduces eye strain by minimizing the contrast between the screen and the environment, particularly in low-light conditions.
- Battery Efficiency: On devices with OLED or AMOLED screens, the dark theme can help conserve battery life by reducing the energy used to display brighter pixels.
- Code Readability: Syntax highlighting is optimized for better readability in dark mode, ensuring that different elements in the code—such as keywords, variables, and comments—stand out clearly without causing visual fatigue.
- User Control: You can toggle the dark theme on or off based on your preferences, allowing you to switch between light and dark modes seamlessly.
With Codeforces Lite, you can set up custom templates that automatically load whenever you start solving a new problem. This feature helps you avoid the repetitive task of setting up your environment or writing boilerplate code from scratch.
By predefining your commonly used template (such as input/output functions, imports, or debugging statements), you can focus directly on problem-solving, improving your speed and efficiency during contests or practice sessions.
Additionally, you can specify the exact position for your cursor using the $0
symbol in your template, allowing you to start typing right where you need. The extension also remembers the cursor’s position when switching tabs and revisiting problems, ensuring you pick up exactly where you left off—saving valuable time during contests.
Codeforces Lite enhances the overall UI of Codeforces by making it more accessible, visually appealing, and user-friendly.
Elements are optimized for better positioning, creating a clean and intuitive interface for seamless navigation.
- Improved alignment of the problemset page for a more structured look.
- Redesigned login and register pages for a smoother user experience.
- Customized dark theme for various extension components to ensure consistency with our dark theme design.
- User Control: You can easily toggle the
Change UI
option on or off according to your preferences, allowing you to switch seamlessly between the default user interface and the enhanced version.
-
Fork the repository through github
git clone <Your Forked Repo>
-
Install the dependencies:
npm i
-
Build the project whenever you want to see the changes you made:
npm run build
-
To add the extension to Chrome:
- Open Chrome and navigate to chrome extensions or Manage extensions
- Enable "Developer mode" in the top right corner.
- Click "Load unpacked" and select the
dist
folder from the project.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. Follow the steps below to get involved:
-
Check for issues or features that need work here if you want to improve existing features. If you wish to implement a feature of your own, raise an issue and start working on it to keep track of your progress.
-
In your forked repo, create a branch for the feature or bug fix you're working on.
git checkout -b bug/<bug-name>
git checkout -b feature/<feature-name>
-
Make sure to properly handle any errors and ensure the feature is production-ready.
-
Write down proper commit messages which explain what you have fixed or what you have implemented.
git commit -m "feat: Implemented real-time code submission status to display submission updates without page redirects, improving user experience" git push origin <your-branch-name>
-
Once you are ready, create a pull request (PR) for review:
- Go to the repository on GitHub.
- Click on "Pull requests" and create a new PR for your branch.
- Properly list down the changes in your PR message.
-
Your PR will be reviewed and merged upon approval.
This extension was primarily developed by Maanas Sehgal and Devendra Suryavanshi.
Developer | GitHub | |
---|---|---|
Maanas Sehgal | GitHub | |
Devendra Suryavanshi | GitHub |