{"id":18774564,"url":"https://github.com/staab/cateract","last_synced_at":"2025-08-02T04:05:08.154Z","repository":{"id":85233911,"uuid":"366081340","full_name":"staab/cateract","owner":"staab","description":"An interactive command-line application for viewing files.","archived":false,"fork":false,"pushed_at":"2021-05-10T15:47:58.000Z","size":5,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-21T02:46:27.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/staab.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":"2021-05-10T14:59:59.000Z","updated_at":"2023-07-25T14:45:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebc301a6-ae4d-42a2-9cb8-96d71d8b50ec","html_url":"https://github.com/staab/cateract","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/staab/cateract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staab%2Fcateract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staab%2Fcateract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staab%2Fcateract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staab%2Fcateract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/staab","download_url":"https://codeload.github.com/staab/cateract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/staab%2Fcateract/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268333998,"owners_count":24233782,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2024-11-07T19:38:36.390Z","updated_at":"2025-08-02T04:05:08.115Z","avatar_url":"https://github.com/staab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is a script for viewing files interactively. Inspired by [fzf](https://github.com/junegunn/fzf), which is an interactive cli file-picker.\n\n[![asciicast](https://asciinema.org/a/413162.svg)](https://asciinema.org/a/413162)\n\n# Usage\n\n```\nusage: cateract [-h] filename\n\nAn interactive cli file viewer\n\npositional arguments:\n  filename    The name of the file to view\n\noptional arguments:\n  -h, --help  show this help message and exit\n```\n\nOnce in the interactive prompt, cateract pipes the contents of the file to an executable of your choice. Further redirection is not supported, as all arguments are shell-quoted. This allows something like `jq .|length` to work as expected without having to quote the argument manually.\n\n# Installation\n\nMake sure `python3` is a valid command on your system, then install:\n\n```\nmkdir -p ~/.local/bin\ncurl https://raw.githubusercontent.com/staab/cateract/master/cateract \u003e ~/.local/bin/cateract\nchmod +x ~/.local/bin/cateract\n```\n\nThen, make sure ~/.local/bin is in your path.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaab%2Fcateract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaab%2Fcateract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaab%2Fcateract/lists"}