feat: rename plebchan to 5chan

This commit is contained in:
plebeius
2025-10-17 23:30:35 +02:00
parent e1f1f280cc
commit 1360dd8348
71 changed files with 316 additions and 316 deletions
+10 -10
View File
@@ -16,33 +16,33 @@ if [ -z "${DEPLOY_USER+xxx}" ]; then echo "DEPLOY_USER not set" && exit; fi
if [ -z "${DEPLOY_PASSWORD+xxx}" ]; then echo "DEPLOY_PASSWORD not set" && exit; fi
# save version
PLEBCHAN_VERSION=$(node -e "console.log(require('../package.json').version)")
PLEBCHAN_HTML_NAME="plebchan-html-$PLEBCHAN_VERSION"
5chan_VERSION=$(node -e "console.log(require('../package.json').version)")
5chan_HTML_NAME="5chan-html-$5chan_VERSION"
SCRIPT="
# download html
cd ~
rm $PLEBCHAN_HTML_NAME.zip
rm -fr $PLEBCHAN_HTML_NAME
wget https://github.com/plebbit/plebchan/releases/download/v$PLEBCHAN_VERSION/$PLEBCHAN_HTML_NAME.zip || exit
rm $5chan_HTML_NAME.zip
rm -fr $5chan_HTML_NAME
wget https://github.com/plebbit/5chan/releases/download/v$5chan_VERSION/$5chan_HTML_NAME.zip || exit
# extract html
unzip $PLEBCHAN_HTML_NAME.zip || exit
rm $PLEBCHAN_HTML_NAME.zip || exit
unzip $5chan_HTML_NAME.zip || exit
rm $5chan_HTML_NAME.zip || exit
# add to ipfs
CID=\`ipfs add --recursive --pin --quieter $PLEBCHAN_HTML_NAME | tail -n 1\`
CID=\`ipfs add --recursive --pin --quieter $5chan_HTML_NAME | tail -n 1\`
ipfs pin add --recursive \"\$CID\"
# start ipfs daemon if not started
ipfs init
nohup ipfs daemon &
# the CID of plebchan html, add this CID to ENS
# the CID of 5chan html, add this CID to ENS
sleep 3
echo \"\"
CID=\`ipfs cid base32 \$CID\`
echo $PLEBCHAN_HTML_NAME \"CID: \$CID\"
echo $5chan_HTML_NAME \"CID: \$CID\"
echo \"\"
"
+6 -6
View File
@@ -19,15 +19,15 @@ releaseChangelog = releaseChangelog.trim().replace(/\n\n+/g, '\n\n')
const releaseBody = `This version fixes a bug that prevented publishing.
- Web app: https://plebchan.app
- Decentralized web app: https://plebchan.eth (only works on [Brave Browser](https://brave.com/) or via [IPFS Companion](https://docs.ipfs.tech/install/ipfs-companion/#prerequisites))
- Web app: https://5chan.app
- Decentralized web app: https://5chan.eth (only works on [Brave Browser](https://brave.com/) or via [IPFS Companion](https://docs.ipfs.tech/install/ipfs-companion/#prerequisites))
## Downloads
- Android app: [Download APK](https://github.com/plebbit/plebchan/releases/download/v${version}/plebchan-${version}.apk)
- Linux app: [Download AppImage](https://github.com/plebbit/plebchan/releases/download/v${version}/plebchan-${version}.AppImage)
- macOS app: [Download DMG](https://github.com/plebbit/plebchan/releases/download/v${version}/plebchan-${version}.dmg)
- Windows app: [Download EXE](https://github.com/plebbit/plebchan/releases/download/v${version}/plebchan.Setup.${version}.exe)
- Android app: [Download APK](https://github.com/plebbit/5chan/releases/download/v${version}/5chan-${version}.apk)
- Linux app: [Download AppImage](https://github.com/plebbit/5chan/releases/download/v${version}/5chan-${version}.AppImage)
- macOS app: [Download DMG](https://github.com/plebbit/5chan/releases/download/v${version}/5chan-${version}.dmg)
- Windows app: [Download EXE](https://github.com/plebbit/5chan/releases/download/v${version}/5chan.Setup.${version}.exe)
${releaseChangelog}`