██████╗ ██╗  ██╗██╗
██╔═══██╗██║ ██╔╝██║
██║   ██║█████╔╝ ██║
██║   ██║██╔═██╗ ██║
╚██████╔╝██║  ██╗██║
 ╚═════╝ ╚═╝  ╚═╝╚═╝

Open pacKage Installer

Prerequisites

Database

A PostgreSQL server is recommended in production. For development purposes, you may instead want to use an SQLite database. On Debian: apt install postgresql / apt install sqlite3

Web

The backend is written in PHP >= 7.4. Depending on the database you have chosen, the appropriate PDO extensions are also required. On Debian (versions may vary): apt install php7.4-cli php7.4-pgsql php7.4-sqlite3

Command Line Interface

A C++ 17 compiler like GCC is needed, with the nlohmann/json, curl and minizip libraries. On Debian: apt install build-essential nlohmann-json3-dev libcurl4-openssl-dev libminizip-dev

Some commands also use some clang tools like clang-format. On Debian: apt install clang-format

Quick setup

Create a sample database and run the server

cd sql && ./create_sqlite_db.sh && cd ..
php -S localhost:8000 -t web/public

Compile the cli

At home

cd cli && make

At the IUT

cd cli && ./make-in-vdn.sh && unset http_proxy
Description
A package manager for C and C++ applications
Readme 1.4 MiB
Languages
C++ 67.4%
PHP 25.9%
CSS 2.1%
Shell 2%
Makefile 1.4%
Other 1.1%