No Description

PrivacyDev 8cc5fb457b added instance freexiv.iqbalrifai.eu.org to readme file 1 year ago
nginx fd0e7f3ce3 replaced python image proxying with cached nginx proxy conf + added BIND_PORT option 1 year ago
.gitignore 00d00f24b2 initial commit 1 year ago
LICENSE.md f3f82271d8 added AGPL-3 license file 1 year ago
README.md 8cc5fb457b added instance freexiv.iqbalrifai.eu.org to readme file 1 year ago
api.py c3f514898e added bookmarks page 1 year ago
config.py.example fd0e7f3ce3 replaced python image proxying with cached nginx proxy conf + added BIND_PORT option 1 year ago
freexiv.service 0ececb9f2b added systemd service file 1 year ago
server.py 988c3c4733 added missing html escaping for user generated content 1 year ago

README.md

freexiv - an alternative front-end for pixiv

Installation

Debian based systems

sudo -i
apt install --no-install-recommends git nginx-core python3-{bottle,waitress,requests}
useradd -ms /bin/bash freexiv
su - freexiv
git clone https://codeberg.org/PrivacyDev/freexiv
cp freexiv/config.py{.example,}
chmod 600 freexiv/config.py
exit
cp /home/freexiv/freexiv/nginx/freexiv /etc/nginx/sites-available/
ln -s /etc/nginx/sites-{available,enabled}/freexiv
cp /home/freexiv/freexiv/freexiv.service /etc/systemd/system/
chown root:root /etc/systemd/system/freexiv.service

Adjust the following files as needed:

  • /home/freexiv/freexiv/config.py
  • /etc/nginx/sites-available/freexiv
  • /etc/systemd/system/freexiv.service

Add the following line inside of the http block in /etc/nginx/nginx.conf:

proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=my_zone:10m max_size=5g use_temp_path=off;

systemctl daemon-reload
systemctl enable --now freexiv
systemctl reload nginx
exit

Update

sudo -i
su - freexiv
cd freexiv
git pull
exit
systemctl restart freexiv
exit

Instances

Clearnet

Instance Cloudflare Notes
freexiv.privacydev.net No official instance
freexiv.iqbalrifai.eu.org Yes Indonesia or Multicast Instance

Tor

Instance Notes
freexiv.g4c3eya4clenolymqbpgwz3q3tawoxw56yhzk4vugqrl6dtu3ejvhjid.onion official instance

Mirrors

Codeberg, GitHub

Donations

Monero (XMR): 83Ak3unX8ATdAQzWhKWzoDUUQRZX28NZN66r8CoEUEAZZsjxeEJxqfTdYjv6n7m7JkCGvHeKLQffQXNzobaJw4hEQw92rpP \ Bitcoin (BTC): bc1qzmx0gemry0fgn8jcrwp9x00j7zs860hpjy3x9g