Built with Chinaski

What it takes to run Chinaski

Chinaski is deliberately light. If you have a Debian-stable machine and a few hundred megabytes free, you can run it. Production hardware is optional.

Minimum requirements

A Linux host

Chinaski runs on any Debian-stable machine: a VPS, a home server, or a repurposed laptop. Ubuntu LTS and Raspberry Pi OS also work. macOS is supported for development.

Perl 5.20 or later

Perl ships with every Debian installation. No download, no version manager, no PATH configuration. The fourteen Perl modules install in under a minute, mostly from Debian packages.

256 MB RAM minimum

Chinaski runs comfortably within the memory budget of the cheapest cloud instances and decade-old hardware. A build of a hundred pages uses less than 50 MB of RAM at peak.

Details

Full dependency list

Fourteen Perl modules, listed in the cpanfile. The installer takes most of them from Debian packages: libmojolicious-perl, libdbi-perl, libdbd-sqlite3-perl, libtemplate-perl, libcryptx-perl, libimager-perl, libdatetime-perl, and libdatetime-timezone-perl. It fetches the few that Debian does not package with cpanm. You also need nginx to serve the output.

Database

Chinaski uses SQLite for its content store. There is no database server to install, configure, or back up separately. The entire site database is a single file you can copy with cp.

Disk space

The application itself requires under 20 MB. A typical site with hundreds of pages and posts, including media uploads, fits comfortably in under 1 GB. Static output for a 200-page site is typically under 10 MB of HTML.

Network and ports

The admin interface runs on a configurable port (default 8080) behind nginx. The production site is pure static files: no port, no process, just files on disk served by nginx or any web server.

Full installation guide

Read the getting-started docs