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 /// Blob storage configuration
12 BlobStore : BlobStoreConfig
13 }
14
15 and BlobStoreConfig =
16 | Disk of path : string
17 | S3 of S3Config
18
19 and S3Config = {
20 Bucket : string
21 Region : string
22 AccessKey : string option
23 SecretKey : string option
24 ServiceUrl : string option
25 ForcePathStyle : bool
26 }