Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pushfoo/skytimes
A GUI-based sunrise & sunset calculator in bare-bones JavaScript, HTML, and CSS
https://github.com/pushfoo/skytimes
css3 html5 javascript map sunrise sunrise-sunset
Last synced: about 1 month ago
JSON representation
A GUI-based sunrise & sunset calculator in bare-bones JavaScript, HTML, and CSS
- Host: GitHub
- URL: https://github.com/pushfoo/skytimes
- Owner: pushfoo
- Created: 2023-07-01T03:58:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-16T03:54:49.000Z (7 months ago)
- Last Synced: 2024-10-22T23:34:15.984Z (2 months ago)
- Topics: css3, html5, javascript, map, sunrise, sunrise-sunset
- Language: JavaScript
- Homepage:
- Size: 574 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- [x] Demonstrate practical knowledge of HTML, CSS, XML, and JSON
- [x] Try [FastAPI](https://fastapi.tiangolo.com/)
- [x] Learn about modern JavaScript techniques## Screenshot
![A screenshot of the project](doc/desktop_screenshot.png)
## 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 browserMac & 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 |