Giter Club home page Giter Club logo

sermon's Introduction

SerMon

A simple service monitor app based-on Cordova (Phonegap). If you have your own website/web service/web app, you can use this app to monitor server availability. It notifies you when server returns unusual status code.

Screenshots

Service List Add Service Service Status

Features

  • Cross-platform (aim for Firefox OS, Android, and iOS).
  • Notification on status bar when service down.
  • Simple and elegant user interface.
  • Add/modify/remove service profile.
  • Check service status periodically in the background.
  • View all check logs, loaded page by page.
  • Cleanup old logs everyday, keep latest 1200 logs.
  • Safe and secure, all data stores locally.

Support

  • Firefox OS: works fine, tested on unagi (b2g 1.4) and flame (b2g 2.1).
  • Open Web App for Android: works fine, tested on Samsung I9100, require Firefox for Android installed.
  • Open Web App for Desktop: works fine, tested on OSX 10.9, Ubuntu 12, Windows 7, require Firefox installed.
  • Android: works fine on emulator 4.4, chromium-based WebView is required for IndexedDB.
  • iOS: not working, waiting for IndexedDB support on iOS safari 8.

Give it a try

Contribute

Prerequisites

Download and Setup

$ git clone https://github.com/yshlin/SerMon
$ cd SerMon
$ ./init.sh

Making changes

  • All source code lies in the www folder.
  • For platform-specific files, put them in the merges folder.

Build and Run

on Firefox OS:

$ cordova build firefoxos
$ cordova run firefoxos

Open Web App for Android:

$ mozilla-apk-cli ./platforms/firefoxos/www/ sermon.apk
$ adb install sermon.apk

on Android:

$ cordova build android 
$ cordova run android

on iOS simulator:

$ cordova build ios 
$ cordova run ios --emulator

on iOS device:

$ cordova build ios 
$ cordova run ios

Trouble Shooting

Q: Why the log always shows 'No connection'?
A: Pleas check your network connection, and make sure your server supports HTTP 'HEAD' request, sometimes it works for certain path.

Q: Why it didn't check in the background?
A: You must manually open the app again after system restart, and make sure you (or the GC) didn't kill the app in the recent app list.

Q: Why it always shows 'Checked just now'?
A: The last check time is updated when app resumes, so you can check updates by turning the screen off and on, or by switching the app off and back.

Q: My battery is low, how can I turn the background check off?
A: Just terminate the app from the recent app list.

Reference

sermon's People

Contributors

yshlin avatar elin-moco avatar

Watchers

 avatar  avatar

sermon's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.