{"id":25776457,"url":"https://github.com/janlelis/wirb","last_synced_at":"2025-10-09T23:45:17.827Z","repository":{"id":1352212,"uuid":"1299549","full_name":"janlelis/wirb","owner":"janlelis","description":"Ruby Object Inspection for IRB","archived":false,"fork":false,"pushed_at":"2022-12-25T21:14:31.000Z","size":209,"stargazers_count":70,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-14T05:58:22.383Z","etag":null,"topics":["hacktoberfest","irb","ruby","stdlib","syntax-highlighting","terminal","tokenizer"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janlelis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-01-27T16:23:23.000Z","updated_at":"2023-11-10T20:45:16.000Z","dependencies_parsed_at":"2023-01-13T11:06:43.248Z","dependency_job_id":null,"html_url":"https://github.com/janlelis/wirb","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Fwirb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Fwirb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Fwirb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janlelis%2Fwirb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janlelis","download_url":"https://codeload.github.com/janlelis/wirb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240987435,"owners_count":19889334,"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":["hacktoberfest","irb","ruby","stdlib","syntax-highlighting","terminal","tokenizer"],"created_at":"2025-02-27T06:01:24.482Z","updated_at":"2025-10-09T23:45:12.766Z","avatar_url":"https://github.com/janlelis.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"## WIRB Interactive Ruby [![version](https://badge.fury.io/rb/wirb.svg)](https://badge.fury.io/rb/wirb) [\u003cimg src=\"https://github.com/janlelis/wirb/workflows/Test/badge.svg\" /\u003e](https://github.com/janlelis/wirb/actions?query=workflow%3ATest)\n\nThe **WIRB** gem syntax highlights Ruby objects. Works best as your default REPL inspector (see usage section below), but does not require IRB.\n\nSupported Rubies: 3.1, 2.7, 2.6\n\nOlder Rubies, should work: 2.5, 2.4, 2.3, 2.2, 2.1, 2.0, rubinius\n\nAncient Rubies (1.9, 1.8): Please use [WIRB 1.0](https://github.com/janlelis/wirb/tree/1.0.3)\n\n## Features\n\n* Syntax highlighting for inspected Ruby objects\n* No monkey patches anywhere\n* Support for generic objects, especially enumerators, and nested generic objects\n* Supports common standard library objects, like `Set`\n* Color schemas customizable via YAML\n\n## Install\n\nInstall the gem with:\n\n    $ gem install wirb\n\nOr add it to your Gemfile:\n\n   gem 'wirb'\n\n## Usage\n\nTo start IRB with WIRB activated for one session, do:\n\n    $ irb -r wirb --inspect wirb\n\nTo activate WIRB permanently, you can add this to the `~/.irbrc` file:\n\n    require 'wirb'\n    Wirb.start\n\nAnother way would be to use [Irbtools](https://irb.tools), which activate WIRB automatically.\n\n## `Kernel#wp`\n\nWIRB comes with a pretty printing utility (similar to awesome_print):\n\n    require 'wirb/wp'\n    wp some_object\n\n### Bundled Schemas\n\nThese are the bundled color schemas. You can load one with `Wirb.load_schema(:name)`\n\n* `:classic` (default)\n* `:colorless` (only uses :bright, :underline and :inverse effect)\n* `:ultra` (by @venantius, matches the colorscheme from [Ultra](https://github.com/venantius/ultra) over in Clojure-land)\n\n### Usage with Rails\n\nIf you run into problems using WIRB with Rails, try [the solution in this issue](https://github.com/janlelis/wirb/issues/12#issuecomment-249492524).\n\n## Also See\n\n* Gem that allows you to configure views for specific objects:\n  [hirb](https://github.com/cldwalker/hirb)\n* WIRB is part of: [Irbtools](https://github.com/janlelis/irbtools)\n* More about terminal colors: [Paint](https://github.com/janlelis/paint)\n\n## Credits\n\nCopyright (c) 2011-2022 Jan Lelis \u003chttps://janlelis.com\u003e see COPYING for details.\n\nFirst tokenizer version was based on the [wirble](https://rubygems.org/gems/wirble) gem:\nCopyright (C) 2006-2009 Paul Duncan \u003cpabs@pablotron.org\u003e\n\n[All contributors](https://github.com/janlelis/wirb/contributors)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlelis%2Fwirb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanlelis%2Fwirb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanlelis%2Fwirb/lists"}