From 073f05f4e750c0b7d94ca47b5ee57c12a2fa3933 Mon Sep 17 00:00:00 2001 From: spark Date: Tue, 30 Jun 2026 22:45:20 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20initial=20repo=20setup=20=E2=80=94=20Bi?= =?UTF-8?q?zDocs=20Forwarder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit README with architecture overview, stack, and getting-started guide. .gitignore for Python/Docker projects. Co-Authored-By: Paperclip --- .gitignore | 13 +++++++++++++ README.md | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .gitignore create mode 100644 README.md 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