{"id":13463293,"url":"https://github.com/tomlea/geminabox","last_synced_at":"2025-03-25T06:31:47.606Z","repository":{"id":66530769,"uuid":"46720809","full_name":"tomlea/geminabox","owner":"tomlea","description":"Really simple rubygem hosting","archived":false,"fork":true,"pushed_at":"2016-02-15T16:41:48.000Z","size":435,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-23T13:02:44.788Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tomlea.co.uk/p/gem-in-a-box","language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"geminabox/geminabox","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomlea.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-23T13:07:09.000Z","updated_at":"2023-03-07T09:45:08.000Z","dependencies_parsed_at":"2023-05-02T12:37:54.908Z","dependency_job_id":null,"html_url":"https://github.com/tomlea/geminabox","commit_stats":null,"previous_names":["cwninja/geminabox"],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlea%2Fgeminabox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlea%2Fgeminabox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlea%2Fgeminabox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomlea%2Fgeminabox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomlea","download_url":"https://codeload.github.com/tomlea/geminabox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245414096,"owners_count":20611357,"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-07-31T13:00:50.035Z","updated_at":"2025-03-25T06:31:47.144Z","avatar_url":"https://github.com/tomlea.png","language":"Ruby","funding_links":[],"categories":["Package \u0026 Dependency Management"],"sub_categories":["Gem Hosting"],"readme":"# Gem in a Box – Really simple rubygem hosting\n[![Build Status](https://secure.travis-ci.org/geminabox/geminabox.png)](http://travis-ci.org/geminabox/geminabox)\n[![Gem Version](https://badge.fury.io/rb/geminabox.png)](http://badge.fury.io/rb/geminabox)\n[![Code Climate](https://codeclimate.com/github/geminabox/geminabox/badges/gpa.svg)](https://codeclimate.com/github/geminabox/geminabox)\n\nGeminabox lets you host your own gems, and push new gems to it just like with rubygems.org.\nThe bundler dependencies API is supported out of the box.\nAuthentication is left up to either the web server, or the Rack stack.\nFor basic auth, try [Rack::Auth](http://www.rubydoc.info/github/rack/rack/Rack/Auth/Basic).\n\n![screen shot](http://pics.tomlea.co.uk/bbbba6/geminabox.png)\n\n## System Requirements\n\n    Tested on Mac OS X 10.8.2\n    Ruby 1.9.3-392\n\n    Tests fail on Ruby 2.0.0-p0\n\n## Server Setup\n\n    gem install geminabox\n\nCreate a config.ru as follows:\n\n    require \"rubygems\"\n    require \"geminabox\"\n\n    Geminabox.data = \"/var/geminabox-data\" # ... or wherever\n    run Geminabox::Server\n\nStart your gem server with 'rackup' to run WEBrick or hook up the config.ru as you normally would ([passenger][passenger], [thin][thin], [unicorn][unicorn], whatever floats your boat).\n\n## Legacy RubyGems index\n\nRubyGems supports generating indexes for the so called legacy versions (\u003c 1.2), and since it is very rare to use such versions nowadays, it can be disabled, thus improving indexing times for large repositories. If it's safe for your application, you can disable support for these legacy versions by adding the following configuration to your config.ru file:\n\n    Geminabox.build_legacy = false\n\n## RubyGems Proxy\n\nGeminabox can be configured to pull gems, it does not currently have, from rubygems.org. To enable this mode you can either:\n\nSet RUBYGEM_PROXY to true in the environment:\n\n    RUBYGEMS_PROXY=true rackup\n\nOr in config.ru (before the run command), set:\n\n    Geminabox.rubygems_proxy = true\n\nIf you want Geminabox to carry on providing gems when rubygems.org is unavailable, add this to config.ru:\n\n    Geminabox.allow_remote_failure = true \n\n## HTTP adapter\n\nGeminabox uses the HTTPClient gem to manage its connections to remote resources.\nThe relationship is managed via Geminabox::HttpClientAdapter.\n\nIf you would like to use an alternative HTTP gem, create your own adapter\nand specify it in config.ru:\n\n    Geminabox.http_adapter = YourHttpAdapter.new\n\nIt is recommend (but not essential) that your adapter inherits from HttpAdapter.\nThe adapter will need to replace HttpAdapter's methods with those specific to\nthe alternative HTTP gem. It should also be able to handle HTTP proxy\nsettings. \n\nDefining your own adapter also allows you to configure Geminabox to use the\nlocal systems SSL certificates.\n\nTemplateFaradayAdapter is provided as an example of an alternative HTTPAdapter.\n\n## Client Usage\n\nSince version 0.10, Geminabox supports the standard gemcutter push API:\n\n    gem push pkg/my-awesome-gem-1.0.gem --host HOST\n\nYou can also use the gem plugin:\n\n    gem install geminabox\n\n    gem inabox pkg/my-awesome-gem-1.0.gem\n\nConfigure Gem in a box (interactive prompt to specify where to upload to):\n\n    gem inabox -c\n\nChange the host to upload to:\n\n    gem inabox -g HOST\n\nSimples!\n\n## Command Line Help\n\n    Usage: gem inabox GEM [options]\n\n      Options:\n        -c, --configure                  Configure GemInABox\n        -g, --host HOST                  Host to upload to.\n        -o, --overwrite                  Overwrite Gem.\n\n\n      Common Options:\n        -h, --help                       Get help on this command\n        -V, --[no-]verbose               Set the verbose level of output\n        -q, --quiet                      Silence commands\n            --config-file FILE           Use this config file instead of default\n            --backtrace                  Show stack backtrace on errors\n            --debug                      Turn on Ruby debugging\n\n\n      Arguments:\n        GEM       built gem to push up\n\n      Summary:\n        Push a gem up to your GemInABox\n\n      Description:\n        Push a gem up to your GemInABox\n\n## Licence\n\nFork it, mod it, choose it, use it, make it better. All under the MIT License.\n\n[WTFBPPL]: http://tomlea.co.uk/WTFBPPL.txt\n[sinatra]: http://www.sinatrarb.com/\n[passenger]: http://www.modrails.com/\n[thin]: http://code.macournoyer.com/thin/\n[unicorn]: http://unicorn.bogomips.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomlea%2Fgeminabox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomlea%2Fgeminabox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomlea%2Fgeminabox/lists"}