An open API service indexing awesome lists of open source software.

https://github.com/mihaibc/privacypilot

๐Ÿ›ก๏ธ PrivacyPilot โ€“ A privacy-centric backend API leveraging AI (LLaMA, Mistral, Ollama) to anonymize and moderate sensitive data in real-time. Built with Go, Node.js, and Perl. GDPR-compliant and infrastructure-ready.
https://github.com/mihaibc/privacypilot

ai anonymization azure-ai backend devops gdpr go microservices nodejs ollama perl5 privacy stable-diffusion

Last synced: 6 months ago
JSON representation

๐Ÿ›ก๏ธ PrivacyPilot โ€“ A privacy-centric backend API leveraging AI (LLaMA, Mistral, Ollama) to anonymize and moderate sensitive data in real-time. Built with Go, Node.js, and Perl. GDPR-compliant and infrastructure-ready.

Awesome Lists containing this project

README

          

# ๐Ÿ›ก๏ธ PrivacyPilot

**PrivacyPilot** is an open-source, privacy-focused backend platform designed to automatically detect, moderate, and anonymize sensitive personal information using advanced AI models. It ensures data privacy, security, and compliance with GDPR, making it ideal for developers who prioritize user privacy.

---

## ๐ŸŒŸ Key Features

- โœ… **Real-time Data Anonymization**: Protect user identities by anonymizing sensitive textual and visual data instantly.
- โœ… **Automated Content Moderation**: Intelligent AI-driven moderation of harmful or inappropriate content.
- โœ… **AI Integration**: Supports local (Ollama with Mistral, LLaMA) and cloud-based (Azure AI, Stable Diffusion) models.
- โœ… **Scalable Microservice Architecture**: Efficient, reliable microservices built with Go, Node.js, Perl, and Python.
- โœ… **Infrastructure & DevOps**: Containerized (Docker), orchestrated (Kubernetes), CI/CD via GitHub Actions, infrastructure managed through Terraform.
- โœ… **Privacy and Security Compliance**: GDPR-compliant, OAuth-secured APIs, secure data handling practices.
- โœ… **Observability & Metrics**: Real-time monitoring with Prometheus and Grafana dashboards.

---

## ๐Ÿ› ๏ธ Tech Stack

| Category | Technologies Used |
|-------------------------|-------------------------------------------------------------|
| **Backend** | Go, Node.js, Perl, Python |
| **AI Services** | Ollama, Azure AI/OpenAI, Stable Diffusion |
| **Infrastructure** | Docker, Kubernetes, Terraform, GitHub Actions |
| **Observability** | Prometheus, Grafana |
| **Protocols & Security**| REST APIs, OAuth, GDPR-compliant data handling |

---

## ๐Ÿš€ Getting Started

Follow these instructions to quickly set up PrivacyPilot locally for development or testing purposes.

### ๐Ÿ“‹ Prerequisites
- [Docker](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/install/)

### โš™๏ธ Installation & Running Locally
Clone the repository:
```bash
git clone https://github.com//PrivacyPilot.git
cd PrivacyPilot/devops
docker-compose up --build
```

### ๐Ÿงช Testing the Installation
Test the health endpoint:
```bash
curl -X GET http://localhost:3000/health
```

Test anonymization API:
```bash
curl -X POST http://localhost:3000/anonymize \
-H "Content-Type: application/json" \
-d '{"text": "Sensitive data here"}'
```

---

## ๐Ÿ“š Project Documentation

Explore the following documents for comprehensive guidance:

- [๐Ÿ“– Contribution Guidelines](CONTRIBUTING.md)
- [๐Ÿง‘โ€๐Ÿ’ป Issue and PR Creation Guidelines](ISSUE_PR_GUIDELINES.md)
- [๐Ÿ“œ Code of Conduct](CODE_OF_CONDUCT.md)
- [๐Ÿ“ Coding Style & Conventions](CODING_STYLE_AND_CONVENTIONS.md)
- [๐Ÿ“„ License](LICENSE)

---

## ๐Ÿค Contributing

Contributions to PrivacyPilot are greatly appreciated! Please follow these simple steps to contribute effectively:

1. **Fork** the repository.
2. **Create an issue** describing your intended contribution clearly.
3. **Link** your pull request to the created issue.
4. **Follow** the guidelines outlined in:
- [Contribution Guidelines](CONTRIBUTING.md)
- [Issue & PR Guidelines](ISSUE_PR_GUIDELINES.md)

---

## ๐Ÿšง Project Structure Overview

```text
PrivacyPilot/
โ”œโ”€โ”€ backend-api/ # Backend microservices (gateway, anonymizer, moderator)
โ”œโ”€โ”€ ai-engine/ # AI service integrations (Ollama, Azure AI, Stable Diffusion)
โ”œโ”€โ”€ perl-utils/ # Perl scripts for log analysis & batch processing
โ”œโ”€โ”€ devops/ # DevOps scripts & configurations (Docker, Terraform, Kubernetes)
โ”œโ”€โ”€ observability/ # Observability tools configuration (Prometheus, Grafana)
โ”œโ”€โ”€ docs/ # Documentation
โ”œโ”€โ”€ CONTRIBUTING.md
โ”œโ”€โ”€ ISSUE_PR_GUIDELINES.md
โ”œโ”€โ”€ CODE_OF_CONDUCT.md
โ”œโ”€โ”€ CODING_STYLE_AND_CONVENTIONS.md
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ LICENSE
```

---

## ๐Ÿ“ซ Contact & Support

For questions, suggestions, or to report issues, open an issue on this repository or contact me directly:

- ๐Ÿ› **Report Issues:** [Open an issue](https://github.com//PrivacyPilot/issues)

---

## โš–๏ธ License

PrivacyPilot is released under the [MIT License](LICENSE).

---

### ๐Ÿ™Œ Acknowledgments

- Inspired by privacy-focused organizations like [DuckDuckGo](https://duckduckgo.com).
- Thanks to the open-source community for amazing tools and frameworks used.

---

Built with โค๏ธ for privacy.