/awesome-crystal

:gem: A collection of awesome Crystal libraries, tools, frameworks and software

Primary LanguageCrystalMIT LicenseMIT

Awesome Crystal Awesome Build Status

A curated list of awesome Crystal code and resources. Inspired by awesome and awesome-awesomeness. The goal is to have projects mostly stable and useful for users.

Contributions are welcome. Please take a quick look at the contribution guidelines first.

Algorithms and Data structures

Api Builders

  • crystal_api - Simple PostgreSQL REST API with Rails devise-like auth
  • kemal-rest-api - A library to create RESTful API with Kemal

Caching

Cli Builders

  • admiral - A robust DSL for writing command line interfaces
  • cli - Library for building command-line interface applications
  • commander - Command-line interface builder
  • completion - Easy command line completion engine
  • docopt - A docopt.org port
  • optarg - Yet another library for parsing command-line options and arguments

Cli Utils

Configuration

Data Generators

  • faker - A library for generating fake data
  • hashids.cr - A library to generate YouTube-like ids from one or many numbers

Database Drivers

Database Tools

  • micrate - Database migration tool

Email

Environment Management

Examples and funny stuff

Framework Components

Game Development

  • crystal-chipmunk - Bindings for Chipmunk, a fast and lightweight 2D game physics library
  • flight-crusader - POC top down flight game
  • glove - A library for gaming development
  • inari - A game written in Crystal, using the Glove project as the game engine
  • medico - Game about a medieval doctor
  • mos_game - Mini Offline Singleplayer game

HTTP

Implementations/Compilers

  • charly - Charly Programming Language
  • cppize - Crystal-to-C++ transpiler
  • crisp - Lisp dialect implemented with Crystal
  • crow - Transpile/compile Crystal to Flow
  • crystal - Crystal itself is written in Crystal
  • csmli - Mini-Lisp interpreter
  • NuummiteOS - An OS written in Crystal as a Proof of Concept
  • onix - ONYX Programming Language

Logging and monitoring

Low level bindings

Misc

  • aasm.cr - Easy to use finite state machine for Crystal classes
  • accord - Sharable validations for Crystal objects
  • any_hash.cr - Recursive Hash with better JSON::Any included
  • chalk-box - Terminal color toolbox, check support and colorized (without String monkey patch)
  • circuit_breaker - Implementation of the circuit breaker pattern
  • clamd.cr - Client for the clamd antivirus server
  • cltk - A crystal port of the Ruby Language Toolkit
  • crdoc - CLI tool to search and open documentation
  • cron_scheduler - Job scheduler with crontab patterns
  • crystagiri - An Html Reader / parser like Nokogiri Ruby gem
  • crystal-binary_parser - Binary parser
  • crystal-diff - A Crystal sequence differencing implementation
  • crystal-futures - Future type implementation
  • crystal-i18n - Internationalization library
  • daemonize.cr - Crystal process daemonizer
  • denetmen - Useful micro validator / check library
  • emoji.cr - Emoji library
  • etag - Library to generate HTTP ETags
  • evented - A micro library to publish and subscribe for Crystal objects
  • executable_path - Portable current executable's path
  • guardian - File change watcher for Crystal and Non-Crystal libs
  • haikunator - Heroku-like random name generator
  • hoop - Building native OSX apps
  • hq.cr - Simple wrapper for crystal-xml
  • html_builder - DSL for creating HTML
  • immutable - Implementation of thread-safe, persistent, immutable collections
  • inflector.cr - Singularize, pluralize, camelize, etc (port from ActiveSupport)
  • kreal - Model sharing & RPC library built on and works with Kemal seamlessly
  • lambda.cr - Uniformed function call syntax
  • lirith - Graphics engine
  • manual-generator - Tool to generate PDF manuals from documentation sites
  • metaclass - A library for manipulating class-level definitions
  • moola - Library for dealing with money and conversion (inspired by RubyMoney)
  • ms - Library to easily convert various time formats to milliseconds and milliseconds to human readable format
  • observable - Implementation of the Observer pattern
  • promise - A Promise Implementation
  • quartz - Simple timer library
  • ramlrenderer - HTLM doc builder for RAML 1.0
  • raytracer-crystal - CPU Raytracer with examples
  • sentry - Watches src files, rebuilds/reruns application on file changes
  • shell.cr - Small simplistic helper class for executing shell commands
  • statsd.cr - Statsd client library
  • stumpy_gif - Write (animated) GIF images
  • stumpy_png - Read and write PNG images
  • syscall.cr - Raw syscall interface
  • tren - Give your SQL some love
  • turkish-number - Turn integers into the Turkish words
  • ulid - Universally Unique Lexicographically Sortable Identifier (ULID)
  • wire - A packet analyzer

Networking

ORM/ODM Extensions

Package Management

  • shards - Dependency manager for the Crystal

Project generators

  • bindgencr - Generator of bindings based on castxml output
  • crystal_lib - Automatic binding generator for native libraries
  • fez - A Kemal application generator
  • generate - A tool for generating whole Crystal project structure, or any part of it during lifetime of project
  • kgen - Kemalyst command line tool for console, init, generate (scaffolding), and watch.
  • skaf - Scaffolding for Kemal

Queue

Science and Data analysis

  • chizge - A Network (Graph) Analysis library, inspired by NetworkX
  • machine - Simple machine learning algorithm
  • predict.cr - Satellite prediction library using the sgp4 model
  • stats - An expressive implementation of statistical distributions

Search

  • query-builder - Sql Query Builder library
  • query.cr - Query abstraction
  • soegen - Elasticsearch client for Crystal similar to the stretcher gem for ruby

Task management

  • crake - Rake-like build utility library. It is just a library, so it does not provide CLI
  • lake - Rake-like task management for Crystal programs

Template Engine

  • Bunny - A simple HTML templating language for Crystal, same syntax as erb
  • crustache - {{Mustache}} for Crystal
  • Kilt - Abstraction layer for template engines
  • Slang - Lightweight, terse, templating language inspired by Ruby's Slim
  • teeplate - A library for rendering multiple template files
  • temel - Extensible HTML::Builder alternative for Crystal, supports custom tag definitions

Testing

Third-party APIs

Virtualization

Web Frameworks

  • amatista - A web framework to create quick applications
  • amethyst - A Rails inspired web-framework
  • carbon-crystal - A framework with Rails in mind
  • chocolate - Simple web framework and template engine
  • frost - Full featured MVC Web Framework, largely inspired by Ruby on Rails
  • iceberg - A full-stack web framework
  • kemal - Lightning Fast, Super Simple web framework. Inspired by Sinatra
  • kemalyst - A Rails like framework inspired by Kemal but includes the kitchen sink
  • lattice-core - A WebSocket-first object-oriented framework (based on Kemal)
  • moonshine - A minimal web framework
  • mustafa - Simple MVC framework

Web Servers

  • fast-http-server - Super fast, zero configuration command line HTTP Server
  • kamber - Blog server based on Kemal
  • prax.cr - Rack proxy server for development
  • serve - Command line static HTTP server

Community

Resources

Official Documentation Translations

Services and Apps

Tools

DevOps

Editor Plugins

Shell plugins