Configuration Reference
Settings File
Section titled “Settings File”Configuration is stored in .archcore/settings.json. This file is created during archcore init and managed through archcore config.
Minimal Config (Local Only)
Section titled “Minimal Config (Local Only)”{ "sync": "none"}With Language
Section titled “With Language”{ "sync": "none", "language": "ru"}Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
sync | string | Yes | Sync type: none, cloud, or on-prem |
project_id | integer | No | Project identifier for cloud/on-prem sync |
archcore_url | string | No | Server URL for on-prem sync |
language | string | No | Language code for document content |
Sync Types
Section titled “Sync Types”none — Local Only
Section titled “none — Local Only”Documents stay local. No server communication.
{ "sync": "none"}Allowed fields: sync, language
Forbidden fields: project_id, archcore_url
cloud — Cloud Sync
Section titled “cloud — Cloud Sync”Syncs to https://app.archcore.ai.
{ "sync": "cloud", "project_id": 42}Allowed fields: sync, project_id, language
Forbidden fields: archcore_url
on-prem — Self-Hosted Server
Section titled “on-prem — Self-Hosted Server”Syncs to a self-hosted Archcore server.
{ "sync": "on-prem", "project_id": 42, "archcore_url": "https://archcore.internal.company.com"}Allowed fields: sync, project_id, archcore_url, language
Required fields: archcore_url
Validation Rules
Section titled “Validation Rules”syncmust be one of:none,cloud,on-prem- Fields must be consistent with the sync type (e.g.,
archcore_urlis forbidden forcloud) languagemust not contain spacesarchcore_urlmust not be empty when sync ison-prem- Optional fields use
omitempty— omitted fields use code-level defaults
Managing Config
Section titled “Managing Config”# View current sync typearchcore config
# Get a specific valuearchcore config get language
# Set a valuearchcore config set language en