From ddb8aa297962379fa7731032140221ba35f84b50 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Fri, 7 Aug 2026 18:09:39 -0500 Subject: feat: add hide-ai option to omit AI-generated deviations Adds a hide-ai config flag that drops deviations flagged data.AI from every listing (search, daily, galleries, favourites) in the shared DeviationList loop, analogous to how nsfw gates mature content. The flag is already parsed and shown as a marker, so this is a filter over existing data. Off by default. Closes #15 --- app/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'app/config.go') diff --git a/app/config.go b/app/config.go index 2faa69d..b790f71 100755 --- a/app/config.go +++ b/app/config.go @@ -34,6 +34,7 @@ type config struct { Cache cacheConfig `json:"cache"` Proxy bool `json:"proxy"` Nsfw bool `json:"nsfw"` + HideAI bool `json:"hide-ai"` UserAgent string `json:"user-agent"` DownloadProxy string `json:"download-proxy"` StaticPath string `json:"static-path"` -- cgit v1.2.3