Skip to content

Config: Refactor and thoroughly document configuration system. - #516

Merged
az-raven merged 5 commits into
mainfrom
unify-config
Sep 12, 2026
Merged

az-raven merged 5 commits into
mainfrom
unify-config

Conversation

@az-raven

Copy link
Copy Markdown
Member

This PR unifies our existing FOUR (!!!) config files into one single JSONC file. The switch to JSONC also allowed me to create a thoroughly-documented example config file, which should demystify self-hosting a bit. It's still very annoying because of all the third-party services that need to be set up, but I want to cut most of those out pretty soon.

  • Folded config.json, env.js, admin.json, and .env all into config.jsonc.
  • Created example.config.jsonc to guide people setting up an instance through the process.

Note

This PR does create a dependency on jsonc-parser, but it's a very widely used package so I'm not super concerned.

@az-raven az-raven self-assigned this Sep 12, 2026
@az-raven

Copy link
Copy Markdown
Member Author

approved on dc by avery

@az-raven
az-raven merged commit 7c57f26 into main Sep 12, 2026
4 checks passed
@az-raven
az-raven deleted the unify-config branch September 12, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant