[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8004":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":10,"pushedAt":10,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},8004,"thin","macournoyer\u002Fthin","macournoyer","A very fast & simple Ruby web server","https:\u002F\u002Frubygems.org\u002Fgems\u002Fthin",null,"Ruby",2275,347,49,15,0,1,59.72,"Other",false,"master",[23,24,25,26,5,27],"rack","rails","ruby","server","web-server","2026-06-12 04:00:37","# Thin\n\nA small and fast Ruby web server\n\n## Installation\n\n```\ngem install thin\n```\n\nOr add `thin` to your `Gemfile`:\n\n```ruby\ngem 'thin'\n```\n\n## Usage\n\nA +thin+ script offers an easy way to start your Rack application:\n\n```\nthin start\n```\n\nBrowse the `example` directory for sample applications.\n\n### CLI\n\nUse a rackup (config.ru) file and bind to localhost port 8080:\n\n```\nthin -R config.ru -a 127.0.0.1 -p 8080 start\n```\n\nStore the server process ID, log to a file and daemonize:\n\n```\nthin -p 9292 -P tmp\u002Fpids\u002Fthin.pid -l logs\u002Fthin.log -d start\n```\n\nThin is quite flexible in that many options can be specified at the command line (see `thin -h` for more).\n\n### Configuration files\n\nYou can create a configuration file using `thin config -C config\u002Fthin.yml`.\n\nYou can then use it with all commands, such as: `thin start -C config\u002Fthin.yml`.\n\nHere is an example config file:\n\n```yaml\n--- \nuser: www-data\ngroup: www-data\npid: tmp\u002Fpids\u002Fthin.pid\ntimeout: 30\nwait: 30\nlog: log\u002Fthin.log\nmax_conns: 1024\nrequire: []\nenvironment: production\nmax_persistent_conns: 512\nservers: 1\nthreaded: true\nno-epoll: true\ndaemonize: true\nsocket: tmp\u002Fsockets\u002Fthin.sock\nchdir: \u002Fpath\u002Fto\u002Fyour\u002Fapps\u002Froot\ntag: a-name-to-show-up-in-ps aux\n```\n\n## License\n\nCopyright, 2007-2025, by Marc-Andre Cournoyer and other contributors.\n\nReleased under the Ruby License, the 2-clause BSDL and the GNU General Public License (GPL) version 2 (or later). You can redistribute it and\u002For modify it under the terms of any of these licenses.\n\n## Credits\n\nThe parser was originally from Mongrel http:\u002F\u002Fmongrel.rubyforge.org by Zed Shaw.\nMongrel is copyright 2007 Zed A. Shaw and contributors. It is licensed under\nthe Ruby license and the GPL2.\n\nThin is copyright Marc-Andre Cournoyer \u003Cmacournoyer@gmail.com>\n\nGet help at http:\u002F\u002Fgroups.google.com\u002Fgroup\u002Fthin-ruby\u002F\nReport bugs at https:\u002F\u002Fgithub.com\u002Fmacournoyer\u002Fthin\u002Fissues\nand major security issues directly to me at macournoyer@gmail.com.\n","Thin 是一个快速且简单的 Ruby Web 服务器。它基于 Rack 协议，能够高效地运行 Ruby on Rails 应用程序以及其他 Rack 兼容的应用。其核心功能包括轻量级设计、高性能处理能力以及丰富的命令行选项和配置文件支持，使得用户可以根据需求灵活调整服务器设置，如绑定地址、端口、日志记录等。此外，Thin 支持后台运行模式及多进程部署，适合用于开发环境中的快速测试或是生产环境中对性能有较高要求的小到中型网站托管。",2,"2026-06-11 03:15:35","top_language"]