No description
  • Go 94.5%
  • Makefile 5.5%
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Xavier Vello ec9efcdf44
All checks were successful
ci/woodpecker/push/debian Pipeline was successful
add clamav scanner
2026-09-01 11:57:02 +02:00
.woodpecker initial debian trixie packaging 2026-08-31 11:44:55 +02:00
src add clamav scanner 2026-09-01 11:57:02 +02:00
.gitignore simplify config file structure 2026-08-31 13:13:35 +02:00
config.example.toml add clamav scanner 2026-09-01 11:57:02 +02:00
go.mod add clamav scanner 2026-09-01 11:57:02 +02:00
go.sum add clamav scanner 2026-09-01 11:57:02 +02:00
LICENSE initial commit 2026-08-25 21:11:31 +02:00
main.go add clamav scanner 2026-09-01 11:57:02 +02:00
Makefile packaging: add hours and minutes to nightly version 2026-08-31 13:17:25 +02:00
nfpm.yaml initial debian trixie packaging 2026-08-31 11:44:55 +02:00
README.md add example config and deploy instructions 2026-08-25 22:56:34 +02:00

git-pages content scanner

This is a content scanner build to run as the audit hook of a git-pages service. It runs a configurable set of scanners to help you proactively detect and remove abusive content.

It is maintained by Codeberg members with their main focus being Codeberg's needs and policies, but the eventual goal is to have it easily reusable by other organizations. Feel free to reach out with feedback and ideas.

Build it

Ensure the following requirements are installed:

  • Go 1.26 or higher
  • The vectorscan or hyperscan library (also needed on the target host)

then run make build

Deploy it

Customize the config.example.toml file to match your needs, then run the git-pages audit server:

git-pages -audit-server tcp/localhost:3004 ./pages-scanner --config /absolute/path/to/config.toml run-audit