pkg/

directory
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2026 License: MIT

Directories

Path Synopsis
Package appview implements the ATCR AppView component, which serves as the main OCI Distribution API server.
Package appview implements the ATCR AppView component, which serves as the main OCI Distribution API server.
db
Package db provides the database layer for the AppView web UI, including SQLite schema initialization, migrations, and query functions for OAuth sessions, device flows, repository metadata, stars, pull counts, and user profiles.
Package db provides the database layer for the AppView web UI, including SQLite schema initialization, migrations, and query functions for OAuth sessions, device flows, repository metadata, stars, pull counts, and user profiles.
handlers
Package handlers provides HTTP handlers for the AppView web UI, including home page, repository browsing, search, user authentication, settings, device management, and API endpoints for the web interface.
Package handlers provides HTTP handlers for the AppView web UI, including home page, repository browsing, search, user authentication, settings, device management, and API endpoints for the web interface.
holdclient
Package holdclient provides client functions for the appview to call hold XRPC endpoints.
Package holdclient provides client functions for the appview to call hold XRPC endpoints.
holdhealth
Package holdhealth provides health checking for hold service endpoints.
Package holdhealth provides health checking for hold service endpoints.
jetstream
Package jetstream provides an ATProto Jetstream consumer for real-time updates.
Package jetstream provides an ATProto Jetstream consumer for real-time updates.
labeler
Package labeler provides a subscription client for consuming labels from an ATProto labeler service.
Package labeler provides a subscription client for consuming labels from an ATProto labeler service.
licenses
Package licenses provides SPDX license validation and parsing for container image annotations.
Package licenses provides SPDX license validation and parsing for container image annotations.
middleware
Package middleware provides HTTP middleware for AppView, including authentication (session-based for web UI, token-based for registry), identity resolution (handle/DID to PDS endpoint), and hold discovery for routing blobs to storage endpoints.
Package middleware provides HTTP middleware for AppView, including authentication (session-based for web UI, token-based for registry), identity resolution (handle/DID to PDS endpoint), and hold discovery for routing blobs to storage endpoints.
ogcard
Package ogcard provides OpenGraph card image generation for ATCR.
Package ogcard provides OpenGraph card image generation for ATCR.
readme
Package readme provides fetching and rendering of README files from Git hosting platforms.
Package readme provides fetching and rendering of README files from Git hosting platforms.
routes
Package routes provides route registration for the AppView web UI and API endpoints.
Package routes provides route registration for the AppView web UI and API endpoints.
storage
Package storage implements the storage routing layer for AppView.
Package storage implements the storage routing layer for AppView.
webhooks
Package webhooks provides webhook dispatch and formatting for push and scan notifications.
Package webhooks provides webhook dispatch and formatting for push and scan notifications.
Package atproto provides constants for XRPC endpoint paths used throughout ATCR.
Package atproto provides constants for XRPC endpoint paths used throughout ATCR.
did
Package did provides shared did:web and did:plc identity management for ATCR services.
Package did provides shared did:web and did:plc identity management for ATCR services.
Package auth provides service token caching and management for AppView.
Package auth provides service token caching and management for AppView.
holdlocal
Package holdlocal provides a HoldAuthorizer implementation that queries the hold's own embedded PDS directly.
Package holdlocal provides a HoldAuthorizer implementation that queries the hold's own embedded PDS directly.
oauth
Package oauth provides OAuth client configuration and helper functions for ATCR.
Package oauth provides OAuth client configuration and helper functions for ATCR.
token
Package token provides JWT claims and token handling for registry authentication.
Package token provides JWT claims and token handling for registry authentication.
Package billing provides optional Stripe billing integration for the appview.
Package billing provides optional Stripe billing integration for the appview.
Package config provides shared configuration types and Viper helpers used by both the AppView and Hold services.
Package config provides shared configuration types and Viper helpers used by both the AppView and Hold services.
Package hold implements the ATCR hold service, which provides BYOS (Bring Your Own Storage) functionality.
Package hold implements the ATCR hold service, which provides BYOS (Bring Your Own Storage) functionality.
admin
Package admin provides an owner-only web UI for managing the hold service.
Package admin provides an owner-only web UI for managing the hold service.
db
Package db contains a vendored from github.com/bluesky-social/indigo/carstore/sqlite_store.go Source: github.com/bluesky-social/indigo@v0.0.0-20260203235305-a86f3ae1f8ec/carstore/ Reason: indigo's carstore hardcodes mattn/go-sqlite3, which conflicts with go-libsql (both bundle SQLite C libraries and cannot coexist in the same binary).
Package db contains a vendored from github.com/bluesky-social/indigo/carstore/sqlite_store.go Source: github.com/bluesky-social/indigo@v0.0.0-20260203235305-a86f3ae1f8ec/carstore/ Reason: indigo's carstore hardcodes mattn/go-sqlite3, which conflicts with go-libsql (both bundle SQLite C libraries and cannot coexist in the same binary).
gc
Package gc implements garbage collection for the hold service.
Package gc implements garbage collection for the hold service.
labeler
Package labeler provides a labeler subscription client for the hold service.
Package labeler provides a labeler subscription client for the hold service.
oci
Package oci provides OCI registry endpoints for the hold service.
Package oci provides OCI registry endpoints for the hold service.
pds
Package pds implements a minimal ATProto PDS for the hold service.
Package pds implements a minimal ATProto PDS for the hold service.
quota
Package quota provides storage quota management for hold services.
Package quota provides storage quota management for hold services.
Package labeler implements the ATCR labeler service, an ATProto-compatible content moderation service for issuing takedown labels on container registry content.
Package labeler implements the ATCR labeler service, an ATProto-compatible content moderation service for issuing takedown labels on container registry content.
Package logging provides centralized structured logging using slog with configurable log levels.
Package logging provides centralized structured logging using slog with configurable log levels.
Package s3 provides S3 client initialization and presigned URL generation for hold services.
Package s3 provides S3 client initialization and presigned URL generation for hold services.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL