{"id":29523922,"url":"https://github.com/tikrack/peek","last_synced_at":"2025-07-16T18:09:12.331Z","repository":{"id":304475901,"uuid":"1018899470","full_name":"tikrack/peek","owner":"tikrack","description":"A modern, colorful and fast alternative to ls, written in Rust — explore directories your way.","archived":false,"fork":false,"pushed_at":"2025-07-13T11:13:27.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-13T11:39:39.110Z","etag":null,"topics":["cli","dir","linux","list","low-level-programming","ls","peek","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/tikrack.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,"zenodo":null}},"created_at":"2025-07-13T09:49:15.000Z","updated_at":"2025-07-13T11:02:40.000Z","dependencies_parsed_at":"2025-07-13T11:39:47.144Z","dependency_job_id":"38dd2fbe-a7fb-4ff0-9cb2-5437db013e68","html_url":"https://github.com/tikrack/peek","commit_stats":null,"previous_names":["tikrack/peek"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tikrack/peek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikrack%2Fpeek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikrack%2Fpeek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikrack%2Fpeek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikrack%2Fpeek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tikrack","download_url":"https://codeload.github.com/tikrack/peek/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikrack%2Fpeek/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265529199,"owners_count":23782851,"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":["cli","dir","linux","list","low-level-programming","ls","peek","rust"],"created_at":"2025-07-16T18:08:59.957Z","updated_at":"2025-07-16T18:09:12.325Z","avatar_url":"https://github.com/tikrack.png","language":"Rust","readme":"# peek\n\n`peek` is a modern, customizable, and extensible `ls` replacement written in Rust. It supports file listing, tree view, size formatting, filtering, and more — with beautiful color output.\n\n## ✨ Features\n\n- 📁 Basic file listing (like `ls`)\n- 🎨 Colored output with custom folder color (hex)\n- 📦 File size display (`--size` or `-s`)\n- 🧾 Long format listing (`--long` or `-l`) with permissions, size, UID, GID, and modified time\n- 🌲 Tree view (`--tree` or `-t`) with optional `--depth N`\n- 👻 Show hidden files (`--all` or `-a`)\n- 🔍 Glob pattern filtering (`--pattern` or `-p`)\n- 🧠 Persistent color configuration saved in `~/.peekconfig`\n\n## 🧪 Usage\n\n### Basic Listing\n\n```sh\npeek\n```\n\n### Show file sizes\n\n```sh\npeek --size\npeek -s\n```\n\n### Long listing\n\n```sh\npeek --long\npeek -l\n```\n\n### Tree view\n\n```sh\npeek --tree\npeek -t\n```\n\n### Tree with depth\n\n```sh\npeek -t --depth 2\n```\n\n### Show hidden files\n\n```sh\npeek --all\npeek -a\n```\n\n### Set custom folder color\n\n```sh\npeek --dir-color FF00FF\npeek --dir-color \"#00FFFF\"\n```\n\n(This is saved persistently in `~/.peekconfig`)\n\n### Pattern matching (glob)\n\n```sh\npeek -p \"*.rs\"           # match all .rs files in current dir\npeek -t -p \"**/*.rs\"     # match recursively all .rs files\npeek -a -p \"*lib*\"       # match files with 'lib' in the name\n```\n\n## 🛠 Installation\n\n1. Make sure you have Rust installed:\n   ```sh\n   curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n   ```\n\n2. Clone and build:\n   ```sh\n   git clone https://github.com/yourname/peek.git\n   cd peek\n   cargo build --release\n   ```\n\n3. Optionally copy the binary to your bin directory:\n   ```sh\n   cp target/release/peek ~/.local/bin/\n   ```\n\n## 📂 Configuration\n\nConfiguration is stored in a JSON file at:\n\n```\n~/.peekconfig\n```\n\nExample content:\n\n```json\n{\n  \"dir_color\": \"FF00FF\"\n}\n```\n\n## 🔮 Coming Soon\n\n- Recursive search (`--recursive`)\n- Output to JSON format\n- Sort by size/date/name\n\n## 📄 License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikrack%2Fpeek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftikrack%2Fpeek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikrack%2Fpeek/lists"}