Directories
¶
| Path | Synopsis |
|---|---|
|
pkg
|
|
|
acl
The acl package is responsible for managing the access control list for the relay and blossom servers.
|
The acl package is responsible for managing the access control list for the relay and blossom servers. |
|
acl/repo
Package repo provides platform-agnostic repository verification for the ACL.
|
Package repo provides platform-agnostic repository verification for the ACL. |
|
acl/vertex
The vertex package exposes a configurable Filter struct that allows or rejects a pubkey based on its reputation.
|
The vertex package exposes a configurable Filter struct that allows or rejects a pubkey based on its reputation. |
|
analytics
Package analytics provides an analytics Engine for collecting privacy-preserving statistics useful for Zapstore developers to keep track of app usage.
|
Package analytics provides an analytics Engine for collecting privacy-preserving statistics useful for Zapstore developers to keep track of app usage. |
|
analytics/store
Package store provides a SQLite-backed storage layer for analytics data.
|
Package store provides a SQLite-backed storage layer for analytics data. |
|
blossom
The blossom package is responsible for setting up the blossom server.
|
The blossom package is responsible for setting up the blossom server. |
|
blossom/bunny
The bunny package is responsible for interacting with the Bunny Storage Zone and CDN.
|
The bunny package is responsible for interacting with the Bunny Storage Zone and CDN. |
|
blossom/store
The store package is responsible for storing blobs metadata in sqlite.
|
The store package is responsible for storing blobs metadata in sqlite. |
|
config
The package config is responsible for loading package specific configs from the environment variables, and validating them.
|
The package config is responsible for loading package specific configs from the environment variables, and validating them. |
|
events
Package events provides functions for validating events structures.
|
Package events provides functions for validating events structures. |
|
indexing
Package indexing provides a non-blocking engine for recording demand signals from the relay into the shared indexing.db database.
|
Package indexing provides a non-blocking engine for recording demand signals from the relay into the shared indexing.db database. |
|
indexing/store
Package store provides SQLite access to the shared indexing.db database.
|
Package store provides SQLite access to the shared indexing.db database. |
|
rate
The rate is a wrapper around the github.com/pippellia-btc/rate package, exposing a Config struct for configuring the limiter, and a NewLimiter function to create a new ip-rate limiter.
|
The rate is a wrapper around the github.com/pippellia-btc/rate package, exposing a Config struct for configuring the limiter, and a NewLimiter function to create a new ip-rate limiter. |
|
relay
The relay package is responsible for setting up the relay.
|
The relay package is responsible for setting up the relay. |
|
relay/linkverify
Package linkverify implements NIP-C1 certificate link verification as a relay save hook.
|
Package linkverify implements NIP-C1 certificate link verification as a relay save hook. |
|
relay/store
The store package is responsible for storing nostr events in a sqlite database.
|
The store package is responsible for storing nostr events in a sqlite database. |
|
repourl
Package repourl identifies and normalises repository URLs from free-text search terms.
|
Package repourl identifies and normalises repository URLs from free-text search terms. |
Click to show internal directories.
Click to hide internal directories.