{"id":22282620,"url":"https://github.com/carbonfive/john","last_synced_at":"2025-06-14T03:33:21.556Z","repository":{"id":5697298,"uuid":"6907826","full_name":"carbonfive/john","owner":"carbonfive","description":"C5 LA's current bathroom status ","archived":false,"fork":false,"pushed_at":"2015-02-25T18:18:47.000Z","size":448,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":75,"default_branch":"master","last_synced_at":"2025-01-30T17:37:00.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carbonfive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-28T19:03:25.000Z","updated_at":"2015-11-13T21:00:26.000Z","dependencies_parsed_at":"2022-08-24T21:30:31.112Z","dependency_job_id":null,"html_url":"https://github.com/carbonfive/john","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carbonfive%2Fjohn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carbonfive%2Fjohn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carbonfive%2Fjohn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carbonfive%2Fjohn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carbonfive","download_url":"https://codeload.github.com/carbonfive/john/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245534533,"owners_count":20631285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T16:34:02.425Z","updated_at":"2025-03-25T19:44:58.157Z","avatar_url":"https://github.com/carbonfive.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"John\n====\n\nCan I go?\n\n\n### Usage\n\n    $ bundle exec foreman start\n\nOpen a web browser: `http://localhost:9393`\n\n### Testing\n\nIn a terminal window:\n\n    # redis-server\n\nIn a separate terminal:\n\n    # rake\n\n### CLI\n\n    $ thor bathroom:status\n    \u003e The john is not occupied.\n\n### Running with init.d\n\nYou may need to use sudo for these commands:\n\n    $ cp scripts/john.init.d.sample /etc/init.d/john\n    $ chmod +x /etc/init.d/john\n    $ /etc/init.d/john start\n\n### Load testing\n\nWe use JMeter to test server performance.\n\n    $ brew install jmeter\n\n    # Testing on production\n    $ RACK_ENV=production rake performance:test\n\n    # Testing locally\n    $ rake performance:test\n\nThen wait. You will see output like:\n\n```\nsummary +      9 in    35s =    0.3/s Avg: 14273 Min: 14174 Max:\n14397 Err:     0 (0.00%)\nsummary =     21 in    70s =    0.3/s Avg: 15163 Min: 13002 Max: 20387\nErr:     0 (0.00%)\n```\n\nThe key metric is the `0.3/s` metric, which means that at the 35 second\nmark, the server was able to respond to 0.3 requests per second.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarbonfive%2Fjohn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarbonfive%2Fjohn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarbonfive%2Fjohn/lists"}