Crystal HTTP

Open-source Crystal projects categorized as HTTP

Top 22 Crystal HTTP Projects

  1. marten

    The pragmatic web framework. (by martenframework)

    Project mention: Make Marten Web Framework work with minitest.cr | dev.to | 2025-01-07

    ENV["MARTEN_ENV"] = "test" require "minitest/autorun" require "marten" require "marten/cli" # Only require those to avoid running Crystal Spec in parallel with minitest require "marten/spec/ext/db/statement" require "marten/spec/client" # Copy from https://github.com/martenframework/marten/blob/main/src/marten/spec.cr module Marten module Spec @@client : Marten::Spec::Client? def self.clear_client : Nil @@client = nil end def self.clear_collected_emails : Nil Marten::Emailing::Backend::Development.delivered_emails.clear end def self.delivered_emails : Array(Emailing::Email) Marten::Emailing::Backend::Development.delivered_emails end def self.client @@client ||= Marten::Spec::Client.new end def self.flush_databases Marten::DB::Connection.registry.values.each do |conn| Marten::DB::Management::SchemaEditor.run_for(conn) do |schema_editor| schema_editor.flush_model_tables end end end def self.setup_databases Marten::DB::Connection.registry.values.each do |conn| if !conn.test_database? raise "No test database name is explicitly defined for database connection '#{conn.alias}', cancelling..." end Marten::DB::Management::SchemaEditor.run_for(conn) do |schema_editor| schema_editor.sync_models end end end end end # Hooks https://github.com/ysbaddaden/minitest.cr/blob/bfc73a6196129e59b6c05d49d69e542f83a5939f/src/test.cr#L24 class Minitest::Test def before_setup # Register applications only once Marten.setup if Marten.apps.app_configs.empty? Marten::Spec.setup_databases end def after_teardown Marten::Spec.flush_databases Marten::Spec.clear_collected_emails Marten::Spec.clear_client DB::Statement.reset_query_count end end require "../src/project"

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. route.cr

    Minimum High Performance Middleware for Crystal Web Server.

  4. crest

    HTTP and REST client for Crystal (by mamantoha)

  5. halite

    💎HTTP Requests Client with a chainable REST API, built-in sessions and middlewares. (by icyleaf)

  6. Cable

    It's like ActionCable (100% compatible with JS Client), but you know, for Crystal

  7. cryload

    HTTP benchmarking tool written in Crystal (by sdogruyol)

  8. cossack

    Simple and flexible HTTP client for Crystal with middleware and test support.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. http2

    HTTP/2 Protocol Implementation for the Crystal Language

  11. http-protection

    This library protects against typical web attacks. It was inspired in rack-protection Ruby gem.

  12. crystal-routing

    Extensible library to deal with http request and string based routing in Crystal

  13. helmet

    a port of the Node Helmet module to the Crystal programming language

  14. sse.cr

    A Crystal shard for Server-Sent Events

  15. session

    Cookie based sessions in Crystal HTTP applications (by porras)

  16. resp-crystal

    Lightweight RESP client

  17. proxy-fetcher.cr

    Crystal port of awesome Ruby ProxyFetcher gem

  18. ContentDisposition

    Crystal shard to create HTTP Content-Disposition headers with proper escaping/encoding of filenames

  19. router-simple.cr

    simple path router inspired by Router::Simple.

  20. digest-auth

    HTTP digest auth for crystal lang

  21. ntlm

    NTLM authentication for crystal lang

  22. http_distributor

    http server which allows sneaky http request though it.

  23. keyer_cr

    HTTP Request Parameter Parsing

  24. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Crystal HTTP discussion

Log in or Post with

Crystal HTTP related posts

Index

What are some of the best open-source HTTP projects in Crystal? This list will help you:

# Project Stars
1 marten 439
2 route.cr 266
3 crest 241
4 halite 171
5 Cable 130
6 cryload 119
7 cossack 106
8 http2 95
9 http-protection 72
10 crystal-routing 31
11 helmet 28
12 sse.cr 24
13 session 23
14 resp-crystal 15
15 proxy-fetcher.cr 10
16 ContentDisposition 9
17 router-simple.cr 5
18 digest-auth 4
19 ntlm 4
20 http_distributor 2
21 link-header 1
22 keyer_cr 0

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com