Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ocms
command
|
|
|
custom
|
|
|
modules
Package modules loads custom modules via blank imports.
|
Package modules loads custom modules via blank imports. |
|
modules/bookmarks
Package bookmarks provides a custom bookmarks module for oCMS.
|
Package bookmarks provides a custom bookmarks module for oCMS. |
|
internal
|
|
|
api/v2
Package v2 is the oCMS REST API v2, served at /api/v2.
|
Package v2 is the oCMS REST API v2, served at /api/v2. |
|
api/v2/media
Package media is the /api/v2/media domain.
|
Package media is the /api/v2/media domain. |
|
api/v2/pages
Package pages is the /api/v2/pages domain.
|
Package pages is the /api/v2/pages domain. |
|
api/v2/taxonomy
Package taxonomy is the /api/v2/tags and /api/v2/categories domain.
|
Package taxonomy is the /api/v2/tags and /api/v2/categories domain. |
|
auth
Package auth provides password hashing and verification utilities using the argon2id algorithm for secure credential storage.
|
Package auth provides password hashing and verification utilities using the argon2id algorithm for secure credential storage. |
|
cache
Package cache provides an in-memory caching layer for oCMS.
|
Package cache provides an in-memory caching layer for oCMS. |
|
geoip
Package geoip provides IP-to-country lookup using MaxMind GeoLite2-Country database.
|
Package geoip provides IP-to-country lookup using MaxMind GeoLite2-Country database. |
|
handler
Package handler implements HTTP handlers for the admin interface, including user management, page editing, configuration, and authentication.
|
Package handler implements HTTP handlers for the admin interface, including user management, page editing, configuration, and authentication. |
|
i18n
Package i18n provides internationalization support for the admin UI.
|
Package i18n provides internationalization support for the admin UI. |
|
logging
Package logging provides a custom slog handler that integrates with the Event Log system.
|
Package logging provides a custom slog handler that integrates with the Event Log system. |
|
middleware
Package middleware provides HTTP middleware for authentication, authorization, and request context handling.
|
Package middleware provides HTTP middleware for authentication, authorization, and request context handling. |
|
model
Package model defines domain models and types used throughout the application.
|
Package model defines domain models and types used throughout the application. |
|
module
Package module provides a module system for extending oCMS functionality.
|
Package module provides a module system for extending oCMS functionality. |
|
render
Package render provides HTML template rendering with layout support, flash message handling, and helper functions for the admin interface.
|
Package render provides HTML template rendering with layout support, flash message handling, and helper functions for the admin interface. |
|
seo
Package seo provides SEO utilities for building meta tags and structured data.
|
Package seo provides SEO utilities for building meta tags and structured data. |
|
seo/markdown
Package markdown implements HTTP Accept: text/markdown content negotiation for the public site.
|
Package markdown implements HTTP Accept: text/markdown content negotiation for the public site. |
|
service
Package service provides business logic and service layer functionality including event logging for audit trails.
|
Package service provides business logic and service layer functionality including event logging for audit trails. |
|
session
Package session provides HTTP session management using SCS with SQLite storage.
|
Package session provides HTTP session management using SCS with SQLite storage. |
|
testutil
Package testutil provides shared test helpers for the oCMS project.
|
Package testutil provides shared test helpers for the oCMS project. |
|
testutil/moduleutil
Package moduleutil provides module-specific test helpers for the oCMS project.
|
Package moduleutil provides module-specific test helpers for the oCMS project. |
|
theme
Package theme provides theme loading, switching, and rendering for the frontend.
|
Package theme provides theme loading, switching, and rendering for the frontend. |
|
themes
Package themes embeds core themes into the binary.
|
Package themes embeds core themes into the binary. |
|
transfer
Package transfer provides import/export functionality for oCMS content.
|
Package transfer provides import/export functionality for oCMS content. |
|
util
Package util provides general-purpose utility functions.
|
Package util provides general-purpose utility functions. |
|
version
Package version provides build-time version information.
|
Package version provides build-time version information. |
|
views/admin
Package admin provides templ-based views for the admin interface.
|
Package admin provides templ-based views for the admin interface. |
|
views/components/icon
Package icon provides Lucide SVG icon components for templ.
|
Package icon provides Lucide SVG icon components for templ. |
|
views/utils
Package utils provides utility functions for templUI components.
|
Package utils provides utility functions for templUI components. |
|
webhook
Package webhook provides webhook event dispatching and delivery.
|
Package webhook provides webhook event dispatching and delivery. |
|
modules
|
|
|
analytics_ext
Package analytics_ext provides an external statistics tracking module for oCMS.
|
Package analytics_ext provides an external statistics tracking module for oCMS. |
|
analytics_int
Package analytics_int provides built-in server-side analytics for oCMS.
|
Package analytics_int provides built-in server-side analytics for oCMS. |
|
dbmanager
Package dbmanager provides a database management module for executing SQL queries.
|
Package dbmanager provides a database management module for executing SQL queries. |
|
developer
Package developer provides a developer module for generating test data in oCMS.
|
Package developer provides a developer module for generating test data in oCMS. |
|
embed
Package embed provides external embed integration for oCMS.
|
Package embed provides external embed integration for oCMS. |
|
embed/providers
Package providers defines the Provider interface and common types for embed providers.
|
Package providers defines the Provider interface and common types for embed providers. |
|
example
Package example provides an example module demonstrating the oCMS module system.
|
Package example provides an example module demonstrating the oCMS module system. |
|
hcaptcha
Package hcaptcha provides hCaptcha integration for oCMS.
|
Package hcaptcha provides hCaptcha integration for oCMS. |
|
informer
Package informer provides a dismissible notification bar at the top of the page.
|
Package informer provides a dismissible notification bar at the top of the page. |
|
migrator
Package migrator provides a module for migrating content from other CMS platforms to oCMS.
|
Package migrator provides a module for migrating content from other CMS platforms to oCMS. |
|
migrator/types
Package types defines shared types for the migrator module.
|
Package types defines shared types for the migrator module. |
|
privacy
Package privacy provides consent management using Klaro with Google Consent Mode v2 support.
|
Package privacy provides consent management using Klaro with Google Consent Mode v2 support. |
|
sentinel
Package sentinel provides IP banning functionality for oCMS.
|
Package sentinel provides IP banning functionality for oCMS. |
Click to show internal directories.
Click to hide internal directories.