{"id":27599668,"url":"https://github.com/pomponchik/searchpi","last_synced_at":"2026-04-29T10:01:09.205Z","repository":{"id":217191635,"uuid":"743262376","full_name":"pomponchik/searchpi","owner":"pomponchik","description":"A dumb command-line tool for searching your Raspberry Pi in a local network","archived":false,"fork":false,"pushed_at":"2024-01-17T16:41:43.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T00:35:39.350Z","etag":null,"topics":["local-network","nmap","nmap-wrapper","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Python","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/pomponchik.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}},"created_at":"2024-01-14T20:06:35.000Z","updated_at":"2024-01-14T21:36:48.000Z","dependencies_parsed_at":"2024-01-15T00:50:26.681Z","dependency_job_id":"d2af9ce9-0349-4288-9511-9fa716de959b","html_url":"https://github.com/pomponchik/searchpi","commit_stats":null,"previous_names":["pomponchik/searchpi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomponchik%2Fsearchpi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomponchik%2Fsearchpi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomponchik%2Fsearchpi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomponchik%2Fsearchpi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pomponchik","download_url":"https://codeload.github.com/pomponchik/searchpi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249899576,"owners_count":21342413,"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":["local-network","nmap","nmap-wrapper","raspberry-pi"],"created_at":"2025-04-22T15:42:11.040Z","updated_at":"2026-04-29T10:01:09.147Z","avatar_url":"https://github.com/pomponchik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# searchpi\n\n[![Downloads](https://static.pepy.tech/badge/searchpi/month)](https://pepy.tech/project/searchpi)\n[![Downloads](https://static.pepy.tech/badge/searchpi)](https://pepy.tech/project/searchpi)\n[![Hits-of-Code](https://hitsofcode.com/github/pomponchik/searchpi?branch=main)](https://hitsofcode.com/github/pomponchik/searchpi/view?branch=main)\n[![Python versions](https://img.shields.io/pypi/pyversions/searchpi.svg)](https://pypi.python.org/pypi/searchpi)\n[![PyPI version](https://badge.fury.io/py/searchpi.svg)](https://badge.fury.io/py/searchpi)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\nThis is a very stupid CLI tool that is designed to search for SSH-ready devices on your local network, starting with those with the most senior local IP addresses.\n\nBefore using this tool, install [`nmap`](https://nmap.org/) on your computer. Then install the tool by [`pip`](https://pip.pypa.io/en/stable/installation/):\n\n```bash\npip install searchpi\n```\n\nAnd use:\n\n```bash\nsearchpi 192.168.1.0/24 pomponchik ~/.ssh/id_rsa.pub --one\n```\n\nHere `192.168.1.0/24` means the range of addresses we are looking at, `pomponchik` is the username and `~/.ssh/id_rsa.pub` is the name of the SSH key file. The `--one` option means that only the first address will be outputed to a console.\n\nThe command will print to the standard output the command that you will need to execute to connect to the remote machine via SSH:\n\n```bash\n\u003e\u003e\u003e searchpi 192.168.1.0/24 pomponchik ~/.ssh/id_rsa.pub\nssh pomponchik@192.168.1.16\n```\n\nYou can save your energy if you try to call the received command in the same line of code:\n\n```bash\neval \"$(searchpi 192.168.1.0/24 pomponchik ~/.ssh/id_rsa.pub --one)\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomponchik%2Fsearchpi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpomponchik%2Fsearchpi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomponchik%2Fsearchpi/lists"}