Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cosecseccot/cfget
Get problems from Codeforces via Competitive Companion.
https://github.com/cosecseccot/cfget
Last synced: 19 days ago
JSON representation
Get problems from Codeforces via Competitive Companion.
- Host: GitHub
- URL: https://github.com/cosecseccot/cfget
- Owner: CosecSecCot
- Created: 2024-07-21T12:57:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-22T07:05:59.000Z (6 months ago)
- Last Synced: 2024-11-06T03:26:50.551Z (2 months ago)
- Language: JavaScript
- Size: 199 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cfget
Get problems from Codeforces via Competitive Companion.
![Demo](demo/demo.gif)
This is my personal cli-tool and I have not designed it to be user-friendly
for anyone but me.But, if you want to try it you free to do so!
## Installation
1. Clone the repository:
```sh
git clone https://github.com/yourusername/cfget.git
cd cfget
```2. install the necessary dependencies:
```sh
npm install
```3. Link the package globally to use the `cfget`command:
```sh
npm link
```Make `cfget.js` executable (if required)
```sh
chmod +x cfget.js
```## Usage
Ensure that you have the Competitive Companion browser extension installed
and running.Start the server by running
```sh
cfget
```Use `-d` or `--debug` flag to see json data.
```sh
cfget -d
```or
```sh
cfget --debug
```The problems will be saved in the current working directory with the following structure:
```txt
.
├── a.cpp
├── b.cpp
├── ...
├── tests/
│ ├── a1 (input files for problem a)
│ ├── a2
│ ├── ...
│ ├── b1 (input files for problem b)
│ ├── b2
│ └── ...
```