Skip to main content

A taggable imageboard built in Django.

Project description

Boorunaut

Build Status

Welcome page screenshot of Boorunaut

Boorunaut is a taggable imageboard built in Django. Based on Danbooru.

It is able to be used locally to categorize images, or ready to configure and deploy as a website.

Features

  • Posts;
  • Gallery system;
  • Tagging system, with aliases and implications;
  • Control panel, including mass renaming, hash banning, mod queue and more.

Installation

If you are on a Linux-based system, you can simply run INSTALL.sh to automatically setup everything on a virtual environment locally.

You can also check the documentation below for more detailed instructions on how to install the library and its requirements manually and on different systems.

Python

The project is mainly written in the Python programming language, so it's an essential requirement. In order to download it, you can visit the official website, download it and install it.

On Linux you can just run the following command on the bash:

sudo apt-get install python3

Please check if pip was installed along it with the command:

python3 -m pip --version

If no errors occurred, then you are good.

Virtual Environment

Now you need to have the python virtual environment installed on python in order to be able to create isolated local version of python on the desired directory. You just run the following on the bash:

python3 -m pip install virtualenv

Create the virtual environment

Now you create a new virtual environment on the directory you your choosing. After nativating to the directory, let's say it's called mynewbooru for example. Inside it, you can run on bash:

virtualenv env

This command will create a new virtual environment called env. You need now to activate the environment before running any of the following commands (you also need to activate it every time you want to run the project, or else an error saying you don't have the libraries installed will occur).

On Linux you run:

source env/bin/activate

On Windows you run:

.\env\Scripts\activate

Now the environment is activated, so you are running an local isolated version of python. Anything you install here will not affect the "global" python installed on your system.

Boorunaut

Finally, you can now install Boorunaut on your python environment:

pip install Boorunaut

And you can start a new your project with the command:

boorunaut startproject mysite

It will create a new project folder. You can enter it and run Django's (the underling tecnology behind Boorunaut) commands to initialize the website configuration. To enter the folder you can run:

cd mysite

Your project should have the following file structure:

mynewbooru/
├── env/
└── mysite/
    └── mysite
        ├── __init__.py
        └── ...
    ├── __init__.py
    └── manage.py

Then you run the following commands:

python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Now your website should be running on the default localhost:8000. Type that into your browser and check it out your own Boorunaut main page!

By default, the database is set to SQLite. For production, it is recommended to change it to another one, like PostgreSQL.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Boorunaut-0.5.0.tar.gz (91.3 kB view details)

Uploaded Source

Built Distribution

Boorunaut-0.5.0-py3-none-any.whl (137.4 kB view details)

Uploaded Python 3

File details

Details for the file Boorunaut-0.5.0.tar.gz.

File metadata

  • Download URL: Boorunaut-0.5.0.tar.gz
  • Upload date:
  • Size: 91.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for Boorunaut-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5a39799b91b20e65c83f06c717bc86259ee637a21d05f5064ed372d61e8f6876
MD5 f2da0ae651d19f8354f1a898d9249c84
BLAKE2b-256 a2aa1046bb0cd1b9d28314ef3733b0020162022617a5474e0b1cdbdc8ca84223

See more details on using hashes here.

File details

Details for the file Boorunaut-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: Boorunaut-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 137.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for Boorunaut-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ed5a55762fba522ff104190d9c748750eb73c30d7f27014dfd022f02c0b5334
MD5 a91b391ba4c205a3893bbd66fdb89e59
BLAKE2b-256 a8245c5aaa9ba84ead8f5fb94cdbb274c685b74ce6780d07fdbe54311cbb6e8e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page