Skip to content

campvanilla/ping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ping

Get notified when you're back online! ⚡️

image

How does this work?

Ping registers a service worker on load. The UI responds to network connectivity and when requested to be notified, the service worker starts polling the network.

When the poll succeeds, Ping sends a system notification to alert the user that the network connectivity is back up.

A project by @abinavseelan & @rheaditi

Contributing

Want to raise an issue or pull request? Do give our Contributing page a read. 🤓

First time setup

To set up the codebase, clone the repository.

git clone https://github.com/campvanilla/ping.git

Once the repository has been cloned, we need a way to serve the /public directory. You can use any tool that allows you to serve a folder on a port. One option is http-server.

To set things up with http-server, install the CLI

npm install -g http-server

Once installed, you can serve the /public folder using http-server

http-server /public

View the application at http://localhost:8080/

About

Get notified when you're back online! ⚡️

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published