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: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.34.0
License
MIT
Author
Chris Watzon

Dependencies

Runtime Dependencies

  • cute*github: Papierkorb/cute, branch: master
  • libui*path: ../libui.cr

README

Cru

Cru is a basic UI framework based off of Fusion/libui and 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.

Installation

  1. Install libui

  2. Add the dependency to your shard.yml:

    dependencies:
      cru:
        github: watzon/cru
  3. Run shards install

Usage

Check the control_gallery 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