A summary of data about the Ruby ecosystem.

https://github.com/ruby/webrick

HTTP server toolkit
https://github.com/ruby/webrick

Keywords

ruby webrick

Keywords from Contributors

repl rubygems bigdecimal activerecord debugger debugging-tool strscan activejob mvc documentation-tool

Last synced: about 10 hours ago
JSON representation

Repository metadata

HTTP server toolkit

README.md

Webrick

WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server.

WEBrick features complete logging of both server operations and HTTP access.

WEBrick supports both basic and digest authentication in addition to algorithms not in RFC 2617.

A WEBrick server can be composed of multiple WEBrick servers or servlets to provide differing behavior on a per-host or per-path basis. WEBrick includes servlets for handling CGI scripts, ERB pages, Ruby blocks and directory listings.

WEBrick also includes tools for daemonizing a process and starting a process at a higher privilege level and dropping permissions.

WEBrick is suitable for use in testing and for development. However, while the developers of WEBrick will attempt to fix security issues, they do not encourage the use of WEBrick to serve production web applications that may be subject to hostile input.

Installation

Add this line to your application's Gemfile:

gem 'webrick'

And then execute:

$ bundle

Or install it yourself as:

$ gem install webrick

Usage

To create a new WEBrick::HTTPServer that will listen to connections on port 8000 and serve documents from the current user's public_html folder:

require 'webrick'

root = File.expand_path '~/public_html'
server = WEBrick::HTTPServer.new :Port => 8000, :DocumentRoot => root

To run the server you will need to provide a suitable shutdown hook as
starting the server blocks the current thread:

trap 'INT' do server.shutdown end

server.start

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/webrick.

License

The gem is available as open source under the terms of the 2-Clause BSD License.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 3 days ago

Total Commits: 572
Total Committers: 69
Avg Commits per committer: 8.29
Development Distribution Score (DDS): 0.86

Commits in past year: 25
Committers in past year: 8
Avg Commits per committer in past year: 3.125
Development Distribution Score (DDS) in past year: 0.44

Name Email Commits
gotoyuzo g****o@b****e 80
Hiroshi SHIBATA h****t@r****g 78
nobu n****u@b****e 59
normal n****l@b****e 43
naruse n****e@b****e 34
akr a****r@b****e 33
Jeremy Evans c****e@j****t 29
Kazuhiro NISHIYAMA zn@m****m 25
dependabot[bot] 4****] 22
Yusuke Endoh m****e@r****g 15
drbrain d****n@b****e 15
nahi n****i@b****e 11
usa u****a@b****e 11
matz m****z@b****e 9
John W Higgins w****v@g****m 8
Samuel Williams s****s@o****z 8
a_matsuda a****a@b****e 8
Olle Jonsson o****n@g****m 6
Takashi Kokubun t****n@g****m 4
ko1 k****1@b****e 4
shyouhei s****i@b****e 4
zzak z****k@b****e 4
ngoto n****o@b****e 3
Mathieu Jobin m****n 3
marcandre m****e@b****e 3
ooooooo_q o****q 2
knu k****u@b****e 2
ayumin a****n@b****e 2
tenderlove t****e@b****e 2
Jean Boussier j****r@g****m 2
and 39 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 22 days ago

Total issues: 49
Total pull requests: 147
Average time to close issues: 2 months
Average time to close pull requests: about 1 month
Total issue authors: 41
Total pull request authors: 47
Average comments per issue: 2.33
Average comments per pull request: 0.71
Merged pull request: 118
Bot issues: 0
Bot pull requests: 26

Past year issues: 4
Past year pull requests: 24
Past year average time to close issues: 6 days
Past year average time to close pull requests: about 3 hours
Past year issue authors: 3
Past year pull request authors: 8
Past year average comments per issue: 1.5
Past year average comments per pull request: 0.42
Past year merged pull request: 16
Past year bot issues: 0
Past year bot pull requests: 15

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/ruby/webrick

Top Issue Authors

  • kenballus (6)
  • forthrin (3)
  • headius (2)
  • manihere (1)
  • rdp (1)
  • eregon (1)
  • HoneyryderChuck (1)
  • enescakir (1)
  • micchickenburger (1)
  • kan-datawow (1)
  • Aetherus (1)
  • niubl (1)
  • mainsunshine01 (1)
  • mtasaka (1)
  • noraj (1)

Top Pull Request Authors

  • jeremyevans (30)
  • dependabot[bot] (26)
  • znz (10)
  • ioquatix (10)
  • wishdev (8)
  • hsbt (7)
  • olleolleolle (4)
  • nobu (4)
  • paulownia (3)
  • mame (3)
  • casperisfine (2)
  • thekuwayama (2)
  • Athishpranav2003 (2)
  • iurev (2)
  • byroot (2)

Top Issue Labels

Top Pull Request Labels

  • dependencies (26)
  • github_actions (13)

Package metadata

gem.coop: webrick

WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server.

rubygems.org: webrick

WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server.

proxy.golang.org: github.com/ruby/webrick

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/ruby/webrick#section-documentation
  • Licenses: bsd-2-clause
  • Latest release: v1.9.2 (published 3 months ago)
  • Last Synced: 2026-03-02T06:21:29.441Z (1 day ago)
  • Versions: 16
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 2.757%
    • Stargazers count: 3.406%
    • Average: 6.635%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
alpine-v3.18: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.8.1-r0 (published almost 3 years ago)
  • Last Synced: 2026-02-06T07:15:48.707Z (26 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 7.003%
    • Forks count: 12.373%
    • Stargazers count: 15.64%
  • Maintainers (1)
alpine-v3.18: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.8.1-r0 (published almost 3 years ago)
  • Last Synced: 2026-03-02T09:14:02.681Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 7.003%
    • Forks count: 12.373%
    • Stargazers count: 15.64%
  • Maintainers (1)
alpine-v3.15: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.7.0-r0 (published over 4 years ago)
  • Last Synced: 2026-02-06T07:04:17.962Z (26 days ago)
  • Versions: 1
  • Dependent Packages: 3
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 7.109%
    • Dependent packages count: 8.198%
    • Forks count: 9.283%
    • Stargazers count: 10.954%
  • Maintainers (1)
alpine-v3.16: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.7.0-r1 (published almost 4 years ago)
  • Last Synced: 2026-03-01T01:00:18.909Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 3
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 7.716%
    • Dependent packages count: 9.004%
    • Forks count: 9.92%
    • Stargazers count: 11.939%
  • Maintainers (1)
alpine-edge: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.9.1-r0 (published 11 months ago)
  • Last Synced: 2026-02-23T14:01:20.621Z (8 days ago)
  • Versions: 4
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 6.031%
    • Average: 9.18%
    • Forks count: 13.627%
    • Stargazers count: 17.063%
  • Maintainers (1)
alpine-edge: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.9.1-r0 (published 11 months ago)
  • Last Synced: 2026-03-01T00:34:16.404Z (3 days ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 11.333%
    • Forks count: 13.627%
    • Dependent packages count: 14.641%
    • Stargazers count: 17.063%
  • Maintainers (1)
alpine-v3.15: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.7.0-r0 (published over 4 years ago)
  • Last Synced: 2026-03-01T00:57:33.302Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Forks count: 9.365%
    • Stargazers count: 10.954%
    • Average: 11.476%
    • Dependent packages count: 25.585%
  • Maintainers (1)
alpine-v3.16: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.7.0-r1 (published almost 4 years ago)
  • Last Synced: 2026-02-05T07:03:25.623Z (27 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Forks count: 9.92%
    • Stargazers count: 11.939%
    • Average: 12.292%
    • Dependent packages count: 27.311%
  • Maintainers (1)
alpine-v3.17: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.7.0-r1 (published almost 4 years ago)
  • Last Synced: 2026-02-05T10:30:47.815Z (27 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Forks count: 11.867%
    • Average: 13.397%
    • Stargazers count: 14.466%
    • Dependent packages count: 27.254%
  • Maintainers (1)
alpine-v3.17: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.7.0-r1 (published almost 4 years ago)
  • Last Synced: 2026-03-02T09:14:08.899Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Forks count: 11.867%
    • Average: 13.397%
    • Stargazers count: 14.466%
    • Dependent packages count: 27.254%
  • Maintainers (1)
alpine-v3.23: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.9.1-r0 (published 11 months ago)
  • Last Synced: 2026-02-03T15:56:52.044Z (28 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-24.04: ruby-webrick

  • Homepage: https://github.com/ruby/webrick
  • Licenses:
  • Latest release: 1.8.1-1 (published 27 days ago)
  • Last Synced: 2026-02-05T07:43:23.251Z (27 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-23.04: ruby-webrick

  • Homepage: https://github.com/ruby/webrick
  • Licenses:
  • Latest release: 1.8.1-1 (published 21 days ago)
  • Last Synced: 2026-02-11T00:29:55.208Z (21 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
alpine-v3.20: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.8.1-r1 (published about 2 years ago)
  • Last Synced: 2026-03-02T10:27:59.134Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
ubuntu-24.10: ruby-webrick

  • Homepage: https://github.com/ruby/webrick
  • Licenses:
  • Latest release: 1.8.1-1ubuntu1 (published 24 days ago)
  • Last Synced: 2026-02-08T06:37:44.535Z (24 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
alpine-v3.22: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.9.1-r0 (published 11 months ago)
  • Last Synced: 2026-03-02T10:27:22.988Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.21: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.8.1-r1 (published about 2 years ago)
  • Last Synced: 2026-03-02T10:27:43.010Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
debian-13: ruby-webrick

  • Homepage: https://github.com/ruby/webrick
  • Documentation: https://packages.debian.org/trixie/ruby-webrick
  • Licenses:
  • Latest release: 1.9.1-1 (published 19 days ago)
  • Last Synced: 2026-02-13T13:20:49.003Z (18 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: ruby-webrick

  • Homepage: https://github.com/ruby/webrick
  • Licenses:
  • Latest release: 1.8.1-1 (published 22 days ago)
  • Last Synced: 2026-02-09T20:09:20.889Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
alpine-v3.23: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.9.1-r0 (published 11 months ago)
  • Last Synced: 2026-02-03T15:56:53.971Z (28 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
alpine-v3.20: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.8.1-r1 (published about 2 years ago)
  • Last Synced: 2026-02-05T08:03:44.637Z (27 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.19: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.8.1-r0 (published almost 3 years ago)
  • Last Synced: 2026-02-03T13:26:00.167Z (28 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
debian-12: ruby-webrick

  • Homepage: https://github.com/ruby/webrick
  • Documentation: https://packages.debian.org/bookworm/ruby-webrick
  • Licenses:
  • Latest release: 1.8.1-1 (published 19 days ago)
  • Last Synced: 2026-02-12T23:44:11.058Z (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-22.04: ruby-webrick

  • Homepage: https://github.com/ruby/webrick
  • Licenses:
  • Latest release: 1.7.0-3 (published 18 days ago)
  • Last Synced: 2026-02-13T13:28:32.728Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
alpine-v3.19: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.8.1-r0 (published almost 3 years ago)
  • Last Synced: 2026-02-17T01:19:57.393Z (15 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.22: ruby-webrick

HTTP server toolkit for Ruby

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.9.1-r0 (published 11 months ago)
  • Last Synced: 2026-03-01T01:16:37.951Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)
alpine-v3.21: ruby-webrick-doc

HTTP server toolkit for Ruby (ri docs)

  • Homepage: https://github.com/ruby/webrick
  • Licenses: BSD-2-Clause
  • Latest release: 1.8.1-r1 (published about 2 years ago)
  • Last Synced: 2026-03-01T01:22:04.249Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
  • Maintainers (1)

Dependencies

Gemfile rubygems
  • rake >= 0
  • test-unit >= 0
.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
webrick.gemspec rubygems
.github/workflows/push_gem.yml actions
  • actions/checkout 1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 composite
  • ruby/setup-ruby 8aeb6ff8030dd539317f8e1769a044873b56ea71 composite
  • rubygems/release-gem 1c162a739e8b4cb21a676e97b087e8268d8fc40b composite
  • step-security/harden-runner 95d9a5deda9de15063e7595e9719c11c38c90ae2 composite

Score: 32.74134812334157