Prerequisites
Before installing Ayase Quart, ensure you have the following:- Python 3.12.x or 3.13.x
- SQLite 3.35.0 or higher (check with
python -c "import sqlite3; print(sqlite3.sqlite_version)") - A data source using the Asagi database schema (MySQL, SQLite, or PostgreSQL)
- System packages:
python3-dev,default-libmysqlclient-dev,build-essential
Installation steps
Create virtual environment and install dependencies
Create a Python virtual environment and install all required packages:Install system dependencies:
Configure boards
Copy the board template and configure your desired boards:Edit
boards.toml with your archive’s boards. Templates are provided for both 4chan and Lainchan:boards.toml
Configure application settings
Copy the configuration template and edit with your settings:Generate a secret key (used for CSRF, API tokens, etc.):This will automatically update your
config.toml with a secure secret key.The secret key is critical for security. The
ayaseq prep secret command generates a cryptographically secure key and automatically updates your configuration file.Set up database connection
Edit If you don’t have a data source yet, set up one of these archive downloaders:
config.toml to configure your database connection. Ayase Quart supports MySQL, SQLite, and PostgreSQL.Configure SSL certificates (optional)
If not using a reverse proxy, create SSL certificates for HTTPS access:Place
cert.pem and key.pem in the current working directory.Certificates are required for moderation features (web-based authentication) unless you set
moderation.auth.cookie_secure=false in your config.Set up Redis for moderation (optional)
Configure Redis for moderation bloom filtering:Update your
config.toml with Redis settings:Optional: Full-text search setup
Ayase Quart supports multiple full-text search engines for advanced search capabilities.Supported search engines
| Engine | Status | Documentation |
|---|---|---|
| LNX 0.9.0 | Fully supported, tested | docs.lnx.rs |
| Meilisearch | Partial support | meilisearch.com |
| Typesense | Partial support | typesense.org |
LNX setup example
Only LNX 0.9.0 is fully supported. Version 0.10.0 is not a completed version.