{"id":24641074,"url":"https://github.com/bikecoders/internet_checker","last_synced_at":"2026-04-16T19:42:54.875Z","repository":{"id":57275253,"uuid":"98766808","full_name":"bikecoders/internet_checker","owner":"bikecoders","description":"Script to run it on background to check and announce when your Internet connection is down and up by emitting a sound","archived":false,"fork":false,"pushed_at":"2018-01-18T02:52:58.000Z","size":47,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-06T08:42:20.806Z","etag":null,"topics":["node","nodejs","npm","npm-package","rxjs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bikecoders.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}},"created_at":"2017-07-30T00:58:05.000Z","updated_at":"2018-12-05T16:34:05.000Z","dependencies_parsed_at":"2022-09-15T19:12:38.558Z","dependency_job_id":null,"html_url":"https://github.com/bikecoders/internet_checker","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bikecoders/internet_checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikecoders%2Finternet_checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikecoders%2Finternet_checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikecoders%2Finternet_checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikecoders%2Finternet_checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bikecoders","download_url":"https://codeload.github.com/bikecoders/internet_checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bikecoders%2Finternet_checker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265312985,"owners_count":23745183,"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":["node","nodejs","npm","npm-package","rxjs"],"created_at":"2025-01-25T12:12:08.590Z","updated_at":"2026-04-16T19:42:54.804Z","avatar_url":"https://github.com/bikecoders.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Internet Checker\n\n[![npm version](https://badge.fury.io/js/internet_checker.png)](https://badge.fury.io/js/internet_checker)\n\nScript to run it on background to check and announce when your Internet connection is down and up by emitting a sound.\n\n\u003e **This is very useful when your connection is not stable and you don't want to waste time checking often if your internet connection is really down.**\n\n## How to install it\n\n### Pre-requisites\n1. You must have [`npm`](https://www.npmjs.com/) and [`node`](https://nodejs.org/en/) in your computer\n2. You must have [`speak`](http://espeak.sourceforge.net/) installed\n\n### Steps\n\n#### From GitHub\n1. Clone this repo `git clone https://github.com/bikecoders/internet_checker`\n2. Step into the folder you just cloned `internet_checker`\n3. Install node dependencies with `npm install`\n4. Run the script with `npm start`\n5. Done, now the computer will notify you when your internet is down\n\n#### From NPM\n1. Run `npm i internet_checker`\n2. Step into `node_modules/internet_checker`\n3. Run the script with `npm start`\n\n## How it works ?\n\nOnce running the script make a `ping` to google (plubic dns on `8.8.8.8`) every 10 seconds, if **one of those package is lost** the script will send 10 packages in less than 10 seconds to make sure if your internet connection is down.\n\n### Sequence Diagram\n\n![sequence diagram](https://raw.githubusercontent.com/bikecoders/internet_checker/master/Diagrams/secuence.jpg)\n\n\n## Libraries used \n- [ReactiveX](http://reactivex.io/)  - ![ReactiveX logo](http://reactivex.io/assets\\/Rx_Logo_S.png) \n- [Ping](https://www.npmjs.com/search?q=ping) npm package\n\n----------------------\n\n\u003e Written with [StackEdit](https://stackedit.io/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbikecoders%2Finternet_checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbikecoders%2Finternet_checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbikecoders%2Finternet_checker/lists"}