From dee0d15acfef7d30b888cecd7ca0f14d79e1f212 Mon Sep 17 00:00:00 2001 From: hoelee Date: Wed, 21 Oct 2026 14:16:00 +0800 Subject: [PATCH] docs(platform): module index --- platform/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 platform/README.md diff --git a/platform/README.md b/platform/README.md new file mode 100644 index 00000000..a5dc07ac --- /dev/null +++ b/platform/README.md @@ -0,0 +1,19 @@ +# platform + +Small, self-contained pieces that were first written inside product repos and +are reused across the self-hosted stacks. Each directory is standalone: copy the +folder, not the repository. + +| module | language | what it does | extracted from | +|---|---|---|---| +| `java-cache/` | Java 21 / Spring Boot | size + TTL bounded Caffeine cache, role-gated mutations | `hoelee/springboot-hoelee-demo` | +| `py-monitor/` | Python 3 / stdlib | URL normalisation, price parsing, retrying HTTP for scrapers | `hoelee/carousell-monitor` | +| `shell-sync/` | POSIX shell / Docker | multi-account IMAP sync with OAuth2 token refresh | `hoelee/email-sync-oauth2` | + +The Traefik middleware in the repository root (`botfilter.go` and friends) is the +fourth piece and the reason this repository exists; see the top-level README. + +These three modules were copied in from the repositories above when this repository +was opened in August 2026. Their commit dates are preserved from the original work +rather than reset, so the Java module carries 2020-2025 dates inside a newer +repository.