{"id":20804966,"url":"https://github.com/lichess-org/lila-pwned","last_synced_at":"2025-05-11T17:31:43.525Z","repository":{"id":145255949,"uuid":"597714630","full_name":"lichess-org/lila-pwned","owner":"lichess-org","description":"Webservice to query https://haveibeenpwned.com/ database dumps","archived":true,"fork":false,"pushed_at":"2024-12-20T18:22:14.000Z","size":90,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-27T11:57:27.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/lichess-org.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-02-05T12:23:20.000Z","updated_at":"2024-12-20T19:13:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b632a09-7487-401e-a3e4-4d48fa036350","html_url":"https://github.com/lichess-org/lila-pwned","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/lichess-org%2Flila-pwned","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lichess-org%2Flila-pwned/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lichess-org%2Flila-pwned/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lichess-org%2Flila-pwned/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lichess-org","download_url":"https://codeload.github.com/lichess-org/lila-pwned/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253604835,"owners_count":21934905,"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-17T19:12:38.659Z","updated_at":"2025-05-11T17:31:43.269Z","avatar_url":"https://github.com/lichess-org.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"lila-pwned\n==========\n\nWebservice to query https://haveibeenpwned.com/ database dumps.\n\nUsage\n-----\n\nDownload a database dump using [haveibeenpwned-downloader](https://github.com/HaveIBeenPwned/PwnedPasswordsDownloader)\nand import it:\n\n```\nhaveibeenpwned-downloader pwned-passwords-sha1-ordered-by-hash-v8 -p 64\ncargo run --release -- --source pwned-passwords-sha1-ordered-by-hash-v8.txt --compact\n```\n\nFor local testing, `test.txt` contains the single password `test`.\n\nServe:\n\n```\ncargo run --release -- --bind 127.0.0.1:1337 --upstream-update\n```\n\nWith the `--upstream-update` flag, entries are slowly but continuously updated\nfrom the upstream API (about 1 month for a full update cycle).\n\nHTTP API\n--------\n\n### `GET /`\n\n```\ncurl http://localhost:1337/?sha1=a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\n```\n\nname | type | description\n--- | --- | ---\nsha1 | string | Hash of the password to look up\n\n* `200 OK`\n\n  ```javascript\n  {\n    \"n\": 86495 // seen in 86495 leaks\n  }\n  ```\n\n### `GET /status`\n\n```\ncurl http://localhost:1337/status\n```\n\n* `200 OK`\n\n  ```\n  pwned count=847223402u\n  ```\n\nLicense\n-------\n\nlila-pwned is licensed under the GNU Affero General Public License,\nversion 3 or any later version, at your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flichess-org%2Flila-pwned","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flichess-org%2Flila-pwned","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flichess-org%2Flila-pwned/lists"}