{"id":19124081,"url":"https://github.com/efforg/privacybadger-website","last_synced_at":"2026-06-05T20:30:14.794Z","repository":{"id":37045135,"uuid":"182148361","full_name":"EFForg/privacybadger-website","owner":"EFForg","description":"Code and content of https://privacybadger.org","archived":false,"fork":false,"pushed_at":"2025-01-10T18:25:12.000Z","size":2859,"stargazers_count":26,"open_issues_count":3,"forks_count":8,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-01-10T19:33:00.519Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"SCSS","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/EFForg.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":"2019-04-18T19:49:35.000Z","updated_at":"2025-01-10T18:25:16.000Z","dependencies_parsed_at":"2024-06-21T11:13:43.264Z","dependency_job_id":"f66019ea-6ecf-4012-be8c-01f22471e745","html_url":"https://github.com/EFForg/privacybadger-website","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Fprivacybadger-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Fprivacybadger-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Fprivacybadger-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EFForg%2Fprivacybadger-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EFForg","download_url":"https://codeload.github.com/EFForg/privacybadger-website/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240183761,"owners_count":19761439,"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-11-09T05:28:04.527Z","updated_at":"2026-06-05T20:30:14.745Z","avatar_url":"https://github.com/EFForg.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Privacy Badger - Website\n\nCode and content of \u003chttps://privacybadger.org\u003e.\n\n## Translating\n\nThank you for your interest in translating the Privacy Badger website! Translations are handled in [Weblate](https://weblate.org/).\n\n\u003e [!IMPORTANT]\n\u003e EFF wants to be sure that our translators make informed consent regarding registering with Weblate. Before you register, please review [Weblate's Terms and Privacy Policy](https://weblate.org/en/terms/) and note that any legal dispute with Weblate would be under Czech Republic law, and must be resolved in a Czech court.\n\n- To translate [FAQ questions and answers](https://privacybadger.org/#faq), visit the [FAQs component on Weblate](https://hosted.weblate.org/projects/privacy-badger/privacybadger-website-faqs/).\n- To translate everything else, visit the [general strings component](https://hosted.weblate.org/projects/privacy-badger/privacybadger-website-strings/).\n\n## Development\n\n1. Install the **extended** version of [Hugo](https://gohugo.io/getting-started/installing/) version [0.111.3](https://github.com/gohugoio/hugo/releases/tag/v0.111.3).\n2. Install node and npm. Run `npm install` to get the node dependencies.\n3. Run `hugo serve`.\n\nSee also our [Dockerfile](/Dockerfile) and [Travis config](/.travis.yml) for how we get set up on Docker and Travis.\n\n## Content authoring\n\n**Frequently asked questions** are stored as Markdown in `content/en/faqs`. Each file holds a question, an answer, and a weight that indicates how high up the FAQ should appear on the page.\n\nAs [Weblate does not yet support Markdown](https://github.com/WeblateOrg/weblate/issues/3106), **FAQ translations** are handled via [Po4a](https://po4a.org/). Translations live in `.po` files in the `po` directory.\n\n- All `.po` translation updates should be followed by regenerating the localized Markdown files used by Hugo (in locale-specific content directories defined in `config.toml`) by running `npm run po4a`.\n- Adding/removing FAQ entries or locales should be followed by first regenerating the Po4a config file using `po/genconf.sh \u003e po/po4a.conf`, and then updating the `.po` files with `npm run po4a`.\n- Adding a new locale should at some point be followed by telling Privacy Badger to [use the localized FAQ link](https://github.com/EFForg/privacybadger/blob/a8bd923d973db5b46da1b48930232cf4f114e87c/src/lib/i18n.js#L27) when the user's browser is in that locale.\n- If `npm run po4a` fails because `msgmerge` is not found, install the `gettext` package.\n\nTo install Po4a, check out [its repository](https://github.com/mquinson/po4a), switch to the `v0.66` tag, and then create a helper script to [run `po4a` from the checkout](https://github.com/mquinson/po4a#use-without-installation). For example, create `~/.local/bin/po4a`, set the file as executable, and save the following text there, replacing `/PATH/TO/CHECKOUT/` with your actual checkout path:\n\n```bash\n#!/usr/bin/env bash\nPERLLIB=/PATH/TO/CHECKOUT/lib /PATH/TO/CHECKOUT/po4a \"$@\"\n```\n\n**Non-FAQ translations** can be found in  `/i18n`. These strings are used to render templates in the `layouts` directory. See [Hugo's multilingual documentation](https://gohugo.io/content-management/multilingual/#translation-of-strings) for more on using translated strings.\n\nA list of **supported browsers and download links** can be found in `data/browsers.toml`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefforg%2Fprivacybadger-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefforg%2Fprivacybadger-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefforg%2Fprivacybadger-website/lists"}