π Getting Started β
Welcome to bezpieczenstwoPwr β an open-source project aimed at detecting anomalous or bot-like behavior on websites in real time.
This monorepo is structured into reusable packages and example applications. Itβs designed to be modular and developer-friendly.
π§± Project structure β
Here's a high-level overview of the repository:
bash
bezpieczenstwoPwr/
βββ docs/ # VitePress-powered documentation
β βββ .vitepress/ # VitePress config files
β β βββ config.ts
β βββ index.md # Home page
β βββ guide/ # Guide section
β β βββ index.md
β β βββ installation.md
β βββ assets/ # Static assets like images
β βββ logo.svg
βββ examples/ # Example applications (React, etc.)
β βββ react-example/
βββ packages/ # Core packages like bbotd (published to npm)
β βββ bbotd/
β βββ model/
βββ .github/ # GitHub-specific configuration
β βββ workflows/
β βββ deploy.yml
βββ README.md
π§ͺ Running locally β
Serve Static Files (for ML model access) Some features (like model loading) require serving the
packages/model/public/
directory locally:bashnpx serve public
This will make assets like models accessible at
localhost:3000/models/model.json
Run a demo project
We recommend starting with the React TypeScript example:
bashcd examples/react-ts npm install npm run dev
You can now view the app in your browser at localhost:5173
Try the package directly (Optional)
To test bbotd standalone:
bashcd packages/bbotd npm install npm run test
π Where to go next? β
- Want to understand the ML side? -> Visit Machine Learning
- Need package details? -> Explore Packages