imgdl

Crates.ioimgdl
lib.rsimgdl
version0.2.1
sourcesrc
created_at2020-08-11 05:13:15.245002
updated_at2020-08-11 05:25:47.850351
descriptiona cli app to recursively download images from a Discord channel
homepage
repositoryhttps://github.com/fyko/imgdl-bot
max_upload_size
id275256
size58,656
Carter (Fyko)

documentation

https://github.com/fyko/imgdl-bot/tree/cli#readme

README

☁ imgdl cli

Actions Crate Downloads

a cli app to recursively download images from a Discord channel

installing

# make sure you have the rust toolchain installed
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# development: cargo install --git https://github.com/fyko/imgdl-bot --branch cli
cargo install imgdl

updating

cargo install imgdl

setup

# https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot
# take the token from your bot application and put it in "token_here" below
# eg: imgdl config set token NzA3OTk1NjY1NjYxMTY1NTY4.XrQ6WA.Vgc2FNkBKbsCu4Mq3pqj3Nj2Bp4
imgdl config set token token_here

usage

# now you can start downloading images!
# download the whole channel
imgdl 552210716036300810 

# download all messages after the message Id provided
imgdl 552210716036300810 742608474751500299 
Commit count: 5

cargo fmt