{"id":15489291,"url":"https://github.com/ake-persson/peekaboo","last_synced_at":"2025-08-20T23:07:39.724Z","repository":{"id":57451623,"uuid":"245949198","full_name":"ake-persson/peekaboo","owner":"ake-persson","description":"Micro-service for exposing system and hardware information","archived":false,"fork":false,"pushed_at":"2023-07-05T21:07:30.000Z","size":284,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-23T07:18:04.289Z","etag":null,"topics":["go","grpc","hardware","info","msa","system"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ake-persson.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}},"created_at":"2020-03-09T05:12:14.000Z","updated_at":"2024-05-17T16:50:06.000Z","dependencies_parsed_at":"2023-07-16T00:57:55.147Z","dependency_job_id":null,"html_url":"https://github.com/ake-persson/peekaboo","commit_stats":null,"previous_names":["peekaboo-labs/peekaboo","mickep76/peekaboo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ake-persson%2Fpeekaboo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ake-persson%2Fpeekaboo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ake-persson%2Fpeekaboo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ake-persson%2Fpeekaboo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ake-persson","download_url":"https://codeload.github.com/ake-persson/peekaboo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250296438,"owners_count":21407037,"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":["go","grpc","hardware","info","msa","system"],"created_at":"2024-10-02T07:04:50.794Z","updated_at":"2025-04-22T18:19:40.207Z","avatar_url":"https://github.com/ake-persson.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://raw.githubusercontent.com/pekaboo-io/peekaboo/master/LICENSE)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/peekaboo.png\" width=\"50%\"\u003e\n\u003c/p\u003e\n\n# Peekaboo\n\nMicro-service for exposing system and hardware information.\n\nThis is a re-factoring of the original [Peekaboo](https://github.com/imc-trading/peekaboo) to support gRPC and MTLS.\n\n## Usage\n\n```\nUsage: ./client [options] \u003cresource\u003e \u003caddress...\u003e\n  -ca-file string\n    \tCA certificate file, required for Mutual TLS (default \"~/certs/root_ca.crt\")\n  -cert-file string\n    \tServer TLS certificate file (default \"~/certs/srv.crt\")\n  -colors string\n    \tComma separated list of output colors [black,red,green,yellow,blue,magenta,cyan,light-gray,\n    \tdark-gray,light-red,light-green,light-yellow,light-blue,light-magenta,light-cyan,white]\n    \t\n    \thostname header,hostname content,headers,content (default \"light-cyan,light-yellow,cyan,yellow\")\n  -fields string\n    \tComma separated list of fields to output\n  -fmt string\n    \tOutput format [json,csv,table,vtable] (default \"json\")\n  -key-file string\n    \tServer TLS key file (default \"~/certs/srv.key\")\n  -mtls\n    \tUse Mutual TLS, client and server certificate needs to be signed by the same CA authority to establish trust ...TBD...\n  -no-color\n    \tNo color output\n  -no-tls\n    \tNo TLS (testing)\n  -version\n    \tVersion\n  resource\n    \tResource to query [system,users,groups,filesystems]\n  address\n        Address to agent specified as \u003caddress[:port]\u003e (default port 17711)\n```\n\n## Install Go\n\nFirst install Go and then configure Go environment.\n\n### Mac OS X\n\n```bash\nbrew install go\n```\n\n### RedHat/CentOS/Fedora\n\n```bash\nyum install golang\n```\n\n### Ubuntu/Debian\n\n```\napt-get install goland\n```\n\n### Setup Go environment\n\n```bash\nmkdir -p ~/go/{src,bin}\ncat \u003c\u003c EOF \u003e\u003e~/.bash_profile\nexport GOPATH=~/go\nexport PATH=\\$PATH:\\$GOPATH/bin\nEOF\nsource ~/.bash_profile\n```\n\n## Clone code\n\n```bash\nmkdir -p $GOPATH/src/github.com/peekaboo-labs\ncd $GOPATH/src/github.com/peekaboo-labs\ngit clone https://github.com/peekaboo-labs/peekaboo.git\n```\n\n## Build and run\n\nBuild and start agent.\n\n```\ncd $GOPATH/src/github.com/peekaboo-labs/peekaboo\nmake deps build\n./agent/agent -no-tls\n```\n\nQuery agent.\n\n```bash\n./client/client -no-tls -fmt vtable system localhost\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fake-persson%2Fpeekaboo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fake-persson%2Fpeekaboo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fake-persson%2Fpeekaboo/lists"}