Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier deployment #250

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
];
}
Loading