{"id":13683585,"url":"https://github.com/web-eid/web-eid-webextension","last_synced_at":"2026-01-17T07:47:32.292Z","repository":{"id":38095873,"uuid":"322572586","full_name":"web-eid/web-eid-webextension","owner":"web-eid","description":"The Web eID browser extension for Chrome, Edge, Firefox and other WebExtensions-compatible browsers","archived":false,"fork":false,"pushed_at":"2025-01-06T07:55:26.000Z","size":424,"stargazers_count":14,"open_issues_count":2,"forks_count":19,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-01-06T08:37:27.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://web-eid.eu","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/web-eid.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}},"created_at":"2020-12-18T11:14:26.000Z","updated_at":"2025-01-06T07:55:31.000Z","dependencies_parsed_at":"2023-02-09T17:01:46.434Z","dependency_job_id":"33acabba-646e-4c4d-93db-14b9bbe0e4c6","html_url":"https://github.com/web-eid/web-eid-webextension","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-eid%2Fweb-eid-webextension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-eid%2Fweb-eid-webextension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-eid%2Fweb-eid-webextension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-eid%2Fweb-eid-webextension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-eid","download_url":"https://codeload.github.com/web-eid/web-eid-webextension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251712896,"owners_count":21631461,"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":[],"created_at":"2024-08-02T13:02:16.590Z","updated_at":"2026-01-17T07:47:32.236Z","avatar_url":"https://github.com/web-eid.png","language":"TypeScript","readme":"# Web-eID WebExtension\n\n![European Regional Development Fund](https://github.com/open-eid/DigiDoc4-Client/blob/master/client/images/EL_Regionaalarengu_Fond.png)\n\nThe Web eID extension for the Chrome, Edge and Firefox web browsers is\nbuilt using the WebExtensions API, a cross-browser system for developing\nextensions. The extension communicates with the [Web eID native application](https://github.com/web-eid/web-eid-app)\nusing Native messaging. Native messaging enables an extension to exchange\nmessages with a native application installed on the user's computer to enable\nthe extension to access resources that are not accessible through WebExtension\nAPIs, like the smart card subsystem.\n\nThe Web eID extension for Safari is built as a [Safari web extension](https://developer.apple.com/documentation/safariservices/safari_web_extensions). The source code of the Safari extension is in the [_web-eid-app_ GitHub repository](https://github.com/web-eid/web-eid-app), in the `src/mac` subdirectory, as it uses native code written in Objective-C that links with _web-eid-app_ code. The JavaScript layer of the Web eID Safari extension comes from the current WebExtension repository though. See the Safari extension overview in the [_web-eid-app_ README](https://github.com/web-eid/web-eid-app#safari-extension) for more details.\n\n## Setup (for developers/testers)\n\n1. Install the latest LTS version of Node.js - [https://nodejs.org](https://nodejs.org)\n\n2. Clone the project\n    ```bash\n    git clone --recurse-submodules https://github.com/web-eid/web-eid-webextension.git\n    ```\n\n3. Install dependencies\n    ```bash\n    cd web-eid-webextension\n    npm install\n    ```\n\n4. Build the project with zip packages\n    ```bash\n    npm run clean build package\n    ```\n\n    For reproducible builds, set the `SOURCE_DATE_EPOCH` environment variable.  \n    See [https://reproducible-builds.org/docs/source-date-epoch](https://reproducible-builds.org/docs/source-date-epoch) for details.\n    ```bash\n    SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) npm run clean build package\n    ```\n\n    Alternatively, for reproducible builds, the `SOURCE_DATE_EPOCH` value can be taken from the `SOURCE_DATE_EPOCH` file of a previous build.\n    ```bash\n    SOURCE_DATE_EPOCH=$(cat ../previous-build/dist/firefox/SOURCE_DATE_EPOCH) npm run clean build package\n    ```\n\n    For backwards compatibility with TokenSigning API, set the `TOKEN_SIGNING_BACKWARDS_COMPATIBILITY` environment variable to `true`.\n    ```bash\n    TOKEN_SIGNING_BACKWARDS_COMPATIBILITY=true npm run clean build package\n    ```\n\n    During development, for additional logging, set the `DEBUG` environment variable to `true`.\n    ```bash\n    DEBUG=true npm run clean build package\n    ```\n\n5. Load in Firefox as a Temporary Extension\n    1. Open `about:debugging#/runtime/this-firefox`\n    2. Click \"Load temporary Add-on...\" and open `/web-eid-webextension/dist/manifest.json`\n\n### Configuration\n\nMake sure the `NATIVE_APP_NAME` value in `src/config.ts` matches the one in\nthe Web-eID native application manifest file.\n\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-eid%2Fweb-eid-webextension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-eid%2Fweb-eid-webextension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-eid%2Fweb-eid-webextension/lists"}