{"id":24592170,"url":"https://github.com/girkovarpa/speedhunter","last_synced_at":"2026-01-31T08:05:54.946Z","repository":{"id":108437509,"uuid":"273840351","full_name":"GirkovArpa/SpeedHunter","owner":"GirkovArpa","description":"Generic Node/MySQL website where account creation is behind a PayPal paywall.","archived":false,"fork":false,"pushed_at":"2020-06-21T07:25:58.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-23T10:52:21.754Z","etag":null,"topics":["login","paypal","paywall","signup"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GirkovArpa.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":"2020-06-21T05:26:02.000Z","updated_at":"2025-03-12T08:29:43.000Z","dependencies_parsed_at":"2023-06-01T02:15:15.850Z","dependency_job_id":null,"html_url":"https://github.com/GirkovArpa/SpeedHunter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GirkovArpa/SpeedHunter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GirkovArpa%2FSpeedHunter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GirkovArpa%2FSpeedHunter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GirkovArpa%2FSpeedHunter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GirkovArpa%2FSpeedHunter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GirkovArpa","download_url":"https://codeload.github.com/GirkovArpa/SpeedHunter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GirkovArpa%2FSpeedHunter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28934656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T07:49:44.436Z","status":"ssl_error","status_checked_at":"2026-01-31T07:49:34.274Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["login","paypal","paywall","signup"],"created_at":"2025-01-24T10:13:48.094Z","updated_at":"2026-01-31T08:05:54.939Z","avatar_url":"https://github.com/GirkovArpa.png","language":"HTML","funding_links":["https://developer.paypal.com/developer/applications","https://developer.paypal.com/docs/checkout/integrate/"],"categories":[],"sub_categories":[],"readme":"Generic Node/MySQL website for u/SpeedHunter where account creation is behind a PayPal paywall.\n\n# Purchase\n![Animated screen capture from Imgur](https://i.imgur.com/Zmau9Ta.gif)\n\n\n# Login \n![Animated screen capture from Imgur](https://i.imgur.com/LeOieRv.gif)\n\n# Note\n\nIt takes about a minute for PayPal to notify your server of an account purchase.  It's highly unlikely, but possible, that a second person purchases an account with the same name during this small window.  However, they would be distinguished in the database by the unique `id` column.\n\n# Configuring PayPal webhook\n\n- Go here: https://developer.paypal.com/developer/applications\n- Click `Default Application`\n- Click `Add Webhook`\n- Set the URL to: https://\u003cyour_website\u003e/super_secret_paypal_url\n- Subscribe to all events\n\nFor testing purposes, you can use the free application `ngrok.exe` to establish a temporary public URL for your test server running @ `localhost`.  Your webhook URL must be the `https` version of the URLs `ngrok` gives you.\n\n# Running\n\nThe server requires the following environment variables to be defined.  `HEX_DIGITS` is any string of 64 random hex digits for the purposes of encrypting the user's password when sent to and from PayPal (read why their password is sent to PayPal [here](https://stackoverflow.com/questions/57349174/where-to-enter-paypal-ipn-url-and-how-to-pass-custom-data)).\n\n`SESSION_SECRET` is any secret string; read more [here](https://stackoverflow.com/questions/5343131/what-is-the-sessions-secret-option).\n\n`SB_CLIENT_ID` is obtained from PayPal; you can read how to get it [here](https://developer.paypal.com/docs/checkout/integrate/#2-add-the-paypal-javascript-sdk-to-your-web-page).\n\n`PRICE` is in `USD`.  I am not sure whether PayPal will automatically convert payments to `USD` before notifying your server about them.\n\n```\nSESSION_SECRET=some_super_secret_key \nPORT= \nHEX_DIGITS=825ef45bb837ea32f7764a20b40f3f16aff05df75d4e9d7ea56ecc38a3d1d490\nSB_CLIENT_ID=\nPRICE=1337 \nSQL_HOST=\nSQL_USER=\nSQL_PASSWORD= \nSQL_DATABASE=\n```\n\nTo run the server, run the above followed by `node index`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgirkovarpa%2Fspeedhunter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgirkovarpa%2Fspeedhunter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgirkovarpa%2Fspeedhunter/lists"}