{"id":15293314,"url":"https://github.com/matsadler/tracks","last_synced_at":"2025-04-13T13:04:40.607Z","repository":{"id":59157896,"uuid":"4095233","full_name":"matsadler/tracks","owner":"matsadler","description":"A bare-bones Ruby HTTP server that talks Rack and uses a thread per connection model of concurrency.","archived":false,"fork":false,"pushed_at":"2013-05-23T19:53:39.000Z","size":126,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T13:04:17.252Z","etag":null,"topics":["http","rack","ruby","server"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matsadler.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-21T09:59:27.000Z","updated_at":"2022-11-17T08:56:57.000Z","dependencies_parsed_at":"2022-09-13T17:50:47.464Z","dependency_job_id":null,"html_url":"https://github.com/matsadler/tracks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsadler%2Ftracks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsadler%2Ftracks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsadler%2Ftracks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsadler%2Ftracks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsadler","download_url":"https://codeload.github.com/matsadler/tracks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717247,"owners_count":21150389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","rack","ruby","server"],"created_at":"2024-09-30T16:46:11.053Z","updated_at":"2025-04-13T13:04:40.579Z","avatar_url":"https://github.com/matsadler.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Tracks\n\nTiny/Threaded Rack Server.\n\nTracks is a bare-bones HTTP server that talks Rack and uses a thread per\nconnection model of concurrency, written entirely in Ruby.\n\n* bare-bones: by doing only what it must, Tracks is kept small and fast\n* Rack based: Tracks natively uses the Rack api you already know, add missing\n  features with Rack middleware\n* threaded: use Tracks for those problems where threads are the solution\n* pure Ruby: install and run anywhere Ruby is available, without need for a C\n  compiler. Debug the whole stack. Runs great on Ruby 1.8, 1.9, JRuby,\n  Rubinius, and MacRuby\n\n== Features\n\n* handles concurrent requests\n* stream requests in and responses out\n* keep-alive support\n* on 100-continue automatically sends continue response when #read is called on\n  rack.input\n* graceful shutdown\n* easily extensible, see\n  examples[http://github.com/matsadler/tracks/tree/master/examples]\n\n== Install\n\n  gem install tracks\n\n== Usage\n\nAdd \u003ctt\u003erequire 'tracks'\u003c/tt\u003e to your config.ru, like so:\n\n  require 'tracks'\n  use Rack::ContentLength\n  \n  run(Proc.new do |env|\n    [200, {\"Content-Type\" =\u003e \"text/plain\"}, [\"Hello world!\\n\"]]\n  end)\n\nand start it up with \u003ctt\u003erackup -stracks\u003c/tt\u003e\n\nyou can also use the 'magic comment' \u003ctt\u003e#\\ --server tracks\u003c/tt\u003e in your\nconfig.ru to default to Tracks.\n\n== Licence\n\n(The MIT License)\n\nCopyright (c) 2011, 2012 Matthew Sadler\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsadler%2Ftracks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsadler%2Ftracks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsadler%2Ftracks/lists"}