{"id":20780225,"url":"https://github.com/le0developer/open-turnstile-api","last_synced_at":"2025-06-16T19:38:06.343Z","repository":{"id":117512291,"uuid":"610019389","full_name":"Le0Developer/open-turnstile-api","owner":"Le0Developer","description":"Turnstile's api.js but open-source, written in TS and small.","archived":false,"fork":false,"pushed_at":"2023-03-09T14:16:26.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T22:31:39.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Le0Developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05T22:43:12.000Z","updated_at":"2023-03-06T08:26:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed8c5d1f-0ff4-4f3c-a914-56b4cbb771de","html_url":"https://github.com/Le0Developer/open-turnstile-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Le0Developer/open-turnstile-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Le0Developer%2Fopen-turnstile-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Le0Developer%2Fopen-turnstile-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Le0Developer%2Fopen-turnstile-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Le0Developer%2Fopen-turnstile-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Le0Developer","download_url":"https://codeload.github.com/Le0Developer/open-turnstile-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Le0Developer%2Fopen-turnstile-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260224606,"owners_count":22977432,"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-17T13:32:56.547Z","updated_at":"2025-06-16T19:38:06.303Z","avatar_url":"https://github.com/Le0Developer.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# open-turnstile-api\n\n[Turnstile's api.js](https://challenges.cloudflare.com/turnstile/v0/api.js) but\n**Open-source**, written in **Typescript**, with conditional compilation to\nget the bundle really small.\n\nBy default, with all of Turnstile's features, this project is around 60% of the\noriginal size (~7.4kb from 14kb). By tweaking the options, it's possible to \ncut it down to ~3.5kb, with only `turnstile.render()`, no `?onload=` callback,\nno implicit rendering, no option validation and less!\n\nSee [config.ts](config.ts) for all options.\n\n## Building\n\nRun `npm run build` and it should compile to `dist/turnstile.js`.\nSource maps are also included in `dist/turnstile.js.map`.\n\nWe also export the [esbuild metafile](https://esbuild.github.io/api/#analyze)\nas `dist/turnstile.meta.json` which you can use with \n[esbuild's bundle analyzer](https://esbuild.github.io/analyze/) to see which\nmodules use up space.\n\n## License\n\nMIT\n\n## Disclaimer\n\nCloudflare could change the internals at any time, so this may break at any time!\n\nDon't use this in production. (if you do, make sure you can swap to regular\nturnstile at any time)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fle0developer%2Fopen-turnstile-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fle0developer%2Fopen-turnstile-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fle0developer%2Fopen-turnstile-api/lists"}