3
11
Fork
You've already forked freexiv
0
freexiv - an alternative front-end for pixiv https://freexiv.privacydev.net
  • Python 100%
Find a file
2023年12月17日 21:05:34 -05:00
nginx replaced python image proxying with cached nginx proxy conf + added BIND_PORT option 2023年04月14日 02:32:57 -04:00
.gitignore initial commit 2023年04月12日 21:07:25 -04:00
api.py added bookmarks page 2023年04月20日 19:49:13 -04:00
config.py.example replaced python image proxying with cached nginx proxy conf + added BIND_PORT option 2023年04月14日 02:32:57 -04:00
freexiv.service added systemd service file 2023年04月14日 02:31:45 -04:00
LICENSE.md added AGPL-3 license file 2023年04月15日 16:08:57 -04:00
README.md added instance freexiv.iqbalrifai.eu.org to readme file 2023年12月17日 21:05:34 -05:00
server.py added missing html escaping for user generated content 2023年06月19日 21:18:43 -04:00

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