levelsync - automatically download Rhythm Doctor levels.
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
levelsync [OPTION]... OUTPUT
levelsync synchronizes the level library located at OUTPUT
with
rhythm.cafe, updating and removing levels as needed.
-
-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 to1
. -
-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 tohttps://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.
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. |
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.
- GitHub repository: https://github.com/0f-0b/levelsync.