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 rubocop
Last synced: about 17 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
- Archived: true
- Created: 2008-01-19T05:39:04.000Z (over 18 years ago)
- Default Branch: master
- Last Pushed: 2026-07-15T19:34:32.000Z (about 1 month ago)
- Last Synced: 2026-08-05T15:01:23.616Z (11 days ago)
- Topics: rack, rails, ruby, server, thin, web-server
- Language: Ruby
- Homepage: https://rubygems.org/gems/thin
- Size: 1.96 MB
- Stars: 2,275
- Watchers: 49
- Forks: 344
- Open Issues: 21
- Releases: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Funding: .github/FUNDING.yml
- License: license.md
README.md
Thin
📌 Archived
After 20 years, Thin is no longer maintained. If you're starting something new, or looking to move off Thin, check out Falcon — a modern, actively maintained Ruby web server.
Special thanks to Samuel Williams, who has kept Thin maintained over the past couple of years.
To everyone who used Thin, filed issues, sent patches, or contributed over the years: thank you. This project meant a lot to me, and being part of a community because of it changed my life.
— Marc
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: macournoyer@gmail.com
- 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: 76
- Last ynced at: 2026-08-15T10:27:25.236Z
- Profile URL: https://github.com/macournoyer
GitHub Events
Total
- Delete event: 6
- Pull request event: 20
- Fork event: 46
- Issues event: 54
- Watch event: 20
- Issue comment event: 58
- Push event: 40
- Create event: 7
Last Year
- Issues event: 1
- Watch event: 1
- Issue comment event: 2
- Push event: 2
Committers metadata
Last synced: about 17 hours ago
Total Commits: 858
Total Committers: 115
Avg Commits per committer: 7.461
Development Distribution Score (DDS): 0.453
Commits in past year: 2
Committers in past year: 2
Avg Commits per committer in past year: 1.0
Development Distribution Score (DDS) in past year: 0.5
| Name | Commits | |
|---|---|---|
| macournoyer | m****r@g****m | 469 |
| 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 |
| Jérémy Zurcher | j****y@a****h | 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 |
| and 85 more... | ||
Committer domains:
- madvertise.com: 2
- redhat.com: 2
- smparkes.net: 1
- wincent.com: 1
- frameworked.de: 1
- lorenzetti.me: 1
- geekbunker.org: 1
- seonic.net: 1
- mackframework.com: 1
- markbates.com: 1
- mackenzie.cnet.cnwk: 1
- puppetlabs.com: 1
- basson.at: 1
- millennium-space.com: 1
- maginatics.com: 1
- crowdint.com: 1
- autopilotmarketing.com: 1
- archlinux.us: 1
- trivas.pl: 1
- asynk.ch: 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
- 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
- pebbleit.com: 1
- a13.fr: 1
- iij.ad.jp: 1
- cybage.com: 1
- vinsol.com: 1
- jarvis.co: 1
- cepheide.org: 1
- at-consulting.ru: 1
- moonpolysoft.com: 1
- oriontransfer.co.nz: 1
Issue and Pull Request metadata
Last synced: 4 days ago
Total issues: 119
Total pull requests: 50
Average time to close issues: over 3 years
Average time to close pull requests: 5 months
Total issue authors: 91
Total pull request authors: 28
Average comments per issue: 1.29
Average comments per pull request: 2.16
Merged pull request: 34
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 4
Past year average time to close issues: N/A
Past year average time to close pull requests: 1 day
Past year issue authors: 1
Past year pull request authors: 4
Past year average comments per issue: 0.0
Past year average comments per pull request: 2.25
Past year merged pull request: 2
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)
- macournoyer (4)
- and9000 (4)
- 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: 14
-
Total downloads:
- rubygems: 415,778,792 total
- Total docker downloads: 980,864,354
- Total dependent packages: 912 (may contain duplicates)
- Total dependent repositories: 75,529 (may contain duplicates)
- Total versions: 195
- Total maintainers: 2
- Total advisories: 1
ubuntu-24.10: thin
- Homepage: https://github.com/macournoyer/thin
- Licenses: other
- Latest release: 1.8.2-1ubuntu1 (published 6 months ago)
- Last Synced: 2026-03-13T18:16:46.955Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.18%
- Forks count: 0.284%
- Stargazers count: 0.434%
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: (published 5 days ago)
- Last Synced: 2026-08-11T22:03:28.216Z (5 days ago)
- Versions: 71
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 207,874,656 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 about 1 year ago)
- Last Synced: 2026-08-12T22:25:47.518Z (4 days ago)
- Versions: 71
- Dependent Packages: 912
- Dependent Repositories: 75,529
- Downloads: 207,904,136 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 about 1 year ago)
- Last Synced: 2026-08-11T22:03:29.014Z (5 days ago)
- Versions: 40
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 6.488%
- Average: 6.707%
- Dependent repos count: 6.926%
pkgsrc-netbsd-x86_64-10.1-all: www/thin
Fast and very simple Ruby web server
- Homepage: https://github.com/macournoyer/thin
- Documentation: https://pkgsrc.se/www/thin
- Licenses: ruby-license OR 2-clause-bsd OR gnu-gpl-v2
- Latest release: 2.0.1 (published 4 months ago)
- Last Synced: 2026-05-27T10:53:46.162Z (3 months 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: other
- Latest release: 1.8.0-1ubuntu5 (published 6 months ago)
- Last Synced: 2026-03-11T17:14:03.994Z (5 months 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: other
- Latest release: 1.8.0-1 (published 6 months ago)
- Last Synced: 2026-03-14T08:21:30.310Z (5 months 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#n14781
- Licenses: ruby
- Latest release: 1.7.2 (published 6 months ago)
- Last Synced: 2026-04-27T16:17:43.692Z (4 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-22.04: thin
- Homepage: https://github.com/macournoyer/thin
- Status: removed
- Licenses: other
- Latest release: 1.8.0-1ubuntu3 (published 6 months ago)
- Last Synced: 2026-07-22T17:12:46.076Z (25 days 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: other
- Latest release: 1.8.1-2 (published 6 months ago)
- Last Synced: 2026-03-14T02:25:55.362Z (5 months 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: other
- Latest release: 1.8.0-1ubuntu5 (published 6 months ago)
- Last Synced: 2026-03-14T06:14:21.081Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-24.04: thin
- Homepage: https://github.com/macournoyer/thin
- Licenses: other
- Latest release: 1.8.1-2ubuntu3 (published 6 months ago)
- Last Synced: 2026-03-13T05:13:29.190Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
gentoo-portage: www-servers/thin
A fast and very simple Ruby web server
- Homepage: https://github.com/macournoyer/thin
- Documentation: https://packages.gentoo.org/packages/www-servers/thin
- Licenses: || ( GPL-2+ Ruby )
- Latest release: 2.0.1 (published 4 months ago)
- Last Synced: 2026-07-21T01:48:03.313Z (27 days ago)
- Versions: 3
- 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: other
- Latest release: 1.8.2+git20250216.de6b618-1 (published 6 months ago)
- Last Synced: 2026-03-12T16:13:54.485Z (5 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
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.541248740779466