Skip to content

Kycklingar/PBooru

Repository files navigation

The Permanent Booru

The Permanent Booru is an image board web server which takes leverage of the decentralization of IPFS to distribute its content.

Requirements

Golang

Ipfs

Postgresql

ImageMagick

Optional

FFmpeg For video thumbnails

Mupdf For pdf and epub thumbnails

Gnome-epub-thumbnailer For mobi thumbnails

Installing

Go get and build PBooru

go get -u -d github.com/kycklingar/PBooru
cd $GOPATH/src/github.com/kycklingar/PBooru
make
cp out ~/pbooru

Go get and install Ipfs

go get -u -d github.com/ipfs/go-ipfs
cd $GOPATH/src/github.com/ipfs/go-ipfs
make install

Download and setup Postgresql. Create a user and a database for PBooru.

Running

cd ~/pbooru
./pbooru -init-cfg

Edit the config.cfg file, mainly change the DBCfg.ConnectionString and HTTPAddress. Run ./pbooru