Skip to content

Commit cbab7e0

Browse files
Add support Replit
1 parent e09f1da commit cbab7e0

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

.licenserc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ header:
4343
- 'cosign.pub'
4444
- 'codecov.yml'
4545
- 'mkdocs.yml'
46+
- '.replit'
47+
- 'replit.nix'
4648

4749
comment: on-failure
4850

.replit

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
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"
2+
language = "bash"
3+
4+
[nix]
5+
channel = "stable-21_11"
6+
7+
[env]
8+
WAYBACK_ARGS = "-d web"
9+
ENABLE_METRICS = "true"
10+
WAYBACK_ENABLE_IA = "true"
11+
WAYBACK_ENABLE_IS = "true"
12+
WAYBACK_ENABLE_IP = "true"
13+
WAYBACK_ENABLE_PH = "true"
14+
WAYBACK_STORAGE_DIR = "/tmp/reduxer"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ docker run -d wabarc/wayback wayback -d telegram -t YOUR-BOT-TOKEN -c YOUR-CHANN
230230

231231
**Note:** These are free hosting options. If you need a quick and simple setup, this method may be ideal.
232232

233+
<a href="https://repl.it/github/wabarc/wayback"><img src="https://repl.it/badge/github/wabarc/wayback" alt="Run on Repl.it" height="32" /></a>
233234
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/wabarc/wayback)
234235
<a href="https://render.com/deploy?repo=https://github.com/wabarc/on-render">
235236
<img

replit.nix

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{ pkgs }: {
2+
deps = [
3+
pkgs.go
4+
pkgs.tor
5+
pkgs.wget
6+
pkgs.chromium
7+
pkgs.ffmpeg
8+
pkgs.libwebp
9+
pkgs.youtube-dl
10+
pkgs.you-get
11+
pkgs.ipfs
12+
];
13+
}

0 commit comments

Comments
 (0)