diff --git a/.licenserc.yaml b/.licenserc.yaml index 453834ce..ee0358a1 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -43,6 +43,8 @@ header: - 'cosign.pub' - 'codecov.yml' - 'mkdocs.yml' + - '.replit' + - 'replit.nix' comment: on-failure diff --git a/.replit b/.replit new file mode 100644 index 00000000..0a5eeb0f --- /dev/null +++ b/.replit @@ -0,0 +1,14 @@ +run = "while :; do set -ex; curl -fsSL https://github.com/wabarc/wayback/raw/main/install.sh | sh -s -- -b ~/.local/bin; wayback ${WAYBACK_ARGS}; sleep 1; done" +language = "bash" + +[nix] +channel = "stable-21_11" + +[env] +WAYBACK_ARGS = "-d web" +ENABLE_METRICS = "true" +WAYBACK_ENABLE_IA = "true" +WAYBACK_ENABLE_IS = "true" +WAYBACK_ENABLE_IP = "true" +WAYBACK_ENABLE_PH = "true" +WAYBACK_STORAGE_DIR = "/tmp/reduxer" diff --git a/README.md b/README.md index 4f719749..12726e73 100644 --- a/README.md +++ b/README.md @@ -230,6 +230,7 @@ docker run -d wabarc/wayback wayback -d telegram -t YOUR-BOT-TOKEN -c YOUR-CHANN **Note:** These are free hosting options. If you need a quick and simple setup, this method may be ideal. +Run on Repl.it [![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/wabarc/wayback)