تخطَّ إلى المحتوى

cms

هذا المحتوى غير متوفر بلغتك بعد.

Headless CMS with content types, posts, categories, versioning, and GraphQL API. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install cms

Adds a full headless CMS to your ɳSelf backend. Define custom content types (articles, products, events, etc.), manage posts with rich text, organize content with categories and tags, and publish through a versioned workflow. All content is accessible via Hasura GraphQL for any frontend. Supports media management via MinIO.

Env VarDefaultDescription
CMS_PORT3501CMS service port
CMS_MEDIA_ENABLEDtrueEnable media library (requires MinIO)
CMS_DRAFT_ENABLEDtrueEnable draft/publish workflow
CMS_VERSION_HISTORY10Versions to retain per content item
CMS_DEFAULT_LOCALEenDefault content locale
PortPurpose
3501CMS REST API and admin UI

8 tables added to your Postgres database:

  • np_cms_content_types: content type definitions
  • np_cms_posts: content items
  • np_cms_post_versions: version history
  • np_cms_categories: category tree
  • np_cms_tags: tag definitions
  • np_cms_post_tags: post-tag relationships
  • np_cms_media: media library records
  • np_cms_locales: locale configurations
RouteTarget
/cms/CMS management API
/cms/adminCMS admin UI