{"id":24755264,"url":"https://github.com/katzer/fifa","last_synced_at":"2026-03-04T07:31:34.565Z","repository":{"id":138108782,"uuid":"71790470","full_name":"katzer/fifa","owner":"katzer","description":"Find out how to connect with your infrastructure","archived":false,"fork":false,"pushed_at":"2024-08-26T19:52:16.000Z","size":248,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-11T01:32:01.300Z","etag":null,"topics":["cli","mruby-cli","orbit"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katzer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-24T13:12:48.000Z","updated_at":"2024-08-26T19:52:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"86556f9d-ccaf-40ce-8252-4c4ecd523aa1","html_url":"https://github.com/katzer/fifa","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/katzer/fifa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Ffifa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Ffifa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Ffifa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Ffifa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katzer","download_url":"https://codeload.github.com/katzer/fifa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katzer%2Ffifa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","mruby-cli","orbit"],"created_at":"2025-01-28T12:37:59.542Z","updated_at":"2026-03-04T07:31:34.530Z","avatar_url":"https://github.com/katzer.png","language":"Ruby","readme":"# fifa - Find Fast EVERYTHING! \u003cbr\u003e ![GitHub release](https://img.shields.io/github/v/release/katzer/fifa) [![Build Status](https://travis-ci.com/katzer/fifa.svg?branch=master)](https://travis-ci.com/katzer/fifa) [![Build status](https://ci.appveyor.com/api/projects/status/767rj22k1qmdy08h/branch/master?svg=true)](https://ci.appveyor.com/project/katzer/fifa/branch/master) [![Maintainability](https://api.codeclimate.com/v1/badges/5aa3c3746eb58f455183/maintainability)](https://codeclimate.com/github/katzer/fifa/maintainability)\n\nA tool to find out the way to any \"planet\".\n\n    $ fifa -h\n        \n    Usage: fifa [options...] [matchers...]\n    Options:\n    -a ATTRIBUTE    Show value of attribute\n    -f FORMAT       Show formatted connection string\n                    Possible formats are jdbc, sqlplus, url, tns or pqdb\n    -n, --no-color  Print errors without colors\n    -g, --group     Group planets by attribute value\n    -p, --pretty    Pretty print output as a table\n    -s, --sort      Print planets in sorted order\n    -t, --type      Show type of planet\n    -c, --count     Show count of matching planets\n    -h, --help      This help text\n    -v, --version   Show version number\n\n## Prerequisites\n\nYou'll need to add your `ORBIT_FILE` first to your profile:\n\n    $ export ORBIT_FILE=/path/to/orbit.json\n\n## Installation\n\nDownload the latest version from the [release page][releases] and add the executable to your `PATH`.\n\n## Usage\n\nGet the connection by type:\n\n    $ export ORBIT_FILE=/path/to/orbit.json\n\n    $ fifa app-package-1 app-package-2\n    user@hostname-1.de\n    user@hostname-2.de\n\n    $ fifa -f tns db-package\n    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=host.de)(PORT=1234)))(CONNECT_DATA=(SID=hostid)))\n\nPassing ids is optional. If no ids are specified, then _fifa_ executes the request for all found planets.\n\nGet the type:\n\n    $ fifa -t db-package\n    db\n\nGet a specific attribute:\n\n    $ fifa -a port db-package\n    12343\n\nGet count of matching planets:\n\n    $ fifa -c type=db@tags:ora10 type=db@tags:ora11\n    0\n    25\n\nGet count of planets group by type:\n\n    $ fifa -c -g type\n    41\n    82\n    84\n    85\n\nPretty print output:\n\n    $ fifa -p app-package db-package web-package\n    \n    +-----+-------------+--------+-----------+------------------------+\n    |           ./fifa -p app-package db-package web-package          |\n    +-----+-------------+--------+-----------+------------------------+\n    | NR. | ID          | TYPE   | NAME      | CONNECTION             |\n    +-----+-------------+--------+-----------+------------------------+\n    |  0. | app-package | server | Server    | user1@url1.de          |\n    +-----+-------------+--------+-----------+------------------------+\n    |  1. | db-package  | db     | Database  | url_url1.bla.blergh.de |\n    +-----+-------------+--------+-----------+------------------------+\n    |  2. | web-package | web    | Webserver | https://url.1.net      |\n    +-----+-------------+--------+-----------+------------------------+\n\n## Matchers\n\nAs its done the good old way:\n\n    $ fifa planet-1 planet-2\n\nThat basically means to find any planet with id _planet-1_ __or__ _planet-2_ and is just a shortened way for:\n\n    $ fifa id=planet-1 id=planet-2\n\nWhich is a shortened way for:\n\n    $ fifa @id=planet-1 @id=planet-2\n\nThe opposite, e.g. find all planets who have a different id other than _planet-1_ __and__ _planet-2_ can be expressed as follows:\n\n    $ fifa %id=planet-1%id=planet-2\n\nOr by using a regular expression:\n\n    $ fifa %id:planet-1|planet-2\n\nLets find all productive server Jens has to take care about:\n\n    $ fifa type=server@env=prod@tags:Jens\n\n## Internal features\n\nFormat used by the _ski_ tool:\n\n    $ fifa --no-colors -f ski\n    1|app-package|server|My App-Package|user1@url1.de\n    0|other-package|server|Other Package|missing user\n    1|db-package|db|My DB-Package|OP-DB:user1@url1.de\n    1|web-package|web|My Web-Package|https://url.1.net\n\nThe general format is `type|id|name|type specific connection`.\n\n## Development\n\nClone the repo:\n    \n    $ git clone https://github.com/katzer/fifa.git \u0026\u0026 cd fifa/\n\nInstall the dependencies:\n\n    $ bundle\n\nAnd then execute:\n\n    $ rake compile\n\nTo compile the sources locally for the host machine only:\n\n    $ MRUBY_CLI_LOCAL=1 rake compile\n\nYou'll be able to find the binaries in the following directories:\n\n- Linux (AMD64, Musl): `build/x86_64-alpine-linux-musl/bin/fifa`\n- Linux (AMD64, GNU): `build/x86_64-pc-linux-gnu/bin/fifa`\n- Linux (AMD64, for old distros): `build/x86_64-pc-linux-gnu-glibc-2.9/bin/fifa`\n- OS X (AMD64): `build/x86_64-apple-darwin19/bin/fifa`\n- OS X (ARM64): `build/arm64-apple-darwin19/bin/fifa`\n- Windows (AMD64): `build/x86_64-w64-mingw32/bin/fifa`\n- Host: `build/host/bin/fifa`\n\nFor the complete list of build tasks:\n\n    $ rake -T\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/katzer/fifa.\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nThe code is available as open source under the terms of the [Apache 2.0 License][license].\n\nMade with :heart: in Leipzig\n\n© 2016 [appPlant GmbH][appplant]\n\n[releases]: https://github.com/katzer/fifa/releases\n[license]: http://opensource.org/licenses/Apache-2.0\n[appplant]: www.appplant.de\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Ffifa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatzer%2Ffifa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatzer%2Ffifa/lists"}