Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Web app that reads s ship's present location and opens the Windy weather website/app at the ship's location.

License

NotificationsYou must be signed in to change notification settings

bogdanrbucur/Ship-Weather

Repository files navigation

This web app reads a ship's Vessel Finder "details" page, scrapes the geographical coordinates and opens Windy at the present time at those coordinates.

This is useful in finding out meteorological and hydrological conditions like wave height and sea temperature which can not otherwise be accurately appreciated or measured by the navigator.

In my implementation the app is deployed using Google Cloud Services and changing the ships or adding new ones required re-deployment as the buttons are in the HTML file and the ships' Vessel Finder pages are in main.py which require re-uploading.

The page usesBootstrap for reactive design and should look fine on any screen size. I use a custom.css for customization. The color palette is also dark mode friendly for browsers that support it.

At its core it is a function that scrapes vesselfinder.com for the vessel's coordinates, formats them and contructs a URL to Windy.com using the coordinates as URL parameters.Flask is used to turn the function into a web app.

25/07/2021: addedDocker files to migrate the app as a container on my Raspberry Pi. Container available onDocker Hub.

26/07/2021: Turns out containers don't run cross-architecture so I had to build another container on my Raspbery Pi to run on ARM64 architecture. Also available onDocker Hub.

29/07/2021: Integrated Google App Engine with Google Cloud Build for Continous Deployment upon master branch update. Addedcloudbuild.yaml to build the app and deploy it as is, without containerzation.


[8]ページ先頭

©2009-2025 Movatter.jp