No description
  • Python 71.1%
  • Jinja 12.1%
  • JavaScript 7.7%
  • CSS 4.4%
  • Shell 4.1%
  • Other 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
stasaberg 67b9134e4f
All checks were successful
Build CI Images / repository-security (push) Successful in 28s
Build CI Images / test (push) Successful in 45s
Build CI Images / build-and-scan (docker/nginx.Dockerfile, plisrael-frontend) (push) Successful in 42s
Build CI Images / build-and-scan (docker/site-renderer.Dockerfile, plisrael-site-renderer) (push) Successful in 1m8s
Build CI Images / build-and-scan (docker/openpl-sync.Dockerfile, plisrael-openpl-sync) (push) Successful in 1m10s
Directus integration / directus-integration (push) Successful in 2m1s
Build CI Images / promote (plisrael-frontend) (push) Successful in 13s
Build CI Images / promote (plisrael-openpl-sync) (push) Successful in 17s
Build CI Images / promote (plisrael-site-renderer) (push) Successful in 18s
Build CI Images / complete (push) Successful in 4s
Merge pull request 'Allow automerge for non-image workflow dependencies' (#27) from fix/renovate-workflow-scope into main
2026-11-29 19:31:37 +01:00
.forgejo Add Forgejo Actions job summaries 2026-11-27 15:45:44 +02:00
db feat: fix elchanan duplicates 2026-11-27 14:29:50 +02:00
deploy add legacy redrect 2026-11-27 14:36:56 +02:00
directus Simplify project tooling 2026-08-14 15:22:23 +03:00
docker chore(deps): update nginx:1.31.10-alpine docker digest to 7fc0fb4 2026-11-26 02:02:16 +00:00
scripts fix(ci): refresh Directus port after restart 2026-11-27 11:15:01 +02:00
services fix: restore CMS federations directory 2026-11-27 14:49:16 +02:00
static fix(records): improve lifter directory link contrast 2026-11-11 22:05:36 +02:00
templates fix(records): improve lifter directory link contrast 2026-11-11 22:05:36 +02:00
tests fix: restore CMS federations directory 2026-11-27 14:49:16 +02:00
.gitignore Ignore Python caches and security reports 2026-11-27 16:17:21 +02:00
.trivyignore security(ci): add Trivy/Semgrep scans with Discord failure notifications 2026-06-16 21:07:28 +03:00
docker-compose.website.yml fix: pin Directus to production image digest 2026-11-27 11:24:02 +02:00
env.website.example openpl-sync: remove legacy source mode, dead env vars, duplicate compute_dots 2026-06-17 15:36:56 +03:00
README.md Simplify project tooling 2026-08-14 15:22:23 +03:00
renovate.json Allow automerge for non-image workflow dependencies 2026-11-29 20:28:58 +02:00
requirements.txt chore(deps): update dependency psycopg to v3.3.9 2026-11-13 02:01:28 +00:00

Powerlifting Israel

Powerlifting Israel is a community project for following Israeli powerlifting across federations and equipment classes.

What it provides

  • Searchable records, rankings, and lifter profiles.
  • Results sourced from OpenPowerlifting.
  • Editorial pages, posts, updates, sponsors, and site settings managed in Directus.
  • Hebrew, English, and Russian public pages with language alternates for search engines.

How it works

Cloudflare ──► Caddy (TLS) ──► nginx ──► static HTML / JSON / Markdown
                                  ▲
OpenPowerlifting ──► openpl-sync ──► PostgreSQL ──► site-renderer
                                                          ▲
Directus CMS ────────────────────────────────────────────┘
  • openpl-sync checks OpenPowerlifting updates and imports relevant Israeli data.
  • site-renderer checks PostgreSQL and Directus every five minutes, rebuilding the static site only when public inputs changed.
  • Cloudflare caches the public site; Caddy terminates TLS and Nginx serves generated output.
  • Deployments wait for a successful renderer build before purging the Cloudflare host cache.

Project layout

Path Purpose
services/openpl_sync/ OpenPowerlifting import and record recomputation
services/site_renderer/ Static-site rendering and CMS/data loading
templates/ and static/ Public site templates and assets
directus/ CMS schema and permission contract
db/ Database schema
.forgejo/workflows/ Build, CI, deployment, security, and dependency-update workflows
tests/ Renderer, import, schema, and deployment regression coverage

Quality and discoverability

The project uses Forgejo CI to test changes, build images, validate the CMS contract, and render a static-output check. The public site includes canonical URLs, structured data, sitemaps, and language alternates.

For CMS schema details, see directus/README.md.