libadwaita
Version, currently main branch1 version
- main branchlatestMar 31, 2025
github.com/GeopJr/libadwaita.cr
libadwaita bindings for Crystal
44 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
libadwaita:
github: GeopJr/libadwaita.cr
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
>= 1.0.0- License
- MIT
- Authors
- Evangelos "GeopJr" Paterakis <evan@geopjr.dev>, Hugo Parente Lima <hugo.pl@gmail.com>
Dependencies
Runtime Dependencies
- gtk4>= 0.14.0github: hugopl/gtk4.cr
README
> [!NOTE]
> Development has moved to https://github.com/hugopl/libadwaita.cr. Please update your `shards.yml` file.
<p align="center">
<img width="256" alt="libadwaita.cr logo" src="https://raw.githubusercontent.com/GeopJr/libadwaita.cr/main/logo.svg" />
</p>
<h1 align="center">libadwaita.cr</h1>
<h4 align="center">libadwaita bindings for Crystal</h4>
<p align="center">
<br />
<a href="https://github.com/GeopJr/libadwaita.cr/blob/main/CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-v2.1-3584e4.svg?style=for-the-badge&labelColor=8ff0a4" alt="Code Of Conduct" /></a>
<a href="https://github.com/GeopJr/libadwaita.cr/blob/main/LICENSE"><img src="https://img.shields.io/badge/LICENSE-MIT-3584e4.svg?style=for-the-badge&labelColor=8ff0a4" alt="MIT Licensed" /></a>
</p>
<hr />
<p align="center">
<img src="https://i.imgur.com/H6a5Git.png" alt="screenshot of the an example libadwaita.cr app" width="512" />
</p>
# Notes
- Bindings are being generated using [gi-crystal](https://github.com/hugopl/gi-crystal).
- It includes everything [gtk4.cr](https://github.com/hugopl/gtk4.cr) does plus libadwaita.
- Docs can be found on the website listed on the sidebar.
# Dependencies
- ArchLinux: `pacman -S gtk4 gobject-introspection libadwaita`
Other distros will probably require you to manually build libadwaita for now.
# Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
libadwaita:
github: hugopl/libadwaita.cr
```
2. Run `shards install`
3. Run `./bin/gi-crystal` to generate the bindings
# Usage
Follow the instructions over at [gtk4.cr](https://github.com/hugopl/gtk4.cr) and [gi-crystal](https://github.com/hugopl/gi-crystal) as well as the [examples/](./examples/) folder
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Mar 31, 2025
- Crystal
>= 1.0.0- Indexed
- yes
Dependents
Repository
github.com/GeopJr/libadwaita.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1