update install methods

This commit is contained in:
Waveplate 2024-10-01 13:48:16 -07:00
parent dbfc1b1e15
commit d34b98551e

View File

@ -1,4 +1,4 @@
# img2irc (1.0.4) # img2irc (1.0.5)
![img2irc preview](https://i.imgur.com/oetHhMB.png) ![img2irc preview](https://i.imgur.com/oetHhMB.png)
img2irc is a utility which converts images to half or quarterblock irc/ansi art, with a lot of post-processing filters img2irc is a utility which converts images to half or quarterblock irc/ansi art, with a lot of post-processing filters
@ -9,17 +9,11 @@ img2irc is a utility which converts images to half or quarterblock irc/ansi art,
the `irc` mode has 99 colours, the `ansi` mode has 256, `ansi24` has 16777216 the `irc` mode has 99 colours, the `ansi` mode has 256, `ansi24` has 16777216
## quick install # how to install
#### cargo install - ### download the linux binary
cargo install img2irc-rs
the binary will be installed to `~/.cargo/bin/img2irc`
#### statically compiled linux binary (x86_64)
statically linked with musl, works on all x86_64 linux platforms
cd /tmp cd /tmp
wget https://github.com/waveplate/img2irc/releases/download/v1.0.4/img2irc-1.0.4-linux-x86_64.tar.gz wget https://github.com/waveplate/img2irc/releases/download/v1.0.4/img2irc-1.0.4-linux-x86_64.tar.gz
@ -27,13 +21,19 @@ the binary will be installed to `~/.cargo/bin/img2irc`
rm -rf img2irc-1.0.4-linux-x86_64.tar.gz rm -rf img2irc-1.0.4-linux-x86_64.tar.gz
#### arch linux ([aur](https://aur.archlinux.org/packages/img2irc)) - ### install with `yay` (arch linux)
`yay -S img2irc`
>if you like this project, i would appreciate you giving it a vote on the [aur](https://aur.archlinux.org/packages/img2irc)! >if you like this project, i would appreciate you giving it a vote on the [aur](https://aur.archlinux.org/packages/img2irc)!
## usage yay -S img2irc
- ### install with `cargo`
cargo install img2irc-rs
the binary will be installed to `~/.cargo/bin/img2irc`
# usage
`img2irc <URL or PATH> [OPTIONS]` `img2irc <URL or PATH> [OPTIONS]`