Skip to content

Instantly share code, notes, and snippets.

@veelenga
Last active December 8, 2018 21:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veelenga/7eb5273f9e05013fbfab8f4534a6a83b to your computer and use it in GitHub Desktop.
Save veelenga/7eb5273f9e05013fbfab8f4534a6a83b to your computer and use it in GitHub Desktop.
Top 30 Shards created in 2017
require "http/client"
require "json"
module GithubAPI
API_URL = "https://api.github.com"
class Repo
JSON.mapping(
name: String,
html_url: String,
description: String?,
stargazers_count: Int32
)
end
class Response
JSON.mapping(
items: Array(Repo)?
)
end
def self.search(query : String)
resp = HTTP::Client.get "#{API_URL}/search/repositories?q=#{query}&sort=stars&order=desc"
Response.from_json(resp.body)
end
end
response = GithubAPI.search("language:crystal+created:>=2017-01-01")
response.items.try &.each do |repo|
puts "* [#{repo.name}](#{repo.html_url}) - #{repo.description}"
end
# crystal best_shards.cr > result.md
# crystal best_shards.cr | pbcopy
  • amber - Amber makes building web applications fast, simple, and enjoyable. Get started with blazing fast performance.
  • lucky - Lucky is a web framework written in Crystal. Catch bugs early, forget about most performance issues, and spend more time on code instead of debugging and writing tests.
  • card_game - An demo app for lattice-core
  • List-All-Programming-Telegram-Group - List of All Programming Telegram Group
  • jennifer.cr - Crystal ORM using ActiveRecord pattern with flexible query DSL
  • rocky - React Over Crystal Kemal and Yarn
  • router.cr - Minimum High Performance Middleware for Crystal Web Server.
  • graphql-crystal - a graphql implementation for crystal
  • neph - A modern command line job processor, similar with make command
  • crystal-fann - FANN (Fast Artifical Neural Network) binding in Crystal
  • raze - Modular, light web framework for Crystal
  • qt5.cr - Qt5 bindings for Crystal, based on Bindgen
  • arguing-robots - ๐Ÿค– Watch and hear macOS robots argue live in your terminal ๐Ÿค–
  • ameba - A static code analysis tool for Crystal
  • admiral.cr - A robust DSL for writing command line interfaces written in Crystal.
  • fast-crystal - ๐Ÿ’จ Writing Fast Crystal ๐Ÿ˜ -- Collect Common Crystal idioms.
  • lattice-core - A WebSocket-first object-oriented framework for Crystal
  • schedule.cr - ๐Ÿ•’ Run periodic tasks in Crystal
  • bindgen - Binding and wrapper generator for C/C++ libraries
  • http-protection - This library protects against typical web attacks. It was inspired in rack-protection Ruby gem.
  • unix-web - Unix Philosophy Webserver
  • halite - ๐Ÿ’Ž Crystal HTTP Requests with a chainable REST API, built-in sessions and timeouts.
  • mustafa - Mustafa is Simple and Fast MVC Framework for Crystal
  • stackvm - Virtual Machine with a 240x160 VRAM display.
  • magickwand-crystal - Crystal C bindings for MagickWand library
  • multi_auth - Standardized multi-provider OAuth authentication
  • myst - A structured, dynamic, general-purpose language.
  • core.cr - Yet another Crystal ORM ๐Ÿค˜
  • crest - Simple HTTP and REST client for Crystal, inspired by the Ruby's RestClient gem.
  • camo.cr - A crystal version of atmos/camo, faster and with better request lifecycle tracing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment