Skip to content

devops2626/stream-scan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stream Scan

License Stars Issues

CI CD CodeQL

Real-time stream scanning and monitoring tool.

A high-performance tool for scanning, analyzing, and securing data, media, or network streams in real time.


✨ Features

  • Real-time Processing — Scan streams with minimal latency
  • Multi-format Support — Handles video, audio, log, network, and custom data streams
  • Threat Detection — Malware scanning, anomaly detection, content filtering
  • Scalable Architecture — Designed for high-throughput environments
  • Extensible — Easy to add custom scanners and plugins
  • Monitoring & Alerts — Built-in metrics, logging, and notification system
  • CLI + API — Both command-line and REST/gRPC interfaces

🛠 Tech Stack

  • Language: Python / Go (choose one)
  • Streaming: FFmpeg, Kafka, RabbitMQ, or WebRTC
  • Scanning Engine: [Your scanning library here]
  • Monitoring: Prometheus + Grafana
  • Containerization: Docker + Docker Compose

📦 Installation

Prerequisites

  • Docker (recommended)
  • Python 3.11+ or Go 1.22+

Using Docker (Recommended)

git clone https://github.com/devops2626/stream-scan.git
cd stream-scan
docker compose up -d

From Source

git clone https://github.com/devops2626/stream-scan.git
cd stream-scan

# Python
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

# Go
go mod tidy

🚀 Quick Start

# Scan a video stream
stream-scan --input rtsp://example.com/stream --mode video

# Scan log stream with custom rules
stream-scan --input kafka://topic --mode log --rules rules.yaml

# Run with API server
stream-scan api --port 8080

Configuration

Copy .env.example to .env and adjust values:

INPUT_SOURCE=rtsp://...
SCAN_MODE=video
THRESHOLD=0.85
ALERT_WEBHOOK=https://...

See config/README.md for detailed configuration options.

📁 Project Structure

stream-scan/
├── src/                 # Main source code
├── config/              # Configuration files
├── docker/              # Dockerfiles & compose
├── tests/               # Test suite
├── docs/                # Documentation
├── scripts/             # Utility scripts
└── .github/             # Workflows & templates

🤝 Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with ❤️ for the DevOps & Security community

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors