2022-02-04 22:54:16 -08:00
|
|
|
.\" Automatically generated by Pandoc 2.14.2
|
|
|
|
.\"
|
|
|
|
.TH "ANIWRAPPER" "1" "February 4, 2022" "aniwrapper 1.0.0" "Man Page"
|
|
|
|
.hy
|
|
|
|
.SH NAME
|
|
|
|
.PP
|
|
|
|
aniwrapper - A rofi wrapper around ani-cli: a command-line tool to
|
|
|
|
browser, download, and stream anime
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.PP
|
2022-02-05 23:06:01 -08:00
|
|
|
\f[B]aniwrapper\f[R] [-cdhpqvS] [-t \f[I]theme\f[R] | -T
|
|
|
|
\f[I]config_path\f[R]] [\f[I]query\f[R]]
|
2022-02-04 22:54:16 -08:00
|
|
|
.PD 0
|
|
|
|
.P
|
|
|
|
.PD
|
|
|
|
\f[B]aniwrapper\f[R] [-cvS] [-t \f[I]theme\f[R] | -T
|
|
|
|
\f[I]config_path\f[R]] -f \f[I]path_to_directory\f[R]
|
|
|
|
.PD 0
|
|
|
|
.P
|
|
|
|
.PD
|
|
|
|
\f[B]aniwrapper\f[R] -Q \f[I]query\f[R]
|
|
|
|
.PD 0
|
|
|
|
.P
|
|
|
|
.PD
|
|
|
|
\f[B]aniwrapper\f[R] -C
|
|
|
|
.PD 0
|
|
|
|
.P
|
|
|
|
.PD
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
\f[B]aniwrapper\f[R] is a wrapper around a modified version of
|
|
|
|
\f[B]ani-cli\f[R], which uses \f[B]rofi\f[R] to get user input and
|
|
|
|
control the program flow, as well as a a \f[B]sqlite3\f[R] database for
|
|
|
|
tracking search/watch history.
|
|
|
|
.SH OPTIONS
|
2022-02-05 23:06:01 -08:00
|
|
|
.PP
|
|
|
|
Defaults:
|
|
|
|
.IP \[bu] 2
|
|
|
|
\f[B]rofi\f[R] enabled
|
|
|
|
.IP \[bu] 2
|
|
|
|
aniwrapper.rasi theme
|
|
|
|
.IP \[bu] 2
|
|
|
|
best quality
|
2022-02-04 22:54:16 -08:00
|
|
|
.TP
|
|
|
|
\f[B]-c\f[R]
|
|
|
|
Enable command-line mode (disable \f[B]rofi\f[R])
|
|
|
|
.TP
|
|
|
|
\f[B]-C\f[R]
|
|
|
|
Connect to the history database
|
|
|
|
\f[I]$XDG_CONFIG_HOME/aniwrapper/history.sqlite3\f[R]
|
|
|
|
.TP
|
|
|
|
\f[B]-d\f[R]
|
|
|
|
Enable downloading anime in command-line mode
|
|
|
|
.TP
|
|
|
|
\f[B]-f\f[R]
|
|
|
|
Specify the starting search directory for \[lq]Play from File\[rq] mode
|
|
|
|
.TP
|
|
|
|
\f[B]-h\f[R]
|
|
|
|
Display the help message
|
|
|
|
.TP
|
2022-02-05 23:06:01 -08:00
|
|
|
\f[B]-p\f[R]
|
|
|
|
Enable video player selection menu
|
|
|
|
.TP
|
2022-02-04 22:54:16 -08:00
|
|
|
\f[B]-q\f[R]
|
|
|
|
Enable quality selection
|
|
|
|
.TP
|
|
|
|
\f[B]-Q\f[R] \f[I]query\f[R]
|
|
|
|
Run a query on the history databse
|
|
|
|
.TP
|
|
|
|
\f[B]-S\f[R]
|
|
|
|
Enable silent mode (suppress all output) [cannot be used with
|
|
|
|
\f[B]-v\f[R]]
|
|
|
|
.TP
|
2022-02-05 23:06:01 -08:00
|
|
|
\f[B]-t\f[R] \f[I]aniwrapper (default)|dracula|doomone|fancy|flamingo|material|nord|onedark\f[R]
|
2022-02-04 22:54:16 -08:00
|
|
|
Choose theme from presets
|
|
|
|
.TP
|
|
|
|
\f[B]-T\f[R] \f[I]path_to_theme\f[R]
|
|
|
|
Provide custom \f[B]rofi\f[R] theme
|
|
|
|
.TP
|
|
|
|
\f[B]-v\f[R]
|
|
|
|
Verbose output
|
|
|
|
.SH EXAMPLES
|
|
|
|
.TP
|
|
|
|
\f[B]aniwrapper\f[R]
|
2022-02-05 23:06:01 -08:00
|
|
|
Launch main menu with default options
|
2022-02-04 22:54:16 -08:00
|
|
|
.TP
|
2022-02-05 23:06:01 -08:00
|
|
|
\f[B]aniwrapper konosuba\f[R]
|
|
|
|
Run in stream mode with a search query: \[lq]konosuba\[rq]
|
|
|
|
.TP
|
|
|
|
\f[B]aniwrapper -qd naruto\f[R]
|
|
|
|
Run in download mode with quality selection enabled and a search query:
|
|
|
|
\[lq]naruto\[rq]
|
2022-02-04 22:54:16 -08:00
|
|
|
.TP
|
|
|
|
\f[B]aniwrapper -vqt doomone\f[R]
|
|
|
|
Run with quality selection menu and \f[I]doomone\f[R] theme
|
|
|
|
.TP
|
|
|
|
\f[B]aniwrapper -cd\f[R]
|
2022-02-05 23:06:01 -08:00
|
|
|
Enable downloading an anime in command-line mode (\f[B]rofi\f[R]
|
|
|
|
disabled)
|
2022-02-04 22:54:16 -08:00
|
|
|
.TP
|
|
|
|
\f[B]aniwrapper -Q \[lq]SELECT * FROM watch_history ORDER BY watch_date DESC LIMIT 10;\[rq]\f[R]
|
|
|
|
Query history database for your 10 most recently watched anime
|
|
|
|
.TP
|
|
|
|
\f[B]aniwrapper -f /media/videos\f[R]
|
|
|
|
Run in \[lq]Play from File\[rq] mode starting the search from the
|
|
|
|
\f[I]/media/videos\f[R] directory
|
2022-02-05 23:06:01 -08:00
|
|
|
.TP
|
|
|
|
\f[B]aniwrapper -S\f[R]
|
|
|
|
Run in quiet mode (suppress all output to stdout and disable
|
|
|
|
notifications)
|
2022-02-04 22:54:16 -08:00
|
|
|
.SH SEE ALSO
|
|
|
|
.PP
|
|
|
|
\f[B]rofi(1), rofi-theme(5), rofi-keys(5), sqlite3(1)\f[R]
|
|
|
|
.SH AUTHOR
|
|
|
|
.PP
|
|
|
|
Written by Kyle Yasuda <ksyasuda@umich.edu>
|
|
|
|
.PP
|
|
|
|
Original code based on pystardust\[cq]s \f[I]ani-cli\f[R]
|
|
|
|
(https://github.com/pystardust/ani-cli)
|