Leacme Weathery is a cross-platform desktop application able to run on Windows, MacOS, and Linux. It is build using Microsoft .NET platform and Avalonia UI framework.
This application features the ability to retrieve the weather forecast for a location.
The desktop application can be compiled into an executable with .NET 3.1 by navigating to Leacme.App.Weathery folder and running:
dotnet publish --configuration Release -p:CopyOutputSymbolsToPublishDirectory=false -p:PublishSingleFile=true -p:LeacmeOutputType=winexe --runtime win-x64
Note: win-x64 can be replaced with other runtimes such as linux-x64, or osx-x64, for more runtimes see RID Catalog
Enter the name of the location for which you want to retrieve the weather forecast. Select the desired number of days and the units for the forecast data and click Get Weather.
The applicatin library can also be build and used separately by navigating to Leacme.Lib.Weathery folder and running dotnet build. This will create a .dll library that can be copied into the directory where your .csproj is located. Be sure as well to add the following line to your .csproj file to point to the location of the library:
<ItemGroup><Reference Include="Leacme.Lib.Weathery.dll"><HintPath>Leacme.Lib.Weathery.dll</HintPath></Reference></ItemGroup>
It can then be added and used within your project with var library = new Leacme.Lib.Weathery.Library();
The author can be contacted via the contact form on their website http://leac.me
View LICENSE.md for more information
