f0cked
Go to file
Flummi 9ca17e6fd4
All checks were successful
fetch npm modules / f0ck the f0cker (push) Successful in 20s
Merge remote-tracking branch 'origin/master' into dev
2023-07-02 13:12:19 +02:00
.gitea/workflows rip ci 2023-04-30 13:55:46 +02:00
debug improved clean script 2023-05-03 04:01:08 +02:00
logs muh 2020-04-03 13:12:35 +02:00
public using the normalized tags 2023-06-09 15:31:59 +02:00
src user profile lel 2023-07-02 13:11:31 +02:00
views Merge remote-tracking branch 'origin/master' into dev 2023-07-02 13:12:19 +02: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 - added folder deleted to gitignore 2022-05-22 04:15:26 +00:00
config_example.json example jonguh 2023-05-01 15:50:33 +02:00
f0ck.sql f0ck.sql user_options -> fullscreen 2023-05-10 01:32:07 +02: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
package-lock.json update modules 2023-04-28 07:02:45 +02:00
package.json update modules 2023-04-28 07:02:45 +02:00
README.md - added folder deleted to gitignore 2022-05-22 04:15:26 +00: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 deleted/{ca,b,t}
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