Skip to content

Commit

Permalink
Add support Replit
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Nov 4, 2022
1 parent 20bab9d commit d714b1b
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,24 @@ jobs:
name: ${{ env.PRODUCT }}
path: org.wabarc.wayback-*.x86_64.flatpak

binary:
name: Build binary
runs-on: ubuntu-latest
steps:
- name: Check out codebase
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Build binary file without suffix
run: make build

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ env.PRODUCT }}
path: build/binary/${{ env.PRODUCT }}

checksum:
name: Get archived packages checksum
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ header:
- 'install.sh'
- 'Makefile'
- 'Procfile'
- '.replit'
- 'replit.nix'

comment: on-failure
10 changes: 10 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
run = "while true; do wget -O wayback https://github.com/wabarc/wayback/releases/latest/download/wayback;chmod +x wayback;./wayback -d web;sleep 1;done"
language = "bash"

[env]
ENABLE_METRICS=true
WAYBACK_ENABLE_IA=true
WAYBACK_ENABLE_IS=true
WAYBACK_ENABLE_IP=true
WAYBACK_ENABLE_PH=true
WAYBACK_STORAGE_DIR=/tmp/reduxer
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,9 @@ docker run -d wabarc/wayback wayback -d telegram -t YOUR-BOT-TOKEN -c YOUR-CHANN

### 1-Click Deploy

**Note:** These are free hosting options. If you need a free and easy setup, this method may work best for you.

<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)

## Deployment
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 d714b1b

Please sign in to comment.