an atproto pds written in F# (.NET 9) 馃
pds
fsharp
giraffe
dotnet
atproto
1namespace PDSharp.Core
2
3module Config =
4 type AppConfig = {
5 PublicUrl : string
6 DidHost : string
7 /// HS256 signing key for session tokens
8 JwtSecret : string
9 /// Connection string for SQLite
10 SqliteConnectionString : string
11 /// Disable SQLite WAL auto-checkpoint (for Litestream compatibility)
12 DisableWalAutoCheckpoint : bool
13 /// Blob storage configuration
14 BlobStore : BlobStoreConfig
15 }
16
17 and BlobStoreConfig =
18 | Disk of path : string
19 | S3 of S3Config
20
21 and S3Config = {
22 Bucket : string
23 Region : string
24 AccessKey : string option
25 SecretKey : string option
26 ServiceUrl : string option
27 ForcePathStyle : bool
28 }