pushfoo / Skytimes

A GUI-based sunrise & sunset calculator in bare-bones JavaScript, HTML, and CSS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skytimes

A minimal web application to calculate sunset & sunrise times around the world. The front end currently communicates with an API via JSON fetch requests, but it could probably be made more static.

I haven't decided on a license for this project at the moment.

Project Goals

  • Demonstrate practical knowledge of HTML, CSS, XML, and JSON
  • Try FastAPI
  • Learn about modern JavaScript techniques

Screenshot

A screenshot of the project

Usage

First, have Python 3.9 or greater installed with a working pip. 3.8 may work as well, but it has not been tested. Then, clone this repository locally and do the following:

  1. pip install .
  2. Launch the backend with uvicorn app:app --reload
  3. Open https://localhost:8000/ in your browser

Mac & Linux users can use ./launch.sh as shorthand to launch the application.

Asset Credits

Component License Project or Source URL
Equirectilinear World Map Public Domain https://upload.wikimedia.org/wikipedia/commons/a/ac/World_location_map.svg

About

A GUI-based sunrise & sunset calculator in bare-bones JavaScript, HTML, and CSS


Languages

Language:JavaScript 77.4%Language:Python 11.0%Language:HTML 8.0%Language:CSS 3.5%Language:Shell 0.1%