Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farbodsz/codeforces-cli
Command line interface to interact with Codeforces
https://github.com/farbodsz/codeforces-cli
codeforces codeforces-api haskell
Last synced: 27 days ago
JSON representation
Command line interface to interact with Codeforces
- Host: GitHub
- URL: https://github.com/farbodsz/codeforces-cli
- Owner: farbodsz
- License: mit
- Created: 2021-05-01T23:30:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-26T22:57:41.000Z (over 3 years ago)
- Last Synced: 2024-09-29T17:41:58.596Z (about 1 month ago)
- Topics: codeforces, codeforces-api, haskell
- Language: Haskell
- Homepage:
- Size: 637 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# codeforces-cli
[![Hackage](https://img.shields.io/hackage/v/codeforces-cli?color=green)](https://hackage.haskell.org/package/lens)
[![Build Status](https://img.shields.io/github/workflow/status/farbodsz/codeforces-cli/Haskell%20CI)](https://github.com/farbodsz/codeforces-cli/actions?query=workflow%3AHaskell-CI)Command line interface to interact with Codeforces.
## Features
- View/filter contests and problems
- Watch contest standings and submissions
- Calculate rating after a virtual contest
- List rating changes for each contest
- And much more!## Installation
The pre-compiled binary file can be found
[on the releases page](https://github.com/farbodsz/codeforces-cli/releases).Download it and place it in a directory in your `PATH`. For example,
`~/.local/bin/cf`.Alternatively, you can get it through Haskell Stack, by installing the
[`codeforces-cli`](https://hackage.haskell.org/package/codeforces-cli) package:```
stack install codeforces-cli
```## Usage
```
Codeforces CLI v0.1.0Usage: cf COMMAND
Available options:
-h,--help Show this help textAvailable commands:
agenda Upcoming contests. Alias for contests --upcoming
contests List of contests
info Show the problems and your problem results of a
contest
friends List your friends (must be authenticated)
open Open a contest in the browser
problems View and filter problem sets
ratings Rating changes of a user
setup Setup your configuration file
standings Standings table of a contest
status Recent submissions of a user
user Information about a user
virtual Calculate your rating after a virtual contest, to
find what it would be if you competed live
```## Documentation
A help page for the CLI is available via `cf --help`.
The package's documentation is
[available on Hackage](https://hackage.haskell.org/package/codeforces-cli).