Image of program, small fat cat laying on a server computer

Program art made by Crisis.

smol_db

A database client and server designed for small databases that simply need quick setup and deletion, read and write. The goal of this database is to use it in most of my other projects when applicable, and make it as easy to use as possible. The database's structure is simply a hashmap.

This project consists of 4 subprojects:

Programs currently using this database:

Security:

smol_db is not designed to be extremely secure, most of its use cases are exist on the local network, where security can less necessary. If there are any improvements that can be made to security that come to my mind, I will slowly implement them as I get around to those ideas. access keys are not stored in a hash or encrypted format, and therefore should not be assumed to be safe or secure when stored.

Example Docker-Compose entry

db: build: https://github.com/CoryRobertson/smol_db.git#main image: smol_db_server ports: - "8222:8222" container_name: "smol_db_server_instance1" restart: unless-stopped volumes: - "./smol_db:/data"

Setup:

To create a smoldbserver instance, the above docker compose example can be used, or the server package can be built from source and run on the server computer. After creating an instance of the server on either bare-metal or a docker container, simply connect to it using the smoldbclient library, or through the smoldbviewer. Images below outline what the smoldbviewer looks like and what screens are available.

Connecting:

Image of connecting to a database using the viewing application

Setting the clients access key:

Image of setting the key of the client in the viewing application

Creating a database:

Image of creating a database using the viewing application

Viewing the data, and editing the data on the database:

Image of viewing the data on the database, and also writing to it, using the viewing application

Changing the settings of a database

Image of changing the database settings using the viewing application