{"id":21715149,"url":"https://github.com/clark800/page","last_synced_at":"2026-05-20T09:01:15.826Z","repository":{"id":72191894,"uuid":"352064944","full_name":"clark800/page","owner":"clark800","description":"minimalist pager (more alternative)","archived":false,"fork":false,"pushed_at":"2023-11-07T21:35:42.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-11-08T06:32:27.684Z","etag":null,"topics":["c","command-line","minimalist","pager","terminal"],"latest_commit_sha":null,"homepage":"","language":"C","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/clark800.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-03-27T12:16:10.000Z","updated_at":"2023-10-01T17:08:41.000Z","dependencies_parsed_at":"2023-11-08T04:37:48.345Z","dependency_job_id":"ca9a722f-6469-47c8-9b84-36ae5ba57e79","html_url":"https://github.com/clark800/page","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clark800%2Fpage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clark800%2Fpage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clark800%2Fpage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clark800%2Fpage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clark800","download_url":"https://codeload.github.com/clark800/page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244676454,"owners_count":20491828,"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":["c","command-line","minimalist","pager","terminal"],"created_at":"2024-11-26T00:41:22.867Z","updated_at":"2026-05-20T09:01:15.778Z","avatar_url":"https://github.com/clark800.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n`page` is a minimalist terminal pager written in C with no dependencies.\n\n* Supports UTF-8 (and only UTF-8).\n* Handles all ANSI escape codes (e.g. colors) except codes that move the cursor.\n* Shows percentage progress when displaying a file.\n* Should be portable to most POSIX systems, though it is not strictly POSIX compliant since there wasn't a POSIX compliant way to get the terminal dimensions in C until 2024 which isn't supported everywhere yet.\n* `page` is about 260 lines of code.\n\n# Usage\n\n    \u003ccommand\u003e | page\n    page \u003cfile\u003e\n\nBackwards movement only works when paging a file, but you can convert a stream\nto a file with the `fpipe` utility which writes the whole stream to a temporary\nfile. This should only be used when the stream is not too large.\n\n    \u003ccommand\u003e | fpipe page\n\n# Commands\n\n* `ENTER`/`DOWN`/`j` - scroll down one line\n* `SPACE` - scroll down one screen\n* `d` - scroll down half a screen\n* `UP`/`k` - sroll up one line (when paging a file)\n* `b` - scroll up one screen (when paging a file)\n* `u` - scroll up half a screen (when paging a file)\n* `g` - go to top of file (when paging a file)\n* `Ng` - go to line number N (going backwards only supported when paging a file)\n* `G` - go to the end\n* `Np` - go to next line after N% of file size (when paging a file)\n* `q`/`ESC` - quit\n\nScrolling commands can be prefixed by a number N to make them repeat N times.\n\nScrolling backwards won't work after a byte-based jump like the `p` command\nuntil a line-based jump command like `g` is executed.\n\n# Building\n\nRun `./make` or `env CC=musl-gcc ./make`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclark800%2Fpage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclark800%2Fpage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclark800%2Fpage/lists"}