For now? I'm experimenting on an old concept. (Mirrorred from https://codeberg.org/strawmelonjuice/Lumina/) https://codeberg.org/strawmelonjuice/Lumina/
Find a file
2025-11-04 23:47:45 +01:00
.cargo Think this is better 2025-03-29 18:13:42 +01:00
.devcontainer Rename Dockerfiles for clarity 2025-10-10 18:31:19 +02:00
assets/svgs chore: fmt 2025-11-04 23:47:45 +01:00
client chore: fmt 2025-11-04 23:47:45 +01:00
mise/tasks chore: format 2025-11-04 21:58:12 +01:00
notes chore: fmt 2025-11-04 23:47:45 +01:00
server chore: fmt 2025-11-04 23:47:45 +01:00
SQL feat: move sql to external file 2025-11-04 23:44:53 +01:00
.dockerignore feat: add Docker support with PostgreSQL and SQLite configurations 2025-06-12 23:10:46 +02:00
.editorconfig Restore poor editorconfig file I used to test jj 2025-09-17 11:36:47 +02:00
.gitattributes meta: allow obsidian plugins into the repository 2025-11-04 22:01:25 +01:00
.gitignore meta: allow obsidian plugins into the repository 2025-11-04 22:01:25 +01:00
ABOUT.md chore: fmt 2025-11-04 23:47:45 +01:00
build.Dockerfile Rename Dockerfiles for clarity 2025-10-10 18:31:19 +02:00
Cargo.lock fix: Remove unused dependency 'fastbloom' 2025-11-04 21:52:23 +01:00
Cargo.toml run gleam tests as rust 2025-03-18 16:00:08 +01:00
CONTRIBUTING.md chore: fmt 2025-11-04 23:47:45 +01:00
Dockerfile arg unnecessary 2025-09-17 11:37:11 +02:00
env.Dockerfile Unite mise folder with mise.toml 2025-10-27 21:52:51 +01:00
LICENSE Move (#42) 2024-10-27 20:54:04 +01:00
mise.toml Restore mise tasks removed while modularising. 2025-10-12 22:48:10 +02:00
README.MD chore: fmt 2025-11-04 23:47:45 +01:00
WHY.md chore: fmt 2025-11-04 23:47:45 +01:00

Lumina(/peonies) server

Notice: This repo is edited on My personal forge and mirrorred on codeberg and GitHub. But you can still send in a PR! See CONTRIBUTING.md for more information.

-> Rewrite '25'

Completely rewriting this project. I am relatively new to Lustre and to websockets and to Rocket, but wanna try all of them out and make them succeed in this rewrite.

Environment variables

Part of the configuration is loaded from the database, part of it in environment variables. Environment variables can be set in the environment before run, but Lumina prefers them to be loaded from $LUMINAFOLDER/.env.

NAME DEFAULT FOR
LUMINA_POSTGRES_PORT 5432 The port to contact the database on.
LUMINA_POSTGRES_HOST localhost The address to contact the database on.
LUMINA_POSTGRES_USERNAME lumina The username to log in to the database with.
LUMINA_POSTGRES_PASSWORD - The password to log in to the database with. If not set, Lumina will try without.
LUMINA_POSTGRES_DATABASE lumina_config The database to use.
LUMINA_REDIS_URL redis://127.0.0.1/ Redis URL to connect to.
LUMINA_DB_SALT sal The salting to use for some data on the database.
LUMINA_SERVER_PORT 8085 Port for Lumina to accept HTTP requests on.
LUMINA_SERVER_ADDR 127.0.0.1 Address for Lumina to accept HTTP requests on. (usually 127.0.0.1 or 0.0.0.0)
LUMINA_SERVER_HTTPS false Whether to use 'https' rather than 'http' in links, etc. (please do!)
LUMINA_SYNC_IID localhost A name Lumina uses when communicating with other instances, must be equal to where it's http is facing the public internet
LUMINA_SYNC_INTERVAL 30 Specifies the interval between syncs. Minimum is 30.

Development

During development, I use the following:

mise install # Installs mise deps
mise run local-devel-prep # Because you'll need a database running somewhere.
mise run local-devel-watch

I might just specify it a bit further sometime in the future.