{"id":23084313,"url":"https://github.com/swetrix/captcha-frame","last_synced_at":"2026-03-20T00:31:32.643Z","repository":{"id":167411052,"uuid":"608868711","full_name":"Swetrix/captcha-frame","owner":"Swetrix","description":"Swetrix CAPTCHA iframe","archived":false,"fork":false,"pushed_at":"2024-05-17T20:53:22.000Z","size":121,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T03:27:41.444Z","etag":null,"topics":["captcha","privacy","swetrix"],"latest_commit_sha":null,"homepage":"https://captcha.swetrix.com","language":"HTML","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/Swetrix.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":"2023-03-02T22:42:04.000Z","updated_at":"2024-05-17T20:53:23.000Z","dependencies_parsed_at":"2024-12-16T15:51:14.566Z","dependency_job_id":"ba52c0d9-e431-4545-92dc-1fa954a96c66","html_url":"https://github.com/Swetrix/captcha-frame","commit_stats":null,"previous_names":["swetrix/captcha-frame"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fcaptcha-frame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fcaptcha-frame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fcaptcha-frame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swetrix%2Fcaptcha-frame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swetrix","download_url":"https://codeload.github.com/Swetrix/captcha-frame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247022939,"owners_count":20870893,"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":["captcha","privacy","swetrix"],"created_at":"2024-12-16T15:51:07.149Z","updated_at":"2026-03-16T23:34:46.542Z","avatar_url":"https://github.com/Swetrix.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"/src/assets/logo_blue.png\" alt=\"\" height=\"80\" /\u003e\n\n\u003e [!NOTE]\n\u003e This repository has been archived. Development has moved to the [Swetrix monorepo](https://github.com/Swetrix/swetrix) under [`packages/captcha`](https://github.com/Swetrix/swetrix/tree/main/packages/captcha). Please open issues and pull requests there instead.\n\n## Description\n\nSwetrix CAPTCHA is a privacy-oriented, simple and opensource CAPTCHA service.\n\nSee the full documentation at https://docs.swetrix.com/captcha/introduction\n\n## Features\n\n- **Privacy-focused**: No tracking, no cookies\n- **Accessible**: Full keyboard navigation, ARIA support, screen reader announcements, respects `prefers-reduced-motion`\n- **Progress indicator**: Visual progress bar during verification\n- **Auto theme detection**: Automatically matches browser's light/dark mode preference\n- **Lightweight**: Minimal footprint, fast loading\n\n## Usage\n\n```html\n\u003cdiv class=\"swecaptcha\" \n     data-project-id=\"YOUR_PROJECT_ID\" \n     data-theme=\"auto\"\u003e\n\u003c/div\u003e\n\u003cscript src=\"https://cdn.swetrixcaptcha.com/captcha-loader.js\" defer\u003e\u003c/script\u003e\n```\n\n### Options\n\n| Attribute | Description | Values | Default |\n|-----------|-------------|--------|---------|\n| `data-project-id` | Your project ID | Valid project ID | Required |\n| `data-theme` | Color theme | `auto`, `light`, `dark` | `auto` |\n| `data-response-input-name` | Hidden input name | Any string | `swetrix-captcha-response` |\n| `data-lang` | Force a specific language | `en`, `de`, `fr`, `pl`, `uk` | Auto-detected |\n\n### Language Support\n\nThe widget supports **English**, **German**, **French**, **Polish**, and **Ukrainian**.\n\nLanguage is detected automatically in this order:\n1. `data-lang` attribute on the widget element\n2. `lang` attribute on parent elements (e.g., `\u003chtml lang=\"de\"\u003e`)\n3. Browser's preferred language\n\n### Theme Options\n\n- `auto`: Automatically detects user's browser theme preference using `prefers-color-scheme`\n- `light`: Forces light theme\n- `dark`: Forces dark theme\n\n## Development\n\nTo build the captcha run:\n```bash\nnpm run build\n```\n\nAfter you build it, a new folder `dist` will appear. You can run `test.html` file via an extension like `Live server` to test it (don't forget to set up a valid project ID or one of our [dummy project IDs](https://docs.swetrix.com/captcha/testing)).\n\n## License\n\nSwetrix CAPTCHA client is released under the MIT licence, see [LICENSE](LICENSE).\n\n## Bugs and security\n\nSwetrix is open to pull-requests. Feel free to propose new features or submit bug requests via pull reuqests.\\\nFor severe security issues, please contact us at security@swetrix.com\n\n## Contact\n\nYou can contact us via email at contact@swetrix.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswetrix%2Fcaptcha-frame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswetrix%2Fcaptcha-frame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswetrix%2Fcaptcha-frame/lists"}