Skip to content

Configuration Reference

Configuration is stored in .archcore/settings.json. This file is created during archcore init and managed through archcore config.

{
"sync": "none"
}
{
"sync": "none",
"language": "ru"
}
FieldTypeRequiredDescription
syncstringYesSync type: none, cloud, or on-prem
project_idintegerNoProject identifier for cloud/on-prem sync
archcore_urlstringNoServer URL for on-prem sync
languagestringNoLanguage code for document content

Documents stay local. No server communication.

{
"sync": "none"
}

Allowed fields: sync, language Forbidden fields: project_id, archcore_url

Syncs to https://app.archcore.ai.

{
"sync": "cloud",
"project_id": 42
}

Allowed fields: sync, project_id, language Forbidden fields: archcore_url

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

  • sync must be one of: none, cloud, on-prem
  • Fields must be consistent with the sync type (e.g., archcore_url is forbidden for cloud)
  • language must not contain spaces
  • archcore_url must not be empty when sync is on-prem
  • Optional fields use omitempty — omitted fields use code-level defaults
Terminal window
# View current sync type
archcore config
# Get a specific value
archcore config get language
# Set a value
archcore config set language en