commit 073f05f4e750c0b7d94ca47b5ee57c12a2fa3933 Author: spark Date: Tue Jun 30 22:45:20 2026 +0000 feat: initial repo setup — BizDocs Forwarder README with architecture overview, stack, and getting-started guide. .gitignore for Python/Docker projects. Co-Authored-By: Paperclip diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5a5d48f --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +__pycache__/ +*.py[cod] +*.env +.env +*.log +*.sqlite3 +.venv/ +venv/ +dist/ +build/ +*.egg-info/ +node_modules/ +.DS_Store diff --git a/README.md b/README.md new file mode 100644 index 0000000..59da809 --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# BizDocs Forwarder + +IMAP-to-BizDocs multi-account forwarder platform. + +## Overview + +Automates document forwarding from IMAP email accounts to the BizDocs platform. Supports multiple accounts, with a background worker, REST API, and admin UI. + +## Architecture + +| Component | Description | +|-----------|-------------| +| **Worker** | Background process: polls IMAP, extracts attachments, forwards to BizDocs API | +| **API** | REST endpoints for account management, forwarding rules, and job status | +| **Admin UI** | Web interface for configuration and monitoring | +| **DB** | MySQL — account config, forwarding rules, job history | + +## Stack + +- Python (worker + API) +- MySQL +- Docker / Proxmox LXC (deploy target) + +## Getting Started + +```bash +cp .env.example .env +# Edit .env with your IMAP credentials and BizDocs API key +docker compose up -d +``` + +## Related + +- Project board: http://10.10.50.17:3100/BIT/projects/bizdocs-forwarder +- Repo: https://git.bitreport.pt/BitReport.pt/forwarder