GithubHelp home page GithubHelp logo

crusher's Introduction

crusher

Crusher is a mobile app that allows you to shedule push notifcations for yourself using a cron string.

Notifications are fired every full hour, so you cannot schedule more specific than that.

The cron string therefore is truncated from the beggining to match that fact:

 _________ - hour of day (0-23)
 | _______ - day of month (1-31)
 | | _____ - month (1-12)
 | | | ___ - day of week (0-6), (0 = Sun, 1 = Mon, 6 = Sat)
 | | | |
 * * * *

The app is made with Flutter and the backend uses Kotlin with Spark deployed on Heroku, Postgres database provided by Heroku.

Login is done via Firebase with Google Sign In.

Push Notifications are delivered via Firebase's FCM, and there is no guarantee (though it's pretty safe).

Times must be specified in UTC.

Example Crons

  • 10 * * * -> every day at 10am
  • * * * * -> every hour of every day
  • 17 1 * * -> every first day of month, at 17:00 (5pm)
  • 7 * * 1 -> every monday at 10:00 (7am)

You can also use ranges (-), lists, and any other standard cron consstruct. Please check wikipedia for more details on cron strings.

Next Steps

  • Support more parameters for push notf (icon, actions, etc)
  • (app-only) allow seeing and editing current notf
  • Allow users to specify the timezone
  • Allow user to register multiple devices and select which devices per push
  • (app-only) Improve description of the app, purpose and how to write cron expression

crusher's People

Contributors

luanpotter avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.