Installation

# Add this to your shard.yml
dependencies:
  onyx:
    github: onyxframework/onyx
    version: ~> 0.6.1

Then run:

shards install

shard.yml

Crystal
0.30.1
License
MIT
Author
Vlad Faust

Dependencies

Runtime Dependencies

  • dotenv~> 0.1.0github: gdotdesign/cr-dotenv

Development Dependencies

  • pg~> 0.18.0github: will/crystal-pgdev
  • onyx-eda~> 0.4.0github: onyxframework/edadev
  • onyx-sql~> 0.9.0github: onyxframework/sqldev
  • onyx-http~> 0.9.0github: onyxframework/httpdev

README

Onyx

Built with Crystal Travis CI build Docs API docs Latest release

Powerful framework for modern applications.

About 👋

Onyx Framework is a powerful general purpose framework for Crystal language. It has the following goals:

  • Joy for newcomers, yet an ability to scale with the developer's knowledge
  • Type-safety on top of Crystal's amazing built-in type system
  • Performance having minimum possible overhead

The framework consists of the following loosely coupled components:

  • Onyx::HTTP to build scalable web applications
  • Onyx::SQL to add SQL models to your business layer
  • Onyx::EDA to implement events-based reactivity

Supporters 🕊

Thanks to all these patrons, the framework lives and prospers 🙏

Lauri Jutila, Alexander Maslov, Anton Yordanov, Dainel Vera

You can become a patron too in exchange of prioritized support and other perks

Installation 📥

Add this to your application's shard.yml:

dependencies:
  onyx:
    github: onyxframework/onyx
    version: ~> 0.6.0

This shard follows Semantic Versioning v2.0.0, so check releases and change the version accordingly.

Note that until Crystal is officially released, this shard would be in beta state (0.*.*), with every minor release considered breaking. For example, 0.1.0 → 0.2.0 is breaking and 0.1.0 → 0.1.1 is not.

Note that this shard does not have implicit dependencies for other framework components. For example, to use "onyx/http" macros, you must add onyx-http dependendency as well:

dependencies:
  onyx:
    github: onyxframework/onyx
    version: ~> 0.6.0
  onyx-http:
    github: onyxframework/http
    version: ~> 0.9.0

Documentation 📚

The documentation is available online at docs.onyxframework.org.

Community 🍪

There are multiple places to talk about this particular shard and about other ones as well:

Contributing

  1. Fork it ( https://github.com/onyxframework/onyx/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'feat: some feature') using Angular style commits
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Licensing

This software is licensed under MIT License.

Open Source Initiative