{"id":18724648,"url":"https://github.com/digital-blueprint/authentic-documents-app","last_synced_at":"2025-11-11T16:30:17.772Z","repository":{"id":65696011,"uuid":"596967729","full_name":"digital-blueprint/authentic-documents-app","owner":"digital-blueprint","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-08T10:48:32.000Z","size":2473,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-09T05:39:54.309Z","etag":null,"topics":["authentic-document","dbp","digital-blueprint"],"latest_commit_sha":null,"homepage":"https://dbp-demo.tugraz.at/apps/authenticdocument","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digital-blueprint.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}},"created_at":"2023-02-03T10:28:07.000Z","updated_at":"2024-04-15T06:59:29.593Z","dependencies_parsed_at":"2023-02-18T06:20:25.085Z","dependency_job_id":"c8a0f0ab-6da1-4070-ad9a-5fd0d426ae24","html_url":"https://github.com/digital-blueprint/authentic-documents-app","commit_stats":{"total_commits":292,"total_committers":9,"mean_commits":32.44444444444444,"dds":0.6506849315068493,"last_synced_commit":"b69583a32c607f79c1bfc01824efc6f1cd1a6a8d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digital-blueprint%2Fauthentic-documents-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digital-blueprint%2Fauthentic-documents-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digital-blueprint%2Fauthentic-documents-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digital-blueprint%2Fauthentic-documents-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digital-blueprint","download_url":"https://codeload.github.com/digital-blueprint/authentic-documents-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239593064,"owners_count":19664855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["authentic-document","dbp","digital-blueprint"],"created_at":"2024-11-07T14:07:24.888Z","updated_at":"2025-11-11T16:30:17.720Z","avatar_url":"https://github.com/digital-blueprint.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authentic Documents Application\n\n[GitHub Repository](https://github.com/digital-blueprint/authentic-documents-app) |\n[npmjs package](https://www.npmjs.com/package/@digital-blueprint/authentic-documents-app) |\n[Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/authentic-documents-app/) |\n[Authentic Document Bundle](https://gitlab.tugraz.at/dbp/authentic-documents/api-authentic-document-bundle)\n\n[![Build and Test](https://github.com/digital-blueprint/authentic-documents-app/actions/workflows/build-test-publish.yml/badge.svg)](https://github.com/digital-blueprint/authentic-documents-app/actions/workflows/build-test-publish.yml)\n\nWith dbp authentic documents you can request official documents from a government registry and release them to third parties.\n\nThis is a **WORK IN PROGRESS** and not meant for public use yet!\n\n## Prerequisites\n\n- You need the [API server](https://gitlab.tugraz.at/dbp/relay/dbp-relay-server-template) running\n- You need the [Authentic Document Bundle](https://gitlab.tugraz.at/dbp/authentic-documents/api-authentic-document-bundle)\n\n## Local development\n\n```bash\n# get the source\ngit clone git@github.com:digital-blueprint/authentic-documents-app.git\ncd authentic-documents-app\ngit submodule update --init\n\n# install dependencies\nnpm install\n\n# constantly build dist/bundle.js and run a local web-server on port 8001 \nnpm run watch\n\n# run tests\nnpm test\n```\n\nJump to \u003chttp://localhost:8001\u003e and you should get a Single Sign On login page.\n\n## Using this app as pre-built package\n\n### Install app\n\nIf you want to install the DBP Authentic Document App in a new folder `authentic-document-app` with a path prefix `/` you can call:\n\n```bash\nnpx @digital-blueprint/cli install-app authentic-document authentic-document-app /\n```\n\nAfterwards you can point your Apache web-server to `authentic-document-app/public`.\n\nMake sure you are allowing `.htaccess` files in your Apache configuration.\n\nAlso make sure to add all of your resources you are using (like your API and Keycloak servers) to the\n`Content-Security-Policy` in your `authentic-document-app/public/.htaccess`, so the browser allows access to those sites.\n\nYou can also use this app directly from the [Unpkg CDN](https://unpkg.com/browse/@digital-blueprint/authentic-documents-app/)\nfor example like this: [dbp-authentic-document/index.html](https://gitlab.tugraz.at/dbp/authentic-documents/authentic-document/-/tree/main/examples/dbp-authentic-document/index.html)\n\nNote that you will need a Keycloak server along with a client id for the domain you are running this html on.\n\n### Update app\n\nIf you want to update the DBP Authentic Document App in the current folder you can call:\n\n```bash\nnpx @digital-blueprint/cli update-app authentic-document\n```\n\n## Activities\n\nThis app has the following activities:\n- `dbp-authentic-image-request`\n\nYou can find the documentation of these activities in the [authentic documents activities documentation](https://github.com/digital-blueprint/authentic-documents-app/tree/main/src).\n\n## Adapt app\n\n### Functionality\n\nYou can add multiple attributes to the `\u003cdbp-greenlight\u003e` tag.\n\n| attribute name | value | Link to description |\n|----------------|-------| ------------|\n| `provider-root` | Boolean | [app-shell](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/app-shell#attributes) |\n| `lang`         | String | [language-select](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/language-select#attributes) | \n| `entry-point-url` | String | [app-shell](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/app-shell#attributes) |\n| `keycloak-config` | Object | [app-shell](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/app-shell#attributes) |\n| `base-path` | String | [app-shell](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/app-shell#attributes) |\n| `src` | String | [app-shell](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/app-shell#attributes) |\n| `html-overrides` | String | [common](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/common#overriding-slots-in-nested-web-components) |\n| `themes` | Array | [theme-switcher](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/theme-switcher#themes-attribute) |\n| `darkModeThemeOverride` | String | [theme-switcher](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/theme-switcher#themes-attribute) |\n\n#### Mandatory attributes\n\nIf you are not using the `provider-root` attribute to \"terminate\" all provider attributes\nyou need to manually add these attributes so that the topic will work properly:\n\n```html\n\u003cdbp-authentic-document\n    auth\n    requested-login-status\n    analytics-event\n\u003e\n\u003c/dbp-authentic-document\u003e\n```\n\n### Design\n\nFor frontend design customizations, such as logo, colors, font, favicon, and more, take a look at the [theming documentation](https://dbp-demo.tugraz.at/dev-guide/frontend/theming/).\n\n## \"dbp-authentic-document\" slots\n\nThese are common slots for the app-shell. You can find the documentation of these slots in the [app-shell documentation](https://gitlab.tugraz.at/dbp/web-components/toolkit/-/tree/main/packages/app-shell).\nFor the app specific slots take a look at the [authentic documents activities](https://github.com/digital-blueprint/authentic-documents-app/tree/main/src).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigital-blueprint%2Fauthentic-documents-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigital-blueprint%2Fauthentic-documents-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigital-blueprint%2Fauthentic-documents-app/lists"}