base: https://github.com/project-violet/violet-message-search/blob/master/MANUAL.md
sudo apt update -y
sudo apt install unzip nginx libgomp1 -y
sudo su
mkdir htext-miner
cd htext-miner
wget https://github.com/project-violet/fscm-dist/releases/download/21.12.26/hentai-cache-backup-2021.12.26.zip -o cache.zip
unzip cache.zip
wget https://github.com/project-violet/fscm-dist/raw/main/hcache-merger
chmod 777 hcache-merger
./hcache-merger 3
sudo apt update -y
sudo apt install libgomp1 unzip python3 -y
sudo su
mkdir -p /var/swap
dd if=/dev/zero of=/var/swap/swapfile bs=1M count=4000
mkswap -f /var/swap/swapfile
swapon /var/swap/swapfile
swapon -s
wget https://github.com/project-violet/fscm-dist/releases/download/21.12.26-merged/0.zip
unzip 0.zip
mv merged-0.json merged.json
wget https://github.com/project-violet/fscm-dist/releases/download/21.12.26-merged/1.zip
unzip 1.zip
mv merged-1.json merged.json
wget https://github.com/project-violet/fscm-dist/releases/download/21.12.26-merged/2.zip
unzip 2.zip
mv merged-2.json merged.json
wget https://github.com/project-violet/fscm-dist/raw/main/fscm
chmod 777 fscm
wget https://raw.githubusercontent.com/project-violet/fscm-dist/main/forever.py
nohup python3 forever.py &