{"id":49792359,"url":"https://github.com/thaapasa/peek","last_synced_at":"2026-06-05T06:01:09.714Z","repository":{"id":349778143,"uuid":"1201531667","full_name":"thaapasa/peek","owner":"thaapasa","description":"A modern file viewer for the terminal.","archived":false,"fork":false,"pushed_at":"2026-05-29T20:16:35.000Z","size":21882,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-29T21:09:45.664Z","etag":null,"topics":["file","previewer","rust","viewer"],"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/thaapasa.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-04T20:01:03.000Z","updated_at":"2026-05-29T20:16:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/thaapasa/peek","commit_stats":null,"previous_names":["thaapasa/peek"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/thaapasa/peek","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaapasa%2Fpeek","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaapasa%2Fpeek/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaapasa%2Fpeek/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaapasa%2Fpeek/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thaapasa","download_url":"https://codeload.github.com/thaapasa/peek/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaapasa%2Fpeek/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33932040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-05T02:00:06.157Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["file","previewer","rust","viewer"],"created_at":"2026-05-12T06:03:40.797Z","updated_at":"2026-06-05T06:01:09.708Z","avatar_url":"https://github.com/thaapasa.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# peek\n\n```\n                 __  \n   ___  ___ ___ / /__\n  / _ \\/ -_) -_)  '_/\n / .__/\\__/\\__/_/\\_\\ \n/_/ a file previewer\n```\n\nModern terminal file viewer — preview any file, any format.\n\n- **Syntax highlighting** for 100+ languages via syntect\n- **Pretty-printing** for JSON / YAML / TOML / XML\n- **Aligned tables** for CSV / TSV with sticky header, type inference, streaming record reader\n- **SQLite databases** — read-only schema listing + streaming row viewer with sliding-window cursor\n- **Spreadsheets** — `.xlsx` / `.xlsm` / `.ods`: sheet listing → aligned table per sheet, CSV extract, workbook metadata\n- **ASCII-art image rendering** with glyph-matched 24-bit color. Animated gifs!\n- **Documents** — Markdown, Jupyter notebooks (`.ipynb`), PDF, Adobe Illustrator (`.ai`), DOCX, ODT, RTF, EPUB, CBZ\n- **Email** — `.eml` messages and `.mbox` mailboxes: rendered headers + body, attachment listing + extract, message-list drill-in\n- **Calendar / contacts** — iCalendar (`.ics`) and vCard (`.vcf`): rendered agenda / contact cards with human date-times, grouped fields, recurrence\n- **Vector / PostScript** — EPS / PostScript (`.eps`, `.ps`): embedded preview, optional Ghostscript render, DSC metadata\n- **Containers** — ZIP / tar / 7z / cpio archives, ISO disk images, audio metadata\n- **Executables** — ELF / Mach-O / PE object files: header, sections, symbols\n- **Java classfiles** — `.class` header, fields, methods with decoded signatures\n- **Certificates and keys** — PEM / DER X.509 / CSR / CRL / keys / OpenSSH pubkeys / JWK: subject, validity, SANs, fingerprints, thumbprints\n- **Fonts** — TrueType / OpenType / TTC collections / WOFF / WOFF2: rasterised specimen render + family / weight / glyphs / script coverage\n- **Hex dump** fallback for binary, reachable from any view with `x`\n- **Interactive viewer** with live theme cycling, info screen, extraction, text search\n\npeek is a single-file viewer: one path (or stdin) at a time. Run peek once per file.\n\n## Install\n\nmacOS / Linux:\n\n```sh\ncurl -fsSL https://raw.githubusercontent.com/thaapasa/peek/main/install.sh | sh\n```\n\nInstalls the latest release into `~/.local/bin`. Supports `aarch64` and `x86_64`. Pin a version\nwith `PEEK_VERSION=v0.1.0` or relocate with `PEEK_INSTALL_DIR=/usr/local/bin`.\n\nManual downloads, Windows, building from source, and updating: see the\n[Installation chapter](https://thaapasa.github.io/peek/installation.html) of the manual.\n\n## Usage\n\n```sh\npeek src/main.rs        # source code (syntax highlighted, interactive viewer)\npeek photo.jpg          # image (glyph-matched ASCII art)\npeek config.json        # structured data (pretty-printed + highlighted)\npeek book.epub          # paged read with TOC + metadata views\npeek archive.tar.gz     # listing view + per-entry extract\npeek /bin/ls            # executable — header / sections / symbols\npeek Main.class         # Java classfile — fields, methods, signatures\npeek server.pem         # certificate / key — subject, validity, SANs, fingerprints\npeek Lobster.ttf        # font — rasterised specimen + family / weight / scripts\npeek invite.ics         # calendar — agenda with dates, recurrence, attendees\npeek contacts.vcf       # vCard — grouped contact cards\npeek -                  # explicit stdin\necho '{\"a\":1}' | peek   # piped stdin auto-detected\n```\n\nRun `peek -h` for the short option list, `peek --help` for the full set, or read the\n[manual](https://thaapasa.github.io/peek/) for per-format details, keyboard shortcuts,\nextraction, themes, and the full CLI reference.\n\n## Manual\n\nFull user manual: **\u003chttps://thaapasa.github.io/peek/\u003e**.\n\nSources in [`manual/`](manual/) — built with [mdbook](https://rust-lang.github.io/mdBook/).\nLocal preview:\n\n```sh\ncargo install mdbook\nmdbook serve manual    # opens http://localhost:3000\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthaapasa%2Fpeek","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthaapasa%2Fpeek","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthaapasa%2Fpeek/lists"}