Skip to content

Commit d714b1b

Browse files
Add support Replit
1 parent 20bab9d commit d714b1b

File tree

5 files changed

+46
-0
lines changed

5 files changed

+46
-0
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,24 @@ jobs:
283283
name: ${{ env.PRODUCT }}
284284
path: org.wabarc.wayback-*.x86_64.flatpak
285285

286+
binary:
287+
name: Build binary
288+
runs-on: ubuntu-latest
289+
steps:
290+
- name: Check out codebase
291+
uses: actions/checkout@v3
292+
with:
293+
fetch-depth: 0
294+
295+
- name: Build binary file without suffix
296+
run: make build
297+
298+
- name: Upload artifact
299+
uses: actions/upload-artifact@v3
300+
with:
301+
name: ${{ env.PRODUCT }}
302+
path: build/binary/${{ env.PRODUCT }}
303+
286304
checksum:
287305
name: Get archived packages checksum
288306
runs-on: ubuntu-latest

.licenserc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ header:
3737
- 'install.sh'
3838
- 'Makefile'
3939
- 'Procfile'
40+
- '.replit'
41+
- 'replit.nix'
4042

4143
comment: on-failure

.replit

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

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,9 @@ docker run -d wabarc/wayback wayback -d telegram -t YOUR-BOT-TOKEN -c YOUR-CHANN
291291

292292
### 1-Click Deploy
293293

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

296299
## Deployment

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)