Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
appview
command
|
|
|
credential-helper
command
|
|
|
db-migrate
command
db-migrate copies all tables and data from a local SQLite database to a remote libsql database (e.g.
|
db-migrate copies all tables and data from a local SQLite database to a remote libsql database (e.g. |
|
healthcheck
command
Minimal HTTP health check binary for scratch Docker images.
|
Minimal HTTP health check binary for scratch Docker images. |
|
hold
command
|
|
|
image-advisor
command
image-advisor fetches OCI image config, SBOM, and vulnerability data from the ATCR system and outputs a structured markdown report suitable for LLM analysis of container image improvements.
|
image-advisor fetches OCI image config, SBOM, and vulnerability data from the ATCR system and outputs a structured markdown report suitable for LLM analysis of container image improvements. |
|
labeler
command
|
|
|
oauth-helper
command
|
|
|
record-query
command
record-query queries the ATProto relay to find all users with records in a given collection, fetches the records from each user's PDS, and optionally filters them.
|
record-query queries the ATProto relay to find all users with records in a given collection, fetches the records from each user's PDS, and optionally filters them. |
|
relay-compare
command
relay-compare compares ATProto relays by querying listReposByCollection for all io.atcr.* record types and showing what's missing from each relay.
|
relay-compare compares ATProto relays by querying listReposByCollection for all io.atcr.* record types and showing what's missing from each relay. |
|
s3-test
command
Command s3-test is a diagnostic tool that tests S3 connectivity using both AWS SDK v1 (used by distribution's storage driver) and AWS SDK v2 (used by ATCR's presigned URL service).
|
Command s3-test is a diagnostic tool that tests S3 connectivity using both AWS SDK v1 (used by distribution's storage driver) and AWS SDK v2 (used by ATCR's presigned URL service). |
|
usage-report
command
usage-report queries a hold service and generates a storage usage report grouped by user, with unique layers and totals.
|
usage-report queries a hold service and generates a storage usage report grouped by user, with unique layers and totals. |
|
pkg
|
|
|
appview
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. |
|
appview/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. |
|
appview/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. |
|
appview/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. |
|
appview/holdhealth
Package holdhealth provides health checking for hold service endpoints.
|
Package holdhealth provides health checking for hold service endpoints. |
|
appview/jetstream
Package jetstream provides an ATProto Jetstream consumer for real-time updates.
|
Package jetstream provides an ATProto Jetstream consumer for real-time updates. |
|
appview/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. |
|
appview/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. |
|
appview/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. |
|
appview/ogcard
Package ogcard provides OpenGraph card image generation for ATCR.
|
Package ogcard provides OpenGraph card image generation for ATCR. |
|
appview/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. |
|
appview/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. |
|
appview/storage
Package storage implements the storage routing layer for AppView.
|
Package storage implements the storage routing layer for AppView. |
|
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. |
|
atproto
Package atproto provides constants for XRPC endpoint paths used throughout ATCR.
|
Package atproto provides constants for XRPC endpoint paths used throughout ATCR. |
|
atproto/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. |
|
auth
Package auth provides service token caching and management for AppView.
|
Package auth provides service token caching and management for AppView. |
|
auth/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. |
|
auth/oauth
Package oauth provides OAuth client configuration and helper functions for ATCR.
|
Package oauth provides OAuth client configuration and helper functions for ATCR. |
|
auth/token
Package token provides JWT claims and token handling for registry authentication.
|
Package token provides JWT claims and token handling for registry authentication. |
|
billing
Package billing provides optional Stripe billing integration for the appview.
|
Package billing provides optional Stripe billing integration for the appview. |
|
config
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. |
|
hold
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. |
|
hold/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. |
|
hold/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). |
|
hold/gc
Package gc implements garbage collection for the hold service.
|
Package gc implements garbage collection for the hold service. |
|
hold/labeler
Package labeler provides a labeler subscription client for the hold service.
|
Package labeler provides a labeler subscription client for the hold service. |
|
hold/oci
Package oci provides OCI registry endpoints for the hold service.
|
Package oci provides OCI registry endpoints for the hold service. |
|
hold/pds
Package pds implements a minimal ATProto PDS for the hold service.
|
Package pds implements a minimal ATProto PDS for the hold service. |
|
hold/quota
Package quota provides storage quota management for hold services.
|
Package quota provides storage quota management for hold services. |
|
labeler
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. |
|
logging
Package logging provides centralized structured logging using slog with configurable log levels.
|
Package logging provides centralized structured logging using slog with configurable log levels. |
|
s3
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. |
|
themes
|
|
|
seamark
Package seamark provides the Seamark visual theme for the ATCR AppView.
|
Package seamark provides the Seamark visual theme for the ATCR AppView. |
Click to show internal directories.
Click to hide internal directories.