{"id":19017681,"url":"https://github.com/jon4hz/wishbox","last_synced_at":"2025-04-23T02:51:10.231Z","repository":{"id":37253266,"uuid":"460814944","full_name":"jon4hz/wishbox","owner":"jon4hz","description":"📦 wishlist using netbox as inventory source","archived":false,"fork":false,"pushed_at":"2023-07-03T22:04:16.000Z","size":165,"stargazers_count":12,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-17T18:23:48.199Z","etag":null,"topics":["netbox","ssh","ssh-directoy","wishlist"],"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/jon4hz.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2022-02-18T10:51:15.000Z","updated_at":"2024-08-09T06:20:47.000Z","dependencies_parsed_at":"2024-06-19T09:52:54.693Z","dependency_job_id":"483034e4-570d-4810-b3e4-7dcb2c9505a7","html_url":"https://github.com/jon4hz/wishbox","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jon4hz%2Fwishbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jon4hz%2Fwishbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jon4hz%2Fwishbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jon4hz%2Fwishbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jon4hz","download_url":"https://codeload.github.com/jon4hz/wishbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250360248,"owners_count":21417717,"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":["netbox","ssh","ssh-directoy","wishlist"],"created_at":"2024-11-08T19:49:15.869Z","updated_at":"2025-04-23T02:51:10.209Z","avatar_url":"https://github.com/jon4hz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wishbox\n[![goreleaser](https://github.com/jon4hz/wishbox/actions/workflows/goreleaser.yml/badge.svg)](https://github.com/jon4hz/wishbox/actions/workflows/goreleaser.yml)\n[![lint](https://github.com/jon4hz/wishbox/actions/workflows/lint.yml/badge.svg)](https://github.com/jon4hz/wishbox/actions/workflows/lint.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/jon4hz/wishbox)](https://goreportcard.com/report/github.com/jon4hz/wishbox)\n\n\nGenerate a wishlist directory based on your [netbox](https://github.com/netbox-community/netbox) inventory.\n\n## How does it work?\nWhen starting wishbox, it queries the netbox api and generates the wishlist endpoints.  \nWishbox will use the devices primary IP to connect to.  \nThe ssh port is 22 by default. To overwrite this, you can define a netbox service for the host called `ssh`.\n\n## Installation\n### Docker-compose\n```yaml\n---\nversion: \"3.8\"\nservices:\n  wishbox:\n    image: ghcr.io/jon4hz/wishbox:latest\n    restart: unless-stopped\n    volumes:\n      - ./config.yml:/app/config.yml\n      - .wishlist:/app/.wishlist\n    ports:\n      - \"22:2223\"\n```\n### Build from source\n```\ngit clone https://github.com/jon4hz/wishbox.git\ngo build .\n./wishbox\n```\n\n## Configuration\nThe configuration is loaded from the `./config.yml` file by default.\n\n```yaml\n# the ip the wishlist server listens on\nlisten: 127.0.0.1\n\n# the port wishlist uses\nport: 2223\n\n# netbox configuration\nnetbox:\n  # your netbox host\n  host: my.netbox.net\n  # set to true to disable tls validation\n  ignore_tls: false\n  # the netbox api token\n  token: supersecretapitoken\n  # the user for the ssh connection (default is your current system user)\n  user: toor\n  # forward the ssh agent?\n  forward_agent: yes\n  # only list devices which have this role assigned\n  filter_role: linux_server\n  # list only devices that are active inside netbox\n  only_active: yes\n```\n\n## Limitations\n- Pagination isn't implemented (yet), so wishbox will return only the first 50 devices","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjon4hz%2Fwishbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjon4hz%2Fwishbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjon4hz%2Fwishbox/lists"}