cru
Version, currently master branch1 version
- master branchlatestMar 30, 2023
github.com/watzon/cru
LibUI based GUI framework for Crystal
26 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
cru:
github: watzon/cru
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.34.0- License
- MIT
- Author
- Chris Watzon <cawatson1993@gmail.com>
Dependencies
Runtime Dependencies
README
# Cru
Cru is a basic UI framework based off of [Fusion/libui](https://github.com/Fusion/libui.cr) and [libui](https://github.com/andlabs/libui). Right now it's pretty barebones, and libui itself is still "mid alpha" software, but I hope it can eventually become a pretty decent GUI framework for Crystal.
<div align="center">
<img src="./static/control_gallery_screenshot.png" alt="screenshot">
</div>
## Installation
1. Install [libui](https://github.com/andlabs/libui)
2. Add the dependency to your `shard.yml`:
```yaml
dependencies:
cru:
github: watzon/cru
```
3. Run `shards install`
## Usage
Check the [control_gallery](./examples/control_gallery.cr) example in the /examples folder.
## Contributing
1. Fork it (<https://github.com/watzon/cru/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [Chris Watzon](https://github.com/watzon) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Mar 30, 2023
- Crystal
0.34.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/watzon/cru
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1