any2nix-gui 0.1.4

Graphical interface for translating from various formats to Nix.
any2nix-gui-0.1.4 is not a library.

any2nix-gui

Nix Converter GUI

What is any2nix-gui?

any2nix-gui is a graphical user interface (GUI) used to convert data in other formats to Nix.

Screenshot showcasing the GTK-based UI, with sample syntax-highlighted INI text ready for conversion

Supported formats

any2nix-gui supports converting from the following formats into Nix expressions:

Installation

[!NOTE] Requires GTK 4, libadwaita and GtkSourceView 5 development libraries installed on the system.

Install with Cargo

cargo install any2nix-gui

Install on Linux

Look for your favorite package manager in the list of supported repositories:

Repository status

Additionally, Linux builds are available at the releases tab.

Run using Docker

A docker image is available for any2nix-gui.

docker run --rm -it \
  -e WAYLAND_DISPLAY=$WAYLAND_DISPLAY \
  -e XDG_RUNTIME_DIR=/tmp \
  -v $XDG_RUNTIME_DIR/$WAYLAND_DISPLAY:/tmp/$WAYLAND_DISPLAY:ro \
  --device /dev/dri \
  -v $PWD:/app \
  ghcr.io/gbr-ufs/any2nix-gui:latest

Crate features

All format parsers are enabled by default. You can disable default features and enable only the formats or integrations you need:

Feature Description Default
ini Support for converting INI strings Yes
json Support for converting JSON strings Yes
toml Support for converting TOML strings Yes
yaml Support for converting YAML strings Yes

License

All code is licensed GPL 3.0 or later. The distribution workflow is based on cargo-dist and is thus licensed MIT or Apache 2.0.

Anything that is not code is CC-BY-4.0.

This software family is REUSE compliant.