Crate e62rs

Crate e62rs 

Source
Expand description

e62rs is a CLI e621/926 client

features include:

  • 100+ options with sane defaults (see crate::config::options for all sections and fields)
  • fully offline post explorer
  • really fast post and pool downloader with batch support
  • highly customizable downloads organization
  • in-terminal image viewer with support for animations
  • everything is documented

Modules§

app
the main application
cache
post and http cache stuff
client
e621 api stuff
config
configuration stuff
data
db mangament stuff
display
information display stuff
macros
macros used by e62rs
models
All data types used by e621 for deserializing/serializing API responses. (documentation for all models was AI generated)
serve
the browser frontend service
ui
tui stuff for e62rs
utils
utilities used across e62rs

Macros§

defer
defer execution of code until current scope exits
fmt_value
format a value (lol)
getopt
get the current value of a given setting
impl_display
implement display for a type
impl_theme
make a theme
menu
make a menu
mkstr
make a new String
mkvec
make a new Vec
opt_and
if an option is enabled, perform an expression
repeat
repeat an expression n times
retry
run a block of code until it succeeds
sendsync
implement Send + Sync for a type
validator
helper macro for generating validators
validator_nested
helper macro for nested validation