diff --git a/.forgejo/buttons.sh b/.forgejo/buttons.sh new file mode 100644 index 0000000..c5ccaec --- /dev/null +++ b/.forgejo/buttons.sh @@ -0,0 +1,58 @@ +#!/usr/bin/env bash +set -euo pipefail + +# script downloads buttons manually and hosts them. so hotlinking but Not Really +# probably don't need to do this/this is probably worse but it runs weekly so its not *that* bad i think?? + +BUTTONS_DIR=/workspace/sneexy/pages/assets/buttons/friends + +# 23sonics +wget "https://23sonics.zone/media/88x31/me.gif" -O "${BUTTONS_DIR}/23sonics.gif" +# authenyo +wget "https://authenyo.xyz/images/button.gif" -O "${BUTTONS_DIR}/authenyo.gif" +# autumn +wget "http://autumn.town/assets/buttons/mybutton.webp" -O "${BUTTONS_DIR}/autumn.gif" +# av70 +wget "https://av70.neocities.org/assets/88x31/av70.gif" -O "${BUTTONS_DIR}/av70.gif" +# birdcat +wget "https://birdcat.online/img/buttons/birdcatonline.gif" -O "${BUTTONS_DIR}/birdcat.gif" +# david +wget "https://david.garden/wp-content/uploads/2024/09/david-site-button.png" -O "${BUTTONS_DIR}/david.png" +# sirlan +wget "https://dragon-vi.be/buttons/button.png" -O "${BUTTONS_DIR}/sirlan.png" +# drakonic +wget "https://drakonic.zone/images/button.gif" -O "${BUTTONS_DIR}/drakonic.zone" +# charon +wget "https://cdn.exlitry.world/media/buttons/exlitry.world.gif" -O "${BUTTONS_DIR}/exlitry.world.gif" +# freeplay +wget "https://freeplay.floof.company/assets/buttons/free.gif" -O "${BUTTONS_DIR}/freeplay.gif" +# thermia +wget "https://girlthi.ng/~thermia/img/88x31/thermia.gif" -O "${BUTTONS_DIR}/thermia.gif" +# kyropy +wget "https://kyropy.neocities.org/images/kyropybutton.svg" -O "${BUTTONS_DIR}/kyropy.svg" +# lars +wget "https://larsfrommars.neocities.org/buttons/lars.png" -O "${BUTTONS_DIR}/lars.png" +# micro +wget "https://git.gay/Micro/pages/raw/branch/egui-rewrite/src/assets/buttons/micro.png" -O "${BUTTONS_DIR}/micro.png" +# notfire +wget "https://notfire.cc/design/images/buttons/notfire-cc-88x31-af.gif" -O "${BUTTONS_DIR}/notfire.gif" +# odoben +wget "https://odoben.space/img/odoben_88x31.png" -O "${BUTTONS_DIR}/odoben.png" +# millions +wget "https://ofplayers.net/images/88x31/millions.png" -O "${BUTTONS_DIR}/millions.png" +# pc100 +wget "https://oli.pages.gay/badges/WebButton.svg" -O "${BUTTONS_DIR}/pc100.svg" +# therra +wget "https://smolderg.xyz/img/badges/theysosmall_by_liah.png" -O "${BUTTONS_DIR}/theysosmall.png" +# lexi +wget "https://softkittypa.ws/assets/buttons/softkittypaws.png" -O "${BUTTONS_DIR}/lexi.png" +# coffy +wget "https://sweetcoffy.pages.gay/assets/button.png" -O "${BUTTONS_DIR}/sweetcoffy.png" +# pancakes +wget "https://trypancakes.com/assets/88x31.png" -O "${BUTTONS_DIR}/pancakes.png" +# unnick +wget "https://unnick.mice.tel/88x31.png" -O "${BUTTONS_DIR}/unnick.png" +# kopper +wget "https://w.on-t.work/assets/88x31.png" -O "${BUTTONS_DIR}/wontwork.png" +# winter +wget "https://winter.entities.org.uk/buttons/self.png" -O "${BUTTONS_DIR}/winter.png" \ No newline at end of file diff --git a/.forgejo/workflows/buttons.yml b/.forgejo/workflows/buttons.yml new file mode 100644 index 0000000..b5f91d0 --- /dev/null +++ b/.forgejo/workflows/buttons.yml @@ -0,0 +1,31 @@ +on: + push: + schedule: + - cron: '0 8 * * 6' + +jobs: + build: + runs-on: docker + + steps: + - uses: actions/checkout@v4 + with: + ref: 'main' + + - name: git setup + run: | + git config --local user.name "protogen" + git config --local user.email "proot@toasters.com" + + - name: download buttons + run: | + chmod +x /workspace/sneexy/pages/.forgejo/buttons.sh + bash -c "/workspace/sneexy/pages/.forgejo/buttons.sh" + + - name: push updated buttons + id: github-push + run: | + git config pull.rebase true + git add . + git diff-index --quiet HEAD || git commit -m "beep~! (updated buttons)" + git push diff --git a/index.html b/index.html index 23279ea..01e108d 100644 --- a/index.html +++ b/index.html @@ -276,7 +276,6 @@

friends!

23Sonics - amycatgirl authenyo Autumn Town Café av70