Giter VIP home page Giter VIP logo

upcal's Introduction

Upcal - Uposatha calendar and dawn time

1. Info

Upcal has has three variants: HTML, Android app, and iOS widget (via Scriptable app).

  1. ๐ŸŒ… upCal HTML

  2. ๐ŸŒ… upCal Android app DOWNLOAD APK from upCal Android releases

  3. ๐ŸŒ… iOS widget read instructions

Functions

  • Designed for Buddhists or ones who care about dawn-rise, noon time and Uposatha dates (Myanmar Uposatha dates).

  • It shows calculated Myanmar uposatha dates for the current device month & dawn-rise timetable for the current date and location.

  • List a whole year Uposatha dates of any year.

  • Dawn-rise time table for a whole month (Android and HTML only, iOS widget not yet).

iOS widget

Upcal_Uposatha_Calendar_IOS

  • Whole year Uposatha dates:

Whole Year Uposatha Calendar

Android and HTML

Main screen on Android: Upcal_Uposatha_Calendar_HTML

Dawn-rise time table for a whole month: Upcal_Uposatha_Calendar_HTML

2. Dev

  • Reduce screenshot file size: jpegoptim --size=150k ./*.jpg

  • Upcal-Android source code

  • Source code files for iOS widget (run on Scriptable) are in the docs.

  • TODO: re-organise the very very messy Javascript code and add dawn-rise timetable for iOS widget.

3. Open Source Libraries Acknowledgements

  • Myanmar uposatha dates: powered by the algorithm of Modern Myanmar Calendrical Calculations - MMCal (Yan Naing Aye) (MIT License)

  • Dawn time, sunrise calculations: powered by SunCalc (Vladimir Agafonkin) (MIT License)

  • Scriptable Widget and table UI is based on this Coronavirus Scriptable Widget (03 Oct 2020)

4. Feedback

  • If you found bugs or errors related to this project, you may open a new Git issue or contact us via this Google Form.

  • May you all be well and happy!

upcal's People

Contributors

dpcpnry avatar vpnry avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

upcal's Issues

dawn calculation problem

dawn time cannot use sun rise -40 min, it is too rough.
From Dawnrise to Sunrise is the time of the sun passing 6 degree โ‰ˆ 24 hour *6/360
different day the sun angle is different, so the accurate time is changing everyday.
fortunately, suncalc support calculate the dawn time.
Just use the civil dawn time to replace sunrise, ignore -40mins.

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.