{"id":14956121,"url":"https://github.com/ipfs/iptb","last_synced_at":"2025-04-08T13:05:32.871Z","repository":{"id":30642230,"uuid":"34197787","full_name":"ipfs/iptb","owner":"ipfs","description":"InterPlanetary TestBed 🌌🛌","archived":false,"fork":false,"pushed_at":"2024-10-21T18:35:49.000Z","size":3340,"stargazers_count":163,"open_issues_count":33,"forks_count":37,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-10-29T11:00:26.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/ipfs.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":"2015-04-19T07:43:35.000Z","updated_at":"2024-10-21T18:35:40.000Z","dependencies_parsed_at":"2024-03-21T15:58:29.485Z","dependency_job_id":"84d1fecc-1929-4c88-87cd-39f55b950fd8","html_url":"https://github.com/ipfs/iptb","commit_stats":{"total_commits":181,"total_committers":25,"mean_commits":7.24,"dds":0.7624309392265194,"last_synced_commit":"6870a8814ed196bda4240237ae35334ccdf28698"},"previous_names":["whyrusleeping/iptb"],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fiptb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fiptb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fiptb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfs%2Fiptb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfs","download_url":"https://codeload.github.com/ipfs/iptb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239850434,"owners_count":19707351,"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-09-24T13:12:20.882Z","updated_at":"2025-03-25T09:06:00.562Z","avatar_url":"https://github.com/ipfs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPTB\n\n`iptb` is a program used to create and manage a cluster of sandboxed nodes\nlocally on your computer. Spin up 1000s of nodes! Using `iptb` makes testing\nlibp2p networks easy!\n\nFor working with IPFS please see [ipfs/iptb-plugins](https://github.com/ipfs/iptb-plugins).\n\n### Example (ipfs)\n\n```\n$ iptb auto -type \u003cplugin\u003e -count 5\n\u003coutput removed\u003e\n\n$ iptb start\n\n$ iptb shell 0\n$ echo $IPFS_PATH\n/home/iptb/testbed/testbeds/default/0\n\n$ echo 'hey!' | ipfs add -q\nQmNqugRcYjwh9pEQUK7MLuxvLjxDNZL1DH8PJJgWtQXxuF\n\n$ exit\n\n$ iptb connect 0 4\n\n$ iptb shell 4\n$ ipfs cat QmNqugRcYjwh9pEQUK7MLuxvLjxDNZL1DH8PJJgWtQXxuF\nhey!\n```\n\n### Usage\n```\nNAME:\n   iptb - iptb is a tool for managing test clusters of libp2p nodes\n\nUSAGE:\n   iptb [global options] command [command options] [arguments...]\n\nVERSION:\n   2.0.0\n\nCOMMANDS:\n     auto     create default testbed and initialize\n     testbed  manage testbeds\n     help, h  Shows a list of commands or help for one command\n   ATTRIBUTES:\n     attr  get, set, list attributes\n   CORE:\n     init     initialize specified nodes (or all)\n     start    start specified nodes (or all)\n     stop     stop specified nodes (or all)\n     restart  restart specified nodes (or all)\n     run      run command on specified nodes (or all)\n     connect  connect sets of nodes together (or all)\n     shell    starts a shell within the context of node\n   METRICS:\n     logs    show logs from specified nodes (or all)\n     events  stream events from specified nodes (or all)\n     metric  get metric from node\n\nGLOBAL OPTIONS:\n   --testbed value  Name of testbed to use under IPTB_ROOT (default: \"default\") [$IPTB_TESTBED]\n   --quiet          Suppresses extra output from iptb\n   --help, -h       show help\n   --version, -v    print the version\n```\n\n### Install\n\n_Note: For MacOS golang v1.11 is needed to support plugin loading\n(see [golang/go#24653](https://github.com/golang/go/issues/24653) for more information)_\n\n```\n$ go get github.com/ipfs/iptb\n```\n\n### Plugins\n\nPlugins are now used to implement support for managing nodes. Plugins are\nstored under `$IPTB_ROOT/plugins` (see [configuration](#configuration))\n\nPlugins for the IPFS project can be found in [ipfs/iptb-plugins](https://github.com/ipfs/iptb-plugins).\n\n### Configuration\n\nBy default, `iptb` uses `$HOME/testbed` to store created nodes. This path is configurable via the environment variables `IPTB_ROOT`.\n\n### License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfs%2Fiptb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfs%2Fiptb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfs%2Fiptb/lists"}