{"id":24738609,"url":"https://github.com/zweifisch/rusty","last_synced_at":"2025-06-27T17:36:02.657Z","repository":{"id":22135351,"uuid":"25466329","full_name":"zweifisch/rusty","owner":"zweifisch","description":"captcha for nodejs ","archived":false,"fork":false,"pushed_at":"2017-03-17T01:29:40.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T09:47:26.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zweifisch.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}},"created_at":"2014-10-20T12:55:57.000Z","updated_at":"2017-04-21T02:35:17.000Z","dependencies_parsed_at":"2022-08-19T17:51:24.309Z","dependency_job_id":null,"html_url":"https://github.com/zweifisch/rusty","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zweifisch/rusty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Frusty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Frusty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Frusty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Frusty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zweifisch","download_url":"https://codeload.github.com/zweifisch/rusty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zweifisch%2Frusty/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262302539,"owners_count":23290282,"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":"2025-01-27T22:55:01.133Z","updated_at":"2025-06-27T17:36:02.616Z","avatar_url":"https://github.com/zweifisch.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rusty\n\n[![NPM Version][npm-image]][npm-url]\n\ncaptcha for nodejs, in pure js\n\n```javascript\nvar rusty = require(\"rusty\")\n\napp.use(\"/captcha.png\", rusty.middlware())\n\napp.post(\"/login\", rusty.verifyCaptcha, function(req, res) {\n    if(req.verifyCaptcha(req.body.captcha)) {\n        // human here\n    }\n});\n```\n\noptions\n\n```javascript\napp.use(\"/captcha.png\", rusty.middlware({\n    width: 120,\n    height: 50,\n    background: '#ffffff',\n    color: '#888888',\n    chars: 'abcdefghijklmnopqrstuvwxyz0123456789',\n    length: 4,\n    fonts: [['name', 20, 'path/to/font.ttf']],\n    session: 'captcha'\n}))\n```\n\n[npm-image]: https://img.shields.io/npm/v/rusty.svg?style=flat\n[npm-url]: https://npmjs.org/package/rusty\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzweifisch%2Frusty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzweifisch%2Frusty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzweifisch%2Frusty/lists"}