{"id":20055365,"url":"https://github.com/trilinder/randompingwebsite","last_synced_at":"2026-04-16T01:32:58.615Z","repository":{"id":233996949,"uuid":"786995568","full_name":"TriLinder/RandomPingWebsite","owner":"TriLinder","description":"A site for sending push notifications to other random users","archived":false,"fork":false,"pushed_at":"2024-09-27T13:43:41.000Z","size":1235,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T11:42:41.730Z","etag":null,"topics":["flask","svelte","webpush"],"latest_commit_sha":null,"homepage":"https://randomping.pythonanywhere.com/","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TriLinder.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":"2024-04-15T17:32:48.000Z","updated_at":"2024-09-27T13:43:41.000Z","dependencies_parsed_at":"2024-06-22T09:47:51.303Z","dependency_job_id":"18cbd425-1687-4b14-a6ef-d3080c391dbb","html_url":"https://github.com/TriLinder/RandomPingWebsite","commit_stats":null,"previous_names":["trilinder/randompingwebsite"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TriLinder/RandomPingWebsite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriLinder%2FRandomPingWebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriLinder%2FRandomPingWebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriLinder%2FRandomPingWebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriLinder%2FRandomPingWebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TriLinder","download_url":"https://codeload.github.com/TriLinder/RandomPingWebsite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TriLinder%2FRandomPingWebsite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31867710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["flask","svelte","webpush"],"created_at":"2024-11-13T12:47:41.610Z","updated_at":"2026-04-16T01:32:58.589Z","avatar_url":"https://github.com/TriLinder.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eRandomPing\u003c/h1\u003e\n\nA website allowing you to send push notifications (\"pings\") to other random users through the [Web Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API). You can reply to a ping by interacting with its notification. Developed with [Flask](https://palletsprojects.com/p/flask/) and [Svelte](https://svelte.dev/) using [flask-svelte](https://github.com/priyanshu-shubham/flask-svelte).\n\n## Screenshots\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"Register page\" src=\"README_ASSETS/screenshots/register.png\" width=\"200\" /\u003e\n  \u003cimg alt=\"Main 'ping' page showing a single large 'PING' button\" src=\"README_ASSETS/screenshots/random_ping.png\" width=\"200\" /\u003e \n  \u003cimg alt=\"Main 'ping' page with the 'PING' button activated and with confetti flying from the bottom of the screen.\" src=\"README_ASSETS/screenshots/random_ping_activated.png\" width=\"200\" /\u003e\n  \u003cimg alt=\"Reply page allowing the user to reply to a ping they received\" src=\"README_ASSETS/screenshots/reply.png\" width=\"200\" /\u003e\n\u003c/p\u003e\n\n## Server setup\n\n1. Clone the repository\n\n2. Install required Node packages by running `npm install` in the directory\n\n3. Install required Python packages from `requirements.txt` using `pip install -r requirements.txt`\n\n4. Generate a keypair for the Push API\n   \n   ```bash\n   # Source: https://tech.raturi.in/webpush-notification-using-python-and-flask?x-host=tech.raturi.in\n   openssl ecparam -name prime256v1 -genkey -noout -out vapid_private.pem\n   \n   openssl ec -in ./vapid_private.pem -outform DER|tail -c +8|head -c 32|base64|tr -d '=' |tr '/+' '_-' \u003e\u003e private_key.txt\n   openssl ec -in ./vapid_private.pem -pubout -outform DER|tail -c 65|base64|tr -d '=' |tr '/+' '_-' \u003e\u003e public_key.txt\n   \n   # Combine the keys into `keys.json` and delete the original files\n   echo \"{\\\"private\\\": \\\"$(cat private_key.txt)\\\", \\\"public\\\": \\\"$(cat public_key.txt | sed ':a;N;$!ba;s/\\n/\\\\n/g')\\\"}\" \u003e keys.json \u0026\u0026 rm vapid_private.pem private_key.txt public_key.txt\n   ```\n\n5. Build the website assets using `npm run build`\n\n6. Run the Flask webserver located in `app/__init__.py` (it is necessary to run the file itself at least once to create the required database tables)\n\n\n\nYou can run the development server with live-reload using `npm run dev`. You must however first run `app/__init__.py` to create the database tables.\n\n\n\nNote that you may have issues getting the service worker to run outside localhost without an SSL certificate.\n\n\n\n---\n\nPing sound effect source: https://freesound.org/people/Joao_Janz/sounds/478515/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilinder%2Frandompingwebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrilinder%2Frandompingwebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrilinder%2Frandompingwebsite/lists"}