Skip to content
/ bobcat Public

CLI interface for Kattis, the online coding judge

License

Notifications You must be signed in to change notification settings

0WN463/bobcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bobcat

A CLI tool to interface with Kattis, the online judge.

demo.mp4

Features

  • Browse questions
  • Submit solution
  • Run and test solution against samples
  • Multiple options to configure

All in the command line, without having to nagivate Kattis' website.

Installation

From AUR

If you are using Arch Linux, this script is available on the AUR. Use the AUR helper of your choice, eg yay.

yay -S bobcat-git

From source

git clone https://github.com/0WN463/bobcat
cd bobcat
pip install .

Configuration

Config file

Config will be retrieved in order from $XDG_CONFIG_HOME/bobcat/config.ini, $HOME/.bobcat.ini and <SCRIPT_PATH>/config.ini (default config).

An example of the config file can be referenced from the default config.

Login credentials

To avoid having to continually login, bobcat will try to reference .secret.ini under your CONFIG_DIR (XDG_CONFIG_HOME if it is set, otherwise HOME). It should have the following structure.

[credentials]
user = ...
password = ....

Note that this storage is insecure, so use at your own risk.

Skipped questions

To keep record of questions that were previously skipped, the ID of skipped questions are stored in plain-text under $XDG_STATE_HOME/bobcat/skipped ($HOME/.local/state/bobcat/skipped if XDG_STATE_HOME is not defined)

About

CLI interface for Kattis, the online coding judge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages