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:
parent
95c95031d8
commit
3b0b688843
7 changed files with 32 additions and 14 deletions
|
|
@ -4,12 +4,13 @@ RUN apk add --no-cache make
|
|||
|
||||
WORKDIR /app/kiki
|
||||
|
||||
RUN mkdir /app/kiki/config /app/kiki/service /app/kiki/stacker /app/kiki/tooter /app/kiki/file_watcher
|
||||
RUN mkdir /app/kiki/config /app/kiki/service /app/kiki/stacker /app/kiki/tooter /app/kiki/file_watcher /app/kiki/filter
|
||||
|
||||
COPY config/* /app/kiki/config
|
||||
COPY service/* /app/kiki/service
|
||||
COPY stacker/* /app/kiki/stacker
|
||||
COPY tooter/* /app/kiki/tooter
|
||||
COPY filter/* /app/kiki/filter
|
||||
COPY file_watcher/* /app/kiki/file_watcher
|
||||
|
||||
COPY Makefile /app/kiki/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue