/levelsync

huantianad/levelsync but with more bugs.

Primary LanguageTypeScriptMIT LicenseMIT

levelsync(1)

Name

levelsync - automatically download Rhythm Doctor levels.

Installation

Make sure you have Deno installed, and then run the following in a terminal:

deno install -fr --allow-read --allow-write --allow-net https://cdn.jsdelivr.net/gh/0f-0b/levelsync@main/main.ts

Synopsis

levelsync [OPTION]... OUTPUT

Description

levelsync synchronizes the level library located at OUTPUT with rhythm.cafe, updating and removing levels as needed.

Options

  • -y, --yeeted PATH

    Archive removed levels to PATH instead of deleting them.

  • -d, --database PATH

    Cache the level database to PATH. Defaults to ./orchard.db.

  • -c, --concurrency NUMBER

    Download a maximum of NUMBER levels simultaneously. Defaults to 1.

  • -n, --dry-run

    Show levels to be added or removed but do not actually update them.

  • --orchard URL

    Download the level database from URL. Defaults to https://f000.backblazeb2.com/file/rdsqlite/backups/orchard-main.db.

  • --codex

    Always download levels from codex.rhythm.cafe.

  • -h, --help

    Display a summary of options and exit.

Exit Status

The exit status is one of the following:

Status Meaning
0 No error has occurred.
1 One or more errors occurred while adding or removing levels.
3 An error occurred while updating the level database.
4 A previous run held the lock but has not released it.

Notes

You might want to schedule levelsync to run periodically. For example with cron:

0 * * * * levelsync '/path/to/Rhythm Doctor/Levels'

This program currently lacks a few key features compared to the original levelsync, notably the ability to filter out unreviewed levels.

See Also