Files
Libation/docs/development/getting-started.md
2025-12-24 11:17:43 +05:30

1.7 KiB

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

  1. Clone the repository:

    git clone https://github.com/rmcrackan/Libation.git
    cd Libation
    
  2. Restore dependencies:

    dotnet 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):

  1. Navigate to the Source/LibationAvalonia directory:

    cd Source/LibationAvalonia
    
  2. Run the application:

    dotnet run
    

Using Visual Studio / Rider

  1. Open Libation.sln (or open the root folder).
  2. Set LibationAvalonia as the startup project.
  3. Press Run/Debug.

Troubleshooting

  • Assets/Cover Art: If you encounter issues with missing assets, ensure you have run git submodule update --init --recursive if 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.

Linux Specifics

For Linux users, we have a specific guide using Nix:

Documentation Specifics

For Documentaion, we have a specific guide using VitePress: