Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (28 loc) · 854 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 854 Bytes

This feature wsa bundled to provlegisto as application trayer, the program was no longer maintain

See Provlegisto for more information

ContestWatchman

ContestWatchman, the abbr of Recent Contest Night's Watchman

Build

$ cargo build --release

# Bulid docker image
$ nu make.nu

Usage

Usage: ContestWatchman [PORT] <COMMAND>

Commands:
  insert  Insert item to database manually
  pull    Update database from remote
  send    Send emails to subscriber
  serve   Start server
  help    Print this message or the help of the given subcommand(s)

Arguments:
  [PORT]  [default: 3000]

Options:
  -h, --help     Print help
  -V, --version  Print version

There are 2 path to gain resource currently:

  • /data: Recent contest in json format
  • /atom.xml: Recent contest feed