From 0a686fd3e50e07876d9838cb4c23706440273af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Wed, 28 Oct 2026 00:35:50 +0300 Subject: [PATCH] docs: add card-access-path architecture diagrams to the READMEs Self-contained SVGs (EN + RU) showing Browser -> HTTP :8080 -> pysim-simple-server -> PC/SC -> card reader -> UICC/SIM, referenced from the top of each README. They ride the package's whole-docs tree, so the links resolve in the release zip too. --- README.md | 2 ++ README_RUS.md | 2 ++ docs/architecture_en.svg | 30 ++++++++++++++++++++++++++++++ docs/architecture_ru.svg | 30 ++++++++++++++++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 docs/architecture_en.svg create mode 100644 docs/architecture_ru.svg diff --git a/README.md b/README.md index 966a4b2..8bdd8ae 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ SIMple is a workbench for UICC/SIM card specialists: an offline HTML/JS frontend **Demo:** [simple.atroshin.ru](https://simple.atroshin.ru) — the frontend alone, for experimenting. Install the server (below) for card-reader functions. +![Card access path: Browser (SIMple PWA) → HTTP :8080 → pysim-simple-server (wraps pySim) → PC/SC → card reader → UICC/SIM card](docs/architecture_en.svg) + ## Prerequisites - **Python 3.9+** with `pip`, and **Git** — the app runs on 3.9+, but the **SCP81 TLS-PSK listener needs Python 3.13+** (`ssl`'s PSK callbacks). diff --git a/README_RUS.md b/README_RUS.md index 3222969..0a7d65c 100644 --- a/README_RUS.md +++ b/README_RUS.md @@ -15,6 +15,8 @@ SIMple — инструментарий для специалистов по UIC **Демо:** [simple.atroshin.ru](https://simple.atroshin.ru) — только фронтенд, для экспериментов. Для функций картридера установите сервер (ниже). +![Путь доступа к карте: Браузер (PWA SIMple) → HTTP :8080 → pysim-simple-server (оборачивает pySim) → PC/SC → картридер → карта UICC/SIM](docs/architecture_ru.svg) + ## Требования - **Python 3.9+** с `pip`, и **Git** — приложение работает на 3.9+, но **SCP81 TLS-PSK-слушателю нужен Python 3.13+** (PSK-callback'и `ssl`). diff --git a/docs/architecture_en.svg b/docs/architecture_en.svg new file mode 100644 index 0000000..6546a7a --- /dev/null +++ b/docs/architecture_en.svg @@ -0,0 +1,30 @@ + + + SIMple: card access path + Browser (SIMple PWA) talks to pysim-simple-server over HTTP on :8080; the server wraps pySim and talks to the card reader over PC/SC, which talks to the UICC/SIM card. + + + + + + + card access path + + + Browser (SIMple PWA) + + HTTP :8080 + + + pysim-simple-server + serves the PWA + JSON API · wraps pySim + + PC/SC + + + Card reader + + + + UICC/SIM card + diff --git a/docs/architecture_ru.svg b/docs/architecture_ru.svg new file mode 100644 index 0000000..f22de11 --- /dev/null +++ b/docs/architecture_ru.svg @@ -0,0 +1,30 @@ + + + SIMple: путь доступа к карте + Браузер (PWA SIMple) обращается к pysim-simple-server по HTTP на :8080; сервер оборачивает pySim и по PC/SC общается с картридером, а тот — с картой UICC/SIM. + + + + + + + путь доступа к карте + + + Браузер (PWA SIMple) + + HTTP :8080 + + + pysim-simple-server + раздаёт PWA + JSON API · оборачивает pySim + + PC/SC + + + Картридер + + + + Карта UICC/SIM +