forked from lolcat/4get
Compare commits
3 Commits
instances-
...
4get-actio
Author | SHA1 | Date | |
---|---|---|---|
bebb0b18d3
|
|||
13dfa9240c | |||
0a53c3605a
|
48
.gitea/workflows/ci.yml
Normal file
48
.gitea/workflows/ci.yml
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
name: '4get CI'
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'master'
|
||||||
|
paths-ignore:
|
||||||
|
- 'README.md'
|
||||||
|
- 'docker-compose.yaml'
|
||||||
|
- '.gitignore'
|
||||||
|
- 'docs/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: docker
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
name: Checkout 4get repository
|
||||||
|
|
||||||
|
- uses: docker/setup-buildx-action@v3
|
||||||
|
name: Setup Docker BuildX system
|
||||||
|
|
||||||
|
- name: Login to Docker Container Registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.lolcat.ca
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
password: ${{ secrets.TOKEN }}
|
||||||
|
|
||||||
|
- name: Docker meta
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v5
|
||||||
|
with:
|
||||||
|
images: git.lolcat.ca/lolcat/4get
|
||||||
|
tags: |
|
||||||
|
type=sha,format=short,prefix={{date 'YYYY.MM.DD'}}-,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
||||||
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
||||||
|
|
||||||
|
- uses: docker/build-push-action@v6
|
||||||
|
name: Build images
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: Dockerfile
|
||||||
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
platforms: linux/amd64
|
||||||
|
push: true
|
@@ -1,8 +1,8 @@
|
|||||||
FROM alpine:latest
|
FROM alpine:3.21
|
||||||
WORKDIR /var/www/html/4get
|
WORKDIR /var/www/html/4get
|
||||||
|
|
||||||
RUN apk update && apk upgrade
|
RUN apk update && apk upgrade
|
||||||
RUN apk add php apache2-ssl php83-fileinfo php83-openssl php83-iconv php83-common php83-dom php83-sodium php83-curl curl php83-pecl-apcu php83-apache2 imagemagick php83-pecl-imagick php-mbstring imagemagick-webp imagemagick-jpeg
|
RUN apk add php apache2-ssl php84-fileinfo php84-openssl php84-iconv php84-common php84-dom php84-sodium php84-curl curl php84-pecl-apcu php84-apache2 imagemagick php84-pecl-imagick php84-mbstring imagemagick-webp imagemagick-jpeg
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
@@ -90,15 +90,31 @@ class config{
|
|||||||
// eachother your serber should appear everywhere.
|
// eachother your serber should appear everywhere.
|
||||||
const INSTANCES = [
|
const INSTANCES = [
|
||||||
"https://4get.ca",
|
"https://4get.ca",
|
||||||
"https://4get.nadeko.net",
|
"https://4get.zzls.xyz",
|
||||||
|
"https://4getus.zzls.xyz",
|
||||||
"https://4get.silly.computer",
|
"https://4get.silly.computer",
|
||||||
|
"https://4get.konakona.moe",
|
||||||
|
"https://4get.lvkaszus.pl",
|
||||||
|
"https://4g.ggtyler.dev",
|
||||||
|
"https://4get.perennialte.ch",
|
||||||
"https://4get.sijh.net",
|
"https://4get.sijh.net",
|
||||||
"https://4get.hbubli.cc",
|
"https://4get.hbubli.cc",
|
||||||
|
"https://4get.plunked.party",
|
||||||
|
"https://4get.seitan-ayoub.lol",
|
||||||
|
"https://4get.etenie.pl",
|
||||||
"https://4get.lunar.icu",
|
"https://4get.lunar.icu",
|
||||||
|
"https://4get.dcs0.hu",
|
||||||
|
"https://4get.kizuki.lol",
|
||||||
|
"https://4get.psily.garden",
|
||||||
|
"https://search.milivojevic.in.rs",
|
||||||
|
"https://4get.snine.nl",
|
||||||
|
"https://4get.datura.network",
|
||||||
"https://4get.neco.lol",
|
"https://4get.neco.lol",
|
||||||
|
"https://4get.lol",
|
||||||
"https://4get.ch",
|
"https://4get.ch",
|
||||||
"https://4get.edmateo.site",
|
"https://4get.edmateo.site",
|
||||||
"https://4get.sudovanilla.org",
|
"https://4get.sudovanilla.org",
|
||||||
|
"https://search.mint.lgbt"
|
||||||
];
|
];
|
||||||
|
|
||||||
// Default user agent to use for scraper requests. Sometimes ignored to get specific webpages
|
// Default user agent to use for scraper requests. Sometimes ignored to get specific webpages
|
||||||
|
Reference in New Issue
Block a user