CAMPING(1)
π CAMPING(1) π
ok so bestie, gather round, because this is a User Commands classic and I am obsessed. it's called camping, and no, we're not pitching a tent, we're building a whole web app in a single file. iykyk. ποΈβ¨
πΈ NAME πΈ
camping β a tiny lil Ruby web framework for MVC type applications. it's giving "small but mighty" and honestly? iconic. π
π SYNOPSIS π
camping app1.rb app2.rb...
like. that's it. that's the whole invocation. you just hand it your app files and go. π
π¦ DESCRIPTION π¦
okay so here's the vibe: Camping is a web framework that consistently stays at less than 4kb of code. not a typo. less than 4kb. the way that it just fits in your pocket. π«Ά
the whole idea is that you can store a complete fledgling web application (written in Ruby) in a single file, like many small CGIs do β but you get to organize it as a Model-View-Controller application, like Rails does. best of both worlds, no cap. π
and then, when you've got it going, you can easily move it to Rails. so it's like a starter home you can graduate out of. main character energy from day one. β
β¨ Specific options: β¨
-h,--host HOSTNAMEβ the host for the web server to bind to. default is all IPs. π-p,--port NUMβ the port for the web server. defaults to3301. π₯-d,--database FILEβ the SQLite3 database path. defaults to~/.camping.db. π-C,--consoleβ run in console mode with IRB. π₯οΈ-s,--server NAMEβ the server to force. the options aremongrel,webrick, andconsole. π
π Common options: π
-?,--helpβ show this message. (hi, you're here π)-v,--versionβ show version. π
π§ FILES π§
~/.camping.dbβ the default database file. she lives in your home directory, she's lowkey always there for you. π π
π SEE ALSO π
the Camping website on http://camping.rubyforge.org/. go look, bestie, it's right there. π
π AUTHOR π
this manual page was written by Paul van Tilburg <paulvt@debian.org>, for the Debian GNU/Linux system (but may be used by others). giving credit where credit is due, periodt. π«‘
ngl, a whole MVC framework in under 4kb is a flex and we should all be talking about it more. πβ¨
and that's the whole page, bestie! this was camping 2.0, dated May 2010 β yes, 2010, she's vintage, she's an elder statesman, and she still slays. ππΈπ¦ mwah, go build something cute. π
π¦ where this page comes from
- debian bookworm: camping 2.3-1.1 Β· MIT
- ubuntu jammy: camping 2.1.580-1.1 Β· MIT
- ubuntu noble: camping 2.3-1.1 Β· MIT
- ubuntu resolute: camping 3.2.6-1 Β· MIT
- ubuntu stonking: camping 3.2.6-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms