feat: add content filtering functionality

- Introduce kikifilter package with IsWordsInText() function for word filtering
- Add FiltredWorlds configuration option to KikiSettings
- Integrate filtering into service to prevent posting filtered content
- Update Dockerfile and Makefile to include filter package
- Add example configuration with filtered words
This commit is contained in:
B4D_US3R 2026-03-07 13:47:20 +00:00
parent 95c95031d8
commit 3b0b688843
7 changed files with 32 additions and 14 deletions

View file

@ -19,6 +19,7 @@ type KikiSettings struct {
Redis struct {
Address string `yaml:"address"`
} `yaml:"redis"`
FiltredWorlds []string `yaml:"filtred_worlds,flow"`
}
// Структура secret.conf