f0cked
Go to file
2022-05-18 20:26:52 +00:00
debug misc bugfixes 2022-05-18 20:26:25 +00:00
logs muh 2020-04-03 13:12:35 +02:00
public mobile css fix 2022-05-18 20:26:25 +00:00
src misc bugfixes 2022-05-18 20:26:25 +00:00
views hover schmover 2022-05-18 20:26:25 +00:00
.eslintrc.json Kleinkram 2018-09-02 12:10:36 +02:00
.gitattributes tpl to hbs 2019-04-26 04:24:57 +00:00
.gitignore hopefully foolproof 2022-05-07 17:40:39 +02:00
config_example.json enter message here 2022-05-14 12:59:35 +02:00
f0ck.sql psql-db: extension unaccent 2022-05-16 12:57:13 +00:00
LICENSE Add LICENSE 2019-05-15 17:59:26 +00:00
mugge.png lekker thumbnailer jongen 2022-01-04 21:03:48 +01:00
nsfw_model.h5 autotagger v2 lol 2022-05-05 16:02:17 +02:00
package-lock.json update cuffeo 2022-05-07 12:36:41 +02:00
package.json adduser 2022-05-16 11:41:09 +00:00
README.md adding more in-depth python instructions 2022-05-16 12:39:42 +02:00

how to install:

dependencies

sudo pacman -S nodejs npm ffmpeg yt-dlp ffmpegthumbnailer postgresql python python-pip imagemagick git mime-types

postgres

sudo -u postgres initdb --locale en_US.UTF-8 -D '/var/lib/postgres/data'
 #(if it fails: sudo localectl set-locale en_US.UTF-8)
sudo systemctl enable --now postgresql
 #(if you're retarded or lazy, append postgresql and postgresql-libs to your ignorepkg)
sudo -u postgres createuser -S -D -R -e f0ck
sudo -u postgres createdb f0ck -O f0ck

install f0ck

sudo useradd f0ck -m
sudo -iu f0ck
cd ~
git clone https://git.lat/f0ck/f0ckv2.git
cd f0ckv2
 #(for developers: git checkout dev)
npm i
psql f0ck < f0ck.sql
mkdir -p public/ca
cp config_example.json config.json
  - edit config.json
  - set up clients, as described here: https://git.lat/keinBot/cuffeo
pip install nsfw_detector
 #if this fails make sure to have enough dedicated ram or swap space, alternatively try with pip install nsfw_detector --no-cache-dir
npm start