https://github.com/macournoyer/thin
A very fast & simple Ruby web server
https://github.com/macournoyer/thin
Keywords
rack rails ruby server thin web-server
Keywords from Contributors
activerecord activejob mvc rubygems sinatra multithreading rspec ruby-gem background-jobs json-parser
Last synced: about 7 hours ago
JSON representation
Repository metadata
A very fast & simple Ruby web server
- Host: GitHub
- URL: https://github.com/macournoyer/thin
- Owner: macournoyer
- License: other
- Created: 2008-01-19T05:39:04.000Z (about 18 years ago)
- Default Branch: master
- Last Pushed: 2025-06-24T04:58:22.000Z (8 months ago)
- Last Synced: 2026-02-21T12:42:39.400Z (10 days ago)
- Topics: rack, rails, ruby, server, thin, web-server
- Language: Ruby
- Homepage: https://rubygems.org/gems/thin
- Size: 1.96 MB
- Stars: 2,277
- Watchers: 49
- Forks: 350
- Open Issues: 21
- Releases: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Funding: .github/FUNDING.yml
- License: license.md
README.md
Thin
A small and fast Ruby web server
Installation
gem install thin
Or add thin to your Gemfile:
gem 'thin'
Usage
A +thin+ script offers an easy way to start your Rack application:
thin start
Browse the example directory for sample applications.
CLI
Use a rackup (config.ru) file and bind to localhost port 8080:
thin -R config.ru -a 127.0.0.1 -p 8080 start
Store the server process ID, log to a file and daemonize:
thin -p 9292 -P tmp/pids/thin.pid -l logs/thin.log -d start
Thin is quite flexible in that many options can be specified at the command line (see thin -h for more).
Configuration files
You can create a configuration file using thin config -C config/thin.yml.
You can then use it with all commands, such as: thin start -C config/thin.yml.
Here is an example config file:
---
user: www-data
group: www-data
pid: tmp/pids/thin.pid
timeout: 30
wait: 30
log: log/thin.log
max_conns: 1024
require: []
environment: production
max_persistent_conns: 512
servers: 1
threaded: true
no-epoll: true
daemonize: true
socket: tmp/sockets/thin.sock
chdir: /path/to/your/apps/root
tag: a-name-to-show-up-in-ps aux
License
Copyright, 2007-2025, by Marc-Andre Cournoyer and other contributors.
Released under the Ruby License, the 2-clause BSDL and the GNU General Public License (GPL) version 2 (or later). You can redistribute it and/or modify it under the terms of any of these licenses.
Credits
The parser was originally from Mongrel http://mongrel.rubyforge.org by Zed Shaw.
Mongrel is copyright 2007 Zed A. Shaw and contributors. It is licensed under
the Ruby license and the GPL2.
Thin is copyright Marc-Andre Cournoyer macournoyer@gmail.com
Get help at http://groups.google.com/group/thin-ruby/
Report bugs at https://github.com/macournoyer/thin/issues
and major security issues directly to me at macournoyer@gmail.com.
Owner metadata
- Name: Marc-André Cournoyer
- Login: macournoyer
- Email:
- Kind: user
- Description: I enjoy walks in the park, VMs, neural nets, servers, anything with a loop.
- Website: http://macournoyer.com
- Location: Montreal, QC, Canada
- Twitter: macournoyer
- Company: @Shopify
- Icon url: https://avatars.githubusercontent.com/u/22?v=4
- Repositories: 69
- Last ynced at: 2025-09-07T23:54:13.516Z
- Profile URL: https://github.com/macournoyer
GitHub Events
Total
- Delete event: 6
- Pull request event: 20
- Fork event: 46
- Issues event: 54
- Watch event: 19
- Issue comment event: 58
- Push event: 38
- Create event: 7
Last Year
- Delete event: 2
- Pull request event: 7
- Fork event: 5
- Issues event: 6
- Watch event: 8
- Issue comment event: 23
- Push event: 10
- Create event: 3
Committers metadata
Last synced: 1 day ago
Total Commits: 856
Total Committers: 114
Avg Commits per committer: 7.509
Development Distribution Score (DDS): 0.453
Commits in past year: 9
Committers in past year: 4
Avg Commits per committer in past year: 2.25
Development Distribution Score (DDS) in past year: 0.333
| Name | Commits | |
|---|---|---|
| macournoyer | m****r@g****m | 468 |
| macournoyer | m****r@a****1 | 133 |
| Samuel Williams | s****s@o****z | 30 |
| raggi | j****r@g****m | 25 |
| Kevin Williams | k****l@g****m | 21 |
| Michael S. Klishin | m****l@n****m | 17 |
| Aman Gupta | a****n@t****t | 6 |
| Cliff Moon | c****f@a****m | 5 |
| Prem Sichanugrist | s@s****m | 4 |
| Marek Goldmann | m****n@g****m | 4 |
| Loic Nageleisen | l****n@g****m | 4 |
| Vít Ondruch | v****h@r****m | 4 |
| Chris Cherry | c****y@c****l | 3 |
| Joshua Peek | j****h@j****m | 3 |
| Jun Aruga | j****a@r****m | 3 |
| MasterLambaster | m****r@g****m | 3 |
| Matt Todd | c****y@g****m | 3 |
| Robert McLeod | r****t@p****z | 3 |
| Aleksandar Totic | a@t****g | 2 |
| Bruce Krysiak | b****k@a****u | 2 |
| Carl Zulauf | c****l@l****m | 2 |
| Diego Elio 'Flameeyes' Pettenò | f****s@g****m | 2 |
| Glenn Rempe | g****n@r****s | 2 |
| Jesse Cooke | j****e@j****m | 2 |
| Luis Lavena | l****a@g****m | 2 |
| Mark Burns | m****r@g****m | 2 |
| Michal Kwiatkowski | m****l@t****l | 2 |
| Pierre Chapuis | c****l@a****s | 2 |
| Steven Parkes | s****s@s****t | 2 |
| Wincent Colaiuta | w****n@w****m | 2 |
| and 84 more... | ||
Committer domains:
- madvertise.com: 2
- redhat.com: 2
- wincent.com: 1
- frameworked.de: 1
- lorenzetti.me: 1
- asynk.ch: 1
- mackenzie.cnet.cnwk: 1
- markbates.com: 1
- seonic.net: 1
- geekbunker.org: 1
- mackframework.com: 1
- puppetlabs.com: 1
- basson.at: 1
- pebbleit.com: 1
- a13.fr: 1
- millennium-space.com: 1
- maginatics.com: 1
- smparkes.net: 1
- archlinux.us: 1
- trivas.pl: 1
- jc00ke.com: 1
- rempe.us: 1
- linkleaf.com: 1
- alum.mit.edu: 1
- totic.org: 1
- penguinpower.co.nz: 1
- joshpeek.com: 1
- sikachu.com: 1
- aa0-009-5.u.powerset.com: 1
- tmm1.net: 1
- novemberain.com: 1
- oriontransfer.co.nz: 1
- bowbak.org: 1
- eml.cc: 1
- jeremyevans.net: 1
- pobox.com: 1
- giraffesoft.ca: 1
- salsify.com: 1
- murraytwins.com: 1
- triple6.org: 1
- bouldersmiths.com: 1
- peterhiggins.org: 1
- boxbot.org: 1
- kapoq.com: 1
- vasfed.ru: 1
- newcastle.edu.au: 1
- timshadel.com: 1
- harmanly.com: 1
- canonical.com: 1
- yandex.ua: 1
- heroku.com: 1
- gnipcentral.com: 1
- michaelxavier.net: 1
- mentel.com: 1
- iij.ad.jp: 1
- cybage.com: 1
- jarvis.co: 1
- cepheide.org: 1
- at-consulting.ru: 1
- moonpolysoft.com: 1
- autopilotmarketing.com: 1
- crowdint.com: 1
- vinsol.com: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 119
Total pull requests: 48
Average time to close issues: over 3 years
Average time to close pull requests: 6 months
Total issue authors: 91
Total pull request authors: 27
Average comments per issue: 1.29
Average comments per pull request: 2.23
Merged pull request: 32
Bot issues: 0
Bot pull requests: 0
Past year issues: 8
Past year pull requests: 22
Past year average time to close issues: 1 day
Past year average time to close pull requests: 7 days
Past year issue authors: 8
Past year pull request authors: 8
Past year average comments per issue: 0.25
Past year average comments per pull request: 1.18
Past year merged pull request: 14
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- ndregs (21)
- TuanNguyen2807 (4)
- acrolink (3)
- Tommybio (2)
- ghost (2)
- junaruga (2)
- beno (1)
- amoghe (1)
- matheussilvasantos (1)
- scanlanjames (1)
- Kampfkarren (1)
- virtualfunction (1)
- djrobby (1)
- pozelli (1)
- u007 (1)
Top Pull Request Authors
- ioquatix (13)
- and9000 (4)
- macournoyer (3)
- roel4d (2)
- lloeki (2)
- poloka (2)
- erikt9 (2)
- achamely (1)
- Ginkggo (1)
- sergiodj (1)
- indrekj (1)
- countingpine (1)
- murraybd (1)
- olleolleolle (1)
- mbj (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 12
-
Total downloads:
- rubygems: 407,620,249 total
- Total docker downloads: 980,864,354
- Total dependent packages: 912 (may contain duplicates)
- Total dependent repositories: 75,529 (may contain duplicates)
- Total versions: 191
- Total maintainers: 2
- Total advisories: 1
gem.coop: thin
A thin and fast web server
- Homepage: https://github.com/macournoyer/thin
- Documentation: http://www.rubydoc.info/gems/thin/
- Licenses: GPL-2.0-or-later,Ruby
- Latest release: 2.0.1 (published 8 months ago)
- Last Synced: 2026-03-02T21:01:25.360Z (1 day ago)
- Versions: 71
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 203,811,718 Total
- Docker Downloads: 490,432,177
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Downloads: 0.117%
- Docker downloads count: 0.253%
- Average: 0.497%
- Stargazers count: 1.083%
- Forks count: 1.532%
- Maintainers (2)
rubygems.org: thin
A thin and fast web server
- Homepage: https://github.com/macournoyer/thin
- Documentation: http://www.rubydoc.info/gems/thin/
- Licenses: GPL-2.0-or-later,Ruby
- Latest release: 2.0.1 (published 8 months ago)
- Last Synced: 2026-03-02T19:02:25.751Z (1 day ago)
- Versions: 71
- Dependent Packages: 912
- Dependent Repositories: 75,529
- Downloads: 203,808,531 Total
- Docker Downloads: 490,432,177
-
Rankings:
- Dependent packages count: 0.052%
- Downloads: 0.115%
- Dependent repos count: 0.135%
- Average: 0.578%
- Docker downloads count: 0.664%
- Stargazers count: 1.03%
- Forks count: 1.471%
- Maintainers (2)
- Advisories:
proxy.golang.org: github.com/macournoyer/thin
- Homepage:
- Documentation: https://pkg.go.dev/github.com/macournoyer/thin#section-documentation
- Licenses: other
- Latest release: v2.0.1+incompatible (published 8 months ago)
- Last Synced: 2026-03-01T14:01:46.628Z (2 days ago)
- Versions: 40
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.488%
- Average: 6.707%
- Dependent repos count: 6.926%
ubuntu-22.04: thin
- Homepage: https://github.com/macournoyer/thin
- Licenses:
- Latest release: 1.8.0-1ubuntu3 (published 18 days ago)
- Last Synced: 2026-02-13T14:08:13.066Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: thin
- Homepage: https://github.com/macournoyer/thin
- Documentation: https://packages.debian.org/trixie/thin
- Licenses:
- Latest release: 1.8.2+git20250216.de6b618-1 (published 19 days ago)
- Last Synced: 2026-02-12T15:23:56.903Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.04: thin
- Homepage: https://github.com/macournoyer/thin
- Licenses:
- Latest release: 1.8.0-1ubuntu5 (published 21 days ago)
- Last Synced: 2026-02-11T07:39:08.614Z (21 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: thin
- Homepage: https://github.com/macournoyer/thin
- Documentation: https://packages.debian.org/bullseye/thin
- Licenses:
- Latest release: 1.8.0-1 (published 21 days ago)
- Last Synced: 2026-02-13T08:39:20.974Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: thin
- Homepage: https://github.com/macournoyer/thin
- Licenses:
- Latest release: 1.8.0-1ubuntu5 (published 18 days ago)
- Last Synced: 2026-02-13T19:45:22.464Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
guix: ruby-thin
Thin and fast web server for Ruby
- Homepage: https://github.com/macournoyer/thin
- Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/ruby-xyz.scm#n14780
- Licenses: ruby
- Latest release: 1.7.2 (published 1 day ago)
- Last Synced: 2026-03-02T18:56:35.168Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: thin
- Homepage: https://github.com/macournoyer/thin
- Documentation: https://packages.debian.org/bookworm/thin
- Licenses:
- Latest release: 1.8.1-2 (published 19 days ago)
- Last Synced: 2026-02-13T00:44:25.892Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
Dependencies
- rake >= 12.3.3 development
- rake-compiler >= 0 development
- rspec ~> 3.5 development
- eventmachine ~> 1.0, >= 1.0.4
- rack >= 1, < 3
- actions/checkout v1 composite
- ruby/setup-ruby v1 composite
Score: 33.5275274215798