{"id":19335401,"url":"https://github.com/ericadamski/serverless-password","last_synced_at":"2025-07-05T19:09:23.106Z","repository":{"id":43997658,"uuid":"238967146","full_name":"ericadamski/serverless-password","owner":"ericadamski","description":"A simple, secure way to create a password checker without needing a server","archived":false,"fork":false,"pushed_at":"2023-01-07T14:35:36.000Z","size":1813,"stargazers_count":6,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T05:51:43.910Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://paassword.now.sh","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/ericadamski.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":"2020-02-07T16:05:53.000Z","updated_at":"2021-07-17T19:38:13.000Z","dependencies_parsed_at":"2023-02-07T10:31:02.061Z","dependency_job_id":null,"html_url":"https://github.com/ericadamski/serverless-password","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/ericadamski%2Fserverless-password","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericadamski%2Fserverless-password/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericadamski%2Fserverless-password/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericadamski%2Fserverless-password/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericadamski","download_url":"https://codeload.github.com/ericadamski/serverless-password/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250348316,"owners_count":21415894,"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-10T03:07:18.763Z","updated_at":"2025-04-23T00:32:03.323Z","avatar_url":"https://github.com/ericadamski.png","language":"JavaScript","readme":"# serverless-password\n\nA simple set of routes for securly storing and testing ad-hoc passwords:\n\n## How to use\n\n1. Go enter the password you want to use here: https://paassword.now.sh\n\n2. Copy the URL given to you from step 1\n\n3. Make a `POST` request to the URL you receive\n\n```JavaScript\nimport fetch from \"unfetch\"\n\nconst response = await fetch(\"\u003cYOUR_URL\u003e\", {\n    method: \"POST\",\n    headers: { \"Content-Type\": \"application/json\" },\n    body: JSON.stringify({ pwd: 'your password attempt' })\n})\n\nif (response.ok) {\n    const { valid } = await response.json()\n\n    console.log(valid) // true || false\n}\n```\n\n## Live example\n\nYou can run this in a modern browser console.\n\n\u003e be careful of CORS 😡\n\n```JavaScript\nasync function validatePassword(pwd) {\n    const response = await fetch(\"https://svrlss.now.sh/api/get/rec3T73O3WNZk3IZj\", {\n        method: \"POST\",\n        headers: { \"Content-Type\": \"application/json\" },\n        body: JSON.stringify({ pwd })\n    })\n\n    if (response.ok) {\n        const { valid } = await response.json()\n\n        console.log(\n            valid\n                ? \"You entered the correct password! 👏\"\n                : \"The password you entered is incorrect. 😭\"\n        )\n    }\n}\n\nvalidatePassword(\"test\") /* the real password is dev.to */\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericadamski%2Fserverless-password","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericadamski%2Fserverless-password","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericadamski%2Fserverless-password/lists"}