phase0: add app skeleton, config cache, and precommit alias

This commit is contained in:
2026-03-13 18:56:23 +01:00
parent cc78558612
commit 5e478cd305
18 changed files with 281 additions and 5 deletions

25
config/config.exs Normal file
View File

@@ -0,0 +1,25 @@
import Config
config :parrhesia,
limits: [
max_frame_bytes: 1_048_576,
max_event_bytes: 262_144,
max_filters_per_req: 16,
max_subscriptions_per_connection: 32
],
policies: [
auth_required_for_writes: false,
auth_required_for_reads: false,
min_pow_difficulty: 0,
accept_ephemeral_events: true
],
features: [
nip_45_count: true,
nip_50_search: false,
nip_77_negentropy: false,
nip_ee_mls: false
]
config :parrhesia, Parrhesia.Web.Endpoint, port: 4000
import_config "#{config_env()}.exs"