commit eaa0a142bf98b356cf7b1f42c99493d30985c134 Author: ultimateplayer1999 Date: Wed Jun 25 16:32:43 2025 +0200 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..b47339d --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +This adds all Crowdsec blocked IPs to the local Bitninja blocklist. Requirements, Crowdsec and Bitninja on the same machine + +This needs some dependencies, these are mongoDB and dotenv. This can be installed with: +MongoDB: +`go get go.mongodb.org/mongo-driver/mongo` +Dotenv: +`go get github.com/joho/godotenv` + +To get it working, copy example.env to .env and change the values when needed. Otherwise it uses the default.