Skip to content

Commit 64dc459

Browse files
Add support Replit
1 parent 01f9c38 commit 64dc459

File tree

4 files changed

+32
-0
lines changed

4 files changed

+32
-0
lines changed

.licenserc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,7 @@ header:
3939
- 'Makefile'
4040
- 'Procfile'
4141
- 'cosign.pub'
42+
- '.replit'
43+
- 'replit.nix'
4244

4345
comment: on-failure

.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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ docker run -d wabarc/wayback wayback -d telegram -t YOUR-BOT-TOKEN -c YOUR-CHANN
292292

293293
### 1-Click Deploy
294294

295+
**Note:** These are free hosting options. If you need a free and easy setup, this method may work best for you.
296+
297+
<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>
295298
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/wabarc/wayback)
296299
<a href="https://render.com/deploy?repo=https://github.com/wabarc/on-render">
297300
<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)