Merge branch 'master' of github.com:tardisx/discord-auto-upload
This commit is contained in:
commit
49c8ecd31a
31
README.md
31
README.md
@ -10,14 +10,23 @@ Point it at your Steam screenshot folder, or similar, and shortly after you hit
|
|||||||
|
|
||||||
* A folder where screenshots are stored
|
* A folder where screenshots are stored
|
||||||
* A [discord webhook](https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
|
* A [discord webhook](https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks)
|
||||||
* This script
|
* This script and perl, or one of the provided binaries
|
||||||
* perl installed (or the windows binary)
|
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
* Download this script:
|
#### Standalone binary
|
||||||
|
|
||||||
|
* Grab the latest binary from `https://github.com/tardisx/discord-auto-upload/releases/latest` called 'dau-linux.gz'.
|
||||||
|
* `gunzip dau-linux.gz`
|
||||||
|
* `mv dau-linux dau`
|
||||||
|
* `chmod +x dau`
|
||||||
|
* put `dau` somewhere on your path
|
||||||
|
|
||||||
|
#### From Source
|
||||||
|
|
||||||
|
* Download the script:
|
||||||
|
|
||||||
`curl -O https://raw.githubusercontent.com/tardisx/discord-auto-upload/master/dau`
|
`curl -O https://raw.githubusercontent.com/tardisx/discord-auto-upload/master/dau`
|
||||||
|
|
||||||
@ -37,13 +46,23 @@ Ubuntu/Debian: `sudo apt-get install libmojolicious-perl libio-socket-ssl-perl`
|
|||||||
|
|
||||||
### Mac
|
### Mac
|
||||||
|
|
||||||
|
#### Standalone binary
|
||||||
|
|
||||||
|
* Grab the latest binary from `https://github.com/tardisx/discord-auto-upload/releases/latest` called 'dau-mac.gz'.
|
||||||
|
* `gunzip dau-mac.gz`
|
||||||
|
* `mv dau-mac dau`
|
||||||
|
* `chmod +x dau`
|
||||||
|
* put `dau` somewhere on your path
|
||||||
|
|
||||||
|
#### From source
|
||||||
|
|
||||||
Basically the same as Linux above. [Perlbrew](https://perlbrew.pl) is highly recommended so as not to disturb the system perl. No need for superuser access then either.
|
Basically the same as Linux above. [Perlbrew](https://perlbrew.pl) is highly recommended so as not to disturb the system perl. No need for superuser access then either.
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
* Grab the windows exe file:
|
* Grab the latest windows exe
|
||||||
|
|
||||||
`http://tba`
|
`https://github.com/tardisx/discord-auto-upload/releases/latest`
|
||||||
|
|
||||||
* Optional, put it somewhere on your path
|
* Optional, put it somewhere on your path
|
||||||
* Open a command prompt
|
* Open a command prompt
|
||||||
@ -55,6 +74,8 @@ If you want to hack it, audit it, or don't trust my exe, you can install
|
|||||||
[Strawberry Perl](http://strawberryperl.com) and run it using that directly.
|
[Strawberry Perl](http://strawberryperl.com) and run it using that directly.
|
||||||
You'll need the same dependencies mentioned above in the Linux setup.
|
You'll need the same dependencies mentioned above in the Linux setup.
|
||||||
|
|
||||||
|
If you want to build your own .exe, see BINARIES.md
|
||||||
|
|
||||||
## Using it
|
## Using it
|
||||||
|
|
||||||
`dau` is a command line driven program. When executed, it will continually scan a directory for new images, and each time it finds one it will upload it to discord, via the discord web hook.
|
`dau` is a command line driven program. When executed, it will continually scan a directory for new images, and each time it finds one it will upload it to discord, via the discord web hook.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user