Developing Libation
Libation is built using .NET and Avalonia UI. To get started with development, you'll need to set up your environment.
Prerequisites
- .NET SDK: The project currently targets
.net10.0. You will need the latest .NET SDK. - IDE: We recommend Visual Studio Code, JetBrains Rider, or Visual Studio.
- Git: For version control.
Setup
Clone the repository:
bashgit clone https://github.com/rmcrackan/Libation.git cd LibationRestore dependencies:
bashdotnet restore
Running Libation Locally
You can run Libation directly from the source code using the .NET CLI or your IDE.
Using .NET CLI
To run the desktop application (Avalonia):
Navigate to the
Source/LibationAvaloniadirectory:bashcd Source/LibationAvaloniaRun the application:
bashdotnet run
Using Visual Studio / Rider
- Open
Source/Libation.slnx(or open the root folder). - Set
LibationAvaloniaas the startup project. - Press Run/Debug.
Troubleshooting
- Assets/Cover Art: If you encounter issues with missing assets, ensure you have run
git submodule update --init --recursiveif applicable, although Libation typically manages assets within the project. - Port/Network: Libation makes network requests to Audible and other services. Ensure your firewall allows the application to connect.
Testing your changes
Once the app runs, see Testing Changes for how to run the automated tests and how to seed a demo library so UI changes can be checked by eye.
Linux Specifics
For Linux users, we have a specific guide using Nix:
Documentation Specifics
For Documentaion, we have a specific guide using VitePress: