{"id":44516713,"url":"https://github.com/leihbase/leihbase","last_synced_at":"2026-02-13T17:15:51.459Z","repository":{"id":234516759,"uuid":"773669513","full_name":"leihbase/leihbase","owner":"leihbase","description":"Web application to manage Leihläden (Borrow Stores, Library-of-Things)","archived":false,"fork":false,"pushed_at":"2026-02-05T16:52:20.000Z","size":16201,"stargazers_count":15,"open_issues_count":22,"forks_count":2,"subscribers_count":3,"default_branch":"next","last_synced_at":"2026-02-06T02:59:35.504Z","etag":null,"topics":["borrow-store","borrowing","borrowing-management","leihen","lending","lending-platform","lenen","library-of-things"],"latest_commit_sha":null,"homepage":"https://leihbase.org","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leihbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-18T07:23:15.000Z","updated_at":"2026-01-25T13:06:15.000Z","dependencies_parsed_at":"2024-04-23T19:28:07.553Z","dependency_job_id":"7e1f3a66-4e83-44b2-ba91-e1b35789530b","html_url":"https://github.com/leihbase/leihbase","commit_stats":null,"previous_names":["arcomul/leihbase","leihbase/leihbase"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/leihbase/leihbase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihbase%2Fleihbase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihbase%2Fleihbase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihbase%2Fleihbase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihbase%2Fleihbase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leihbase","download_url":"https://codeload.github.com/leihbase/leihbase/tar.gz/refs/heads/next","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leihbase%2Fleihbase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29412829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"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":["borrow-store","borrowing","borrowing-management","leihen","lending","lending-platform","lenen","library-of-things"],"created_at":"2026-02-13T17:15:50.966Z","updated_at":"2026-02-13T17:15:51.449Z","avatar_url":"https://github.com/leihbase.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leihbase\n\nWeb application to manage Leihladen, also known as Borrow Stores.\n\n\u003e [!IMPORTANT]  \n\u003e This software is still in active development. It is being used in production\n\u003e for the [Leihbar in Cologne](https://leihbar-koeln.de/), but might be lacking\n\u003e some (for you) critical features.\n\n## Features\n\n- 🏪 A webshop front-end showing borrowable products\n- 🏙️ Manage multiple borrow locations\n- 🏷️ Product category filtering\n- 🧑‍🤝‍🧑 User sign-up/login\n- 🎫 Product reservations\n- 👷 A back-end to manage products \u0026 reservations\n- 📧 Product pickup and return e-mail reminders\n- 🎨 Themeable\n\n## Screenshots\n\n\u003cimg src=\"./screenshots/screenshot-index-page.png\" width=\"49%\" /\u003e\u003cimg src=\"./screenshots/screenshot-product-page.png\" width=\"49%\" /\u003e\u003cimg src=\"./screenshots/screenshot-reservation-dialog.png\" width=\"49%\" /\u003e\u003cimg src=\"./screenshots/screenshot-admin-page.png\" width=\"49%\" /\u003e\u003cimg src=\"./screenshots/screenshot-admin-reservation-drawer.png\" width=\"49%\" /\u003e\u003cimg src=\"./screenshots/screenshot-statistics-page.png\" width=\"49%\" /\u003e\n\n## Tech\n\n- Back-end and API using [PocketBase](https://pocketbase.io/)\n- Front-end with server-side rendering using [NuxtJS](https://nuxt.com/)\n\n## Deployment\n\n### Docker\n\nLeihbase has two Docker Images available which are both required to set up the application:\n\n- [leihbase-webapp](https://hub.docker.com/r/lumocra/leihbase-webapp)\n- [leihbase-pb](https://hub.docker.com/r/lumocra/leihbase-pb)\n\nUse the following docker-compose.yml as a base to deploy Leihbase using Docker:\n\n```yaml\nservices:\n  leihbase-webapp:\n    image: lumocra/leihbase-webapp:v1.7.0\n    container_name: leihbase-webapp\n    environment:\n      NUXT_PUBLIC_POCKETBASE_SERVER_BASE_URL: http://leihbase-pb:8080\n      NUXT_PUBLIC_POCKETBASE_CLIENT_BASE_URL: \u003cleihbase-pb public url\u003e\n\n  leihbase-pb:\n    image: lumocra/leihbase-pb:v1.7.0\n    container_name: leihbase-pb\n    environment:\n      CONFIG_LOCALE: \"en\"\n      # If a reservation (created in the admin section) is required to have a user\n      CONFIG_RESERVATION_REQUIRE_USER: \"false\"\n      CONFIG_LENDING_CONDITIONS_LINK: \"https://example.com/borrow-conditions\"\n    volumes:\n      - ./pb_data:/pb/pb_data\n```\n\n### Fly.io\n\nThe repository contains [fly.toml](https://fly.io/docs/reference/configuration/)\nfiles to deploy the service as [fly.io](https://fly.io) applications.\n\n## Development\n\n### Setup\n\nRequirements: [Mise](https://mise.jdx.dev)\n\n```bash\n# Install repository tools (mailpit, pocketbase)\n$ mise install\n# Setup project\n$ mise run //...:setup\n```\n\n### Run\n\n```bash\n# Enable mise monorepo support\n$ export MISE_EXPERIMENTAL=1\n# Run services\n$ mise run //...:dev\n```\n\n### Initial content\n\nAfter starting the service using the setup steps above. Enter some initial data\nto be able to use the application:\n\n1. Browse to [localhost:8080/\\_/](http://localhost:8080/_/) to visit the Pocketbase\n   admin interface\n1. Create an admin account\n1. Create a record in the leihbase collection, containing some configuration\n   settings for the instance\n1. Create a location in the locations collection (make sure to set the location\n   to as 'active')\n1. Create a product in the products collection (make sure to set the product to\n   as 'active')\n1. Now you should be able to visit [localhost:3000](http://localhost:3000) to\n   visit the front-end\n\n### E-mail\n\nWhen starting the services, [mailpit](https://github.com/axllent/mailpit) also\nstarts. In Pocketbase ([localhost:8080/\\_/](http://localhost:8080/_/) \u003e\nSettings \u003e Mail settings) the following SMTP values can be configured:\n\n- SMTP server host: localhost\n- Port: 1025\n- Username: _\\\u003cempty\u003e_\n- Password: _\\\u003cempty\u003e_\n\nAny sent e-mail can then be viewed in the mailpit web interface at\n[localhost:8025](http://localhost:8025).\n\n## Tests\n\nTests are configured and run using [Playwright](https://playwright.dev/), as the\ntests includes visual snapshots tests they are executed\nin a docker environment.\n\n### Run tests\n\n```bash\n# Run e2e tests\nmise run test:e2e\n# Run e2e tests, and update visual snapshots\nmise run test:e2e\n```\n\n## Configuration\n\n### Pocketbase Admin\n\n### Location\n\n#### Notifications\n\nUsing the following JSON format the e-mail addresses which should receives\nnotifications of this location can be configured:\n\n```json\n[\"example@example.com\", \"sarah@example.com\"]\n```\n\n#### Links\n\nLinks shown on the location page.\n\n```json\n[\n  {\n    \"text\": \"Leihbar Website\",\n    \"link\": \"https://leihbar-koeln.de\"\n  }\n]\n```\n\n#### Opening Hours\n\nUsing the following JSON format the opening hours of a location can be\nconfigured:\n\n```json\n{\n  \"days\": {\n    \"tuesday\": [\n      {\n        \"from\": \"18:00\",\n        \"to\": \"19:00\"\n      }\n    ],\n    \"friday\": [\n      {\n        \"from\": \"17:00\",\n        \"to\": \"19:00\"\n      }\n    ]\n  },\n  \"except\": {\n    \"dates\": [\"2024-12-25\", \"2024-12-26\", \"2024-12-31\", \"2025-01-01\"]\n  }\n}\n```\n\n#### Config field\n\nIn the config JSON field of a location are the following configurations\navailable:\n\n`config.allow_same_day_reservations` - Allows a reservation to start on the same\nday as that another reservation ends\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleihbase%2Fleihbase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleihbase%2Fleihbase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleihbase%2Fleihbase/lists"}