{"id":20607280,"url":"https://github.com/mathiazom/rezervo","last_synced_at":"2026-02-14T05:09:41.031Z","repository":{"id":38073033,"uuid":"398308120","full_name":"mathiazom/rezervo","owner":"mathiazom","description":"🏋🏿‍♂️ Automatic booking of group classes","archived":false,"fork":false,"pushed_at":"2025-09-29T14:33:00.000Z","size":2163,"stargazers_count":4,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-10T19:33:56.299Z","etag":null,"topics":["3t","automation","fastapi","fsc","sit","slack-bot","workout"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathiazom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-08-20T14:45:31.000Z","updated_at":"2025-09-29T14:33:03.000Z","dependencies_parsed_at":"2023-08-31T11:21:57.772Z","dependency_job_id":"20cc9e07-947b-4a64-bdee-ad326bf834cd","html_url":"https://github.com/mathiazom/rezervo","commit_stats":null,"previous_names":["mathiazom/sit-rezervo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mathiazom/rezervo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiazom%2Frezervo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiazom%2Frezervo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiazom%2Frezervo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiazom%2Frezervo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathiazom","download_url":"https://codeload.github.com/mathiazom/rezervo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathiazom%2Frezervo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29437371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T03:34:37.767Z","status":"ssl_error","status_checked_at":"2026-02-14T03:34:09.092Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3t","automation","fastapi","fsc","sit","slack-bot","workout"],"created_at":"2024-11-16T10:06:14.718Z","updated_at":"2026-02-14T05:09:41.013Z","avatar_url":"https://github.com/mathiazom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🏋🏿‍♂️ rezervo\n\n[![rezervo](https://img.shields.io/badge/ghcr.io-mathiazom%2Frezervo-blue?logo=docker)](https://github.com/users/mathiazom/packages/container/package/rezervo)\n\nAutomatic booking of group classes\n\n### 🧩 Chains\n\u003cdiv class=\"image-link-container\"\u003e\n   \u003ca href=\"https://sporty.no\"\u003e\n      \u003cimg src=\"assets/badges/chains/sporty.svg\" alt=\"sporty\" height=\"45\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://www.3t.no\"\u003e\n      \u003cimg src=\"assets/badges/chains/3t.svg\" alt=\"3t\" height=\"45\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://www.sats.no\"\u003e\n      \u003cimg src=\"assets/badges/chains/sats.svg\" alt=\"sats\" height=\"45\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://www.sit.no\"\u003e\n      \u003cimg src=\"assets/badges/chains/sit.svg\" alt=\"sit\" height=\"45\"\u003e\n   \u003c/a\u003e\n\u003c/div\u003e\n\n#### ⚙️ Providers\n\u003cdiv class=\"image-link-container\"\u003e\n   \u003ca href=\"https://www.brpsystems.com\"\u003e\n      \u003cimg src=\"assets/badges/providers/brpsystems.svg\" alt=\"brpsystems\" height=\"35\"\u003e\n   \u003c/a\u003e\n   \u003ca href=\"https://www.ibooking.no\"\u003e\n      \u003cimg src=\"assets/badges/providers/ibooking.svg\" alt=\"ibooking\" height=\"35\"\u003e\n   \u003c/a\u003e\n\u003c/div\u003e\n\n\n### 🧑‍💻 Development\n\n#### 🐍 Setup Python environment\n1. Ensure Python 3.10+ is installed\n2. Install dependencies using Poetry (install from https://python-poetry.org/docs/#installation)\n    ```shell\n    poetry install\n    ```\n3. In the [`rezervo`](rezervo) directory, define `db.env`, `fusionauth.env` and `config.json` based on [`db.env.template`](rezervo/db.env.template), [`fusionauth.env.template`](rezervo/fusionauth.env.template) and [`config.template.json`](rezervo/config.template.json). This includes defining FusionAuth configuration, credentials for Slack notifications and app-wide booking preferences.\n   \n   \u003cdetails\u003e\n      \u003csummary\u003e📳 Web Push variables\u003c/summary\u003e\n   \n      ##### Web Push variables\n      Web push requires a VAPID key pair. This can be generated with the following command using `openssl`:\n      ```shell\n      openssl ecparam -name prime256v1 -genkey -noout -out vapid_keypair.pem\n      ```\n      The private key can then be encoded as base64 and added to the `config.json` file as `notifications.web_push.private_key`:\n      ```shell\n      openssl ec -in ./vapid_keypair.pem -outform DER|tail -c +8|head -c 32|base64|tr -d '=' |tr '/+' '_-' \u003e\u003e vapid_private.txt\n      ```\n      Similarly, the public key can be encoded as base64 and included in the client application receiving the notifications:\n      ```shell\n      openssl ec -in ./vapid_keypair.pem -pubout -outform DER|tail -c 65|base64|tr -d '=' |tr '/+' '_-'|tr -d '\\n' \u003e\u003e vapid_public.txt\n      ```\n   \u003c/details\u003e\n\n\n#### 🐋 Run with Docker\n1. Make sure you have defined `db.env`, `fusionauth.env` and `config.json` as described above\n2. With [docker](https://docs.docker.com/get-docker/) and [docker compose](https://docs.docker.com/compose/) installed, run\n    ```shell\n    docker compose -f docker/docker-compose.dev.yml up -d --build\n    ```\n3. Within the `rezervo` container, initialize FusionAuth\n    ```shell\n    rezervo fusionauth init\n    ```\n4. Explore other available cli commands with\n    ```shell\n    rezervo --help\n    ```\n   \n#### 🦹 FusionAuth Admin Site\n\nThe administration tool for FusionAuth is available at [`http://localhost:9011/admin`](http://localhost:9011/admin)\n\nLogin credentials for the admin user should be defined in `config.json` under `fusionauth.admin`\n\n#### 🧹 Format and lint\n```shell\npoe fix\n```\n\n#### 🔌 Support new chain\nAdd your own chain by adding it to `ACTIVE_CHAINS` in [`rezervo/chains/active.py`](rezervo/chains/active.py).\n\n### 🚀 Deployment\nA template for a production deployment is given in [`docker-compose.template.yml`](docker/docker-compose.template.yml), which uses the most recent [`rezervo` Docker image](https://github.com/users/mathiazom/packages/container/package/rezervo).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiazom%2Frezervo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathiazom%2Frezervo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathiazom%2Frezervo/lists"}