Skip to content

Commit

Permalink
Add support Replit
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Sep 7, 2024
1 parent e09f1da commit cbab7e0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ header:
- 'cosign.pub'
- 'codecov.yml'
- 'mkdocs.yml'
- '.replit'
- 'replit.nix'

comment: on-failure

Expand Down
14 changes: 14 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -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"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<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>
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/wabarc/wayback)
<a href="https://render.com/deploy?repo=https://github.com/wabarc/on-render">
<img
Expand Down
13 changes: 13 additions & 0 deletions replit.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{ pkgs }: {
deps = [
pkgs.go
pkgs.tor
pkgs.wget
pkgs.chromium
pkgs.ffmpeg
pkgs.libwebp
pkgs.youtube-dl
pkgs.you-get
pkgs.ipfs
];
}

0 comments on commit cbab7e0

Please sign in to comment.