Run PixivFE on your computer
This runs PixivFE for you alone, at http://localhost:8282. Nothing is reachable from other devices.
You need:
- A pixiv token
- Docker, or a PixivFE binary
With Docker
Replace YOUR_TOKEN and run:
sh
docker run -dt --name pixivfe \
-p 127.0.0.1:8282:8282 \
-e PIXIVFE_HOST=0.0.0.0 \
-e PIXIVFE_TOKEN=YOUR_TOKEN \
registry.gitlab.com/pixivfe/pixivfe:latestPIXIVFE_HOST=0.0.0.0 lets Docker reach PixivFE inside the container. 127.0.0.1:8282 keeps it on your computer. The -t flag allocates a terminal for colored console logs.
Open http://localhost:8282.
| Task | Command |
|---|---|
| See logs | docker logs -f pixivfe |
| Stop | docker stop pixivfe |
| Start again | docker start pixivfe |
| Update | docker pull registry.gitlab.com/pixivfe/pixivfe:latest, then docker rm -f pixivfe and run the command above again |
With a binary
Download the archive for your system from the package registry and extract it:
shtar xf pixivfe-linux-amd64.tar.xzOn Windows, extract
pixivfe-windows-amd64.zip.Run it with your token:
shPIXIVFE_TOKEN=YOUR_TOKEN ./pixivfe-linux-amd64On Windows (PowerShell):
powershell$env:PIXIVFE_TOKEN = "YOUR_TOKEN"; .\pixivfe-windows-amd64.exeOpen http://localhost:8282.
To update, download and extract the new archive.
Build from source
sh
git clone https://gitlab.com/pixivfe/PixivFE.git
cd PixivFE
PIXIVFE_TOKEN=YOUR_TOKEN ./build.sh runTo update, run git pull, then ./build.sh run again.
Next
- Change settings: configuration options
- Let others use it: run a public instance