AIGCS

Configuration Reference

Configuration schema reference

System Config

The system_config table stores global configuration. Accessible via Settings in the admin panel.

Fields

FieldTypeDescription
smtp_hoststringSMTP server
smtp_portnumberSMTP port
smtp_userstringSMTP username
smtp_passstringEncrypted password
smtp_from_emailstringSender email
smtp_from_namestringSender name
registration_openbooleanAllow public registration
allowed_originsstring[]CORS origins
site_titlestringAdmin panel title
site_faviconstringFavicon URL
captcha_providerstringActive CAPTCHA provider

Site Settings JSON Schema

Each site has a settings JSON column with the following fields:

FieldTypeDefaultDescription
autoGeneratebooleanfalseAuto-generate on page view
cacheTtlnumber3600Cache TTL (seconds)
themestringautoWidget theme
commentPluginstring""Active comment plugin
avatarModestringaigcsAvatar mode
contentSelectorstring""CSS selector for content
aiBadgePositionstringnickAI badge position
reactionEnabledbooleantrueEnable reactions
emailNotifybooleantrueEmail notifications
pingTokenstring""Ping webhook token
rssUrlstring""RSS feed URL
fediConfigobject{}Fediverse plugin config

Plugin Manifest Format

{
  "name": "my-plugin",
  "version": "1.0.0",
  "description": "Plugin description",
  "homepage": "https://github.com/user/my-plugin",
  "commentHandler": "visitor",
  "defaultSettings": {
    "setting1": "value1"
  }
}

On this page