{"id":19348251,"url":"https://github.com/srirangav/pdfview","last_synced_at":"2025-04-13T01:51:25.863Z","repository":{"id":162473599,"uuid":"471617271","full_name":"srirangav/pdfview","owner":"srirangav","description":"Terminal/CLI PDF viewer","archived":false,"fork":false,"pushed_at":"2023-05-07T08:24:46.000Z","size":346,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T19:36:54.814Z","etag":null,"topics":["cli","macos","macosx","pdf","pdf-document","pdf-viewer","terminal-based"],"latest_commit_sha":null,"homepage":"","language":"Objective-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/srirangav.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-03-19T06:57:58.000Z","updated_at":"2025-03-09T13:00:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b29b4c5-cb1b-4ec1-bea4-dc8a695ff89a","html_url":"https://github.com/srirangav/pdfview","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fpdfview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fpdfview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fpdfview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srirangav%2Fpdfview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srirangav","download_url":"https://codeload.github.com/srirangav/pdfview/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654030,"owners_count":21140235,"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","macos","macosx","pdf","pdf-document","pdf-viewer","terminal-based"],"created_at":"2024-11-10T04:19:31.897Z","updated_at":"2025-04-13T01:51:25.844Z","avatar_url":"https://github.com/srirangav.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"README\n------\n\npdfview v.0.4.1\n\nHomepage:\n\n   https://github.com/srirangav/pdfview\n\nAbout:\n\n    pdfview is a command line program that displays any available\n    text in a PDF.  On MacOSX, pdfview uses PDFKit (which is\n    available on MacOSX 10.4 or newer).  On Linux/*bsd, pdfview\n    is a shell script that relies on pdftotext from either xpdf\n    or poppler:\n\n        https://www.xpdfreader.com/pdftotext-man.html\n        https://github.com/freedesktop/poppler\n\n    On Linux/*bsd, pdfview will wrap text using fmt(1) (first\n    choice) or fold(1), if they are available.\n\nUsage:\n\n    Generally:\n\n        pdfview [files]\n\n    On MacOSX:\n\n        pdfview [options] [files]\n\n        If -q is specified, no error or information messages are\n        printed.\n\n        If -n is specified, the filename and page number are\n        printed for each line.\n\n        if -d is specified, the text is dehyphenated\n\n        if -r is specified, no text replacements are performed\n        (except dehyphenation, if requested) and the raw text\n        is displayed\n\n        If -e [expression] is specified, only lines matching the\n        specified expression are printed.\n\n        If -i is specified, then expression matching will be\n        performed on a case insensitive basis.  If an expression\n        is not specified, this option is ignored.\n\n        If -c is specified, then, instead of printing matching\n        lines, the total number of matches for the specified\n        expression is printed. If an expression is not specified,\n        this option is ignored.\n\n        If -l is specified, as soon as the first match, searching\n        stops and the filename containing the match is printed.\n        If an expression is not specified, this option is ignored.\n\n        If -L is specified, the filename is printed only if it\n        does not contain a match is printed.  If an expression is\n        not specified, this option is ignored.\n\n        If -p [pages] is specified, then only the text on the\n        specified pages numbers, if present in the first file,\n        provided to pdfview will be printed.  If this option is\n        specified, only the first file provided to pdfview is\n        processed.  All other files are ignored.  The pages may\n        be specified as a comma separated list and can include\n        page ranges.  The specified pages are sorted and printed\n        in sorted order, rather than in the specified order.\n\n        If -t is specified, then, instead of printing matching\n        lines, the total number of matches for the specified\n        expression on each page is printed.  If an expression is\n        not specified, this option is ignored.\n\n        If -T is specified, then, instead of printing matching\n        lines, the total number of matches for the specified\n        expression on each page with more than one match is\n        printed.  If an expression is not specified, this option\n        is ignored.\n\n        If -m is specified, then the available metadata (instead\n        of the content) of each file is printed.\n\nBuild (MacOSX only):\n\n    $ ./configure\n    $ make\n\nInstall:\n\n    On MacOSX:\n\n        $ ./configure\n        $ make\n        $ make install\n\n        By default, pdfview is installed in /usr/local/bin. To\n        install it in a different location, the alternate\n        installation prefix can be supplied to configure:\n\n            $ ./configure --prefix=\"\u003cprefix\u003e\"\n\n        or, alternately to make:\n\n            $ make install PREFIX=\"\u003cprefix\u003e\"\n\n        For example, the following will install pdfview in\n        /opt/local:\n\n            $ make PREFIX=/opt/local install\n\n        A DESTDIR can also be specified for staging purposes\n        (with or without an alternate prefix):\n\n            $ make DESTDIR=\"\u003cdestdir\u003e\" [PREFIX=\"\u003cprefix\u003e\"] install\n\n    On Linux/*bsd:\n\n        Put pdfview.sh somewhere in your $PATH, for example:\n\n            $ cp pdfview.sh $HOME/bin/pdfview\n            $ chmod u+x $HOME/bin/pdfview\n\nHistory:\n\n    v.0.4.1  Add support for printing metadata\n    v.0.4.0  Add support for printing specific pages\n    v.0.3.6  Add support for Monterey (MacOSX 12)\n    v.0.3.5  In the MacOSX version, add additional default\n             formatting\n    v.0.3.4  In the MacOSX version, add -d option to dehyphenate\n             text and -r option to print the raw text without any\n             text replacements\n    v.0.3.3  Add -P option to the MacOSX version to print counts\n             only on pages with matches and -L option to print\n             filenames only when there are no matches in the file\n    v.0.3.2  Add -l option to the MacOSX version so that pdfview\n             will stop searching as soon as the first match is\n             found\n    v.0.3.1  Add support for getting counts of matches to the\n             MacOSX version\n    v.0.3.0  Add support for regex matching to the MacOSX version\n    v.0.2.1  Add page numbering support to MacOSX version\n    v.0.2.0  Add PDFKit based implementation for MacOSX\n    v.0.1.3  Fixes based on shellcheck\n    v.0.1.2  Minor change for Debian\n    v.0.1.1  Update README.txt to mention MacOSX, FreeBSD,\n             and OpenBSD\n    v.0.1.0  Initial release\n\nPlatforms:\n\n    pdfview has been tested on MacOSX (11.x, 12.x).  It may work\n    on earlier versions (MacOSX 10.4 and newer).\n\n    pdfview.sh has been tested on FreeBSD (13.0), OpenBSD (7.0),\n    and Debian (11.x).  It should work on other systems that\n    have pdftotext installed.\n\nNotes:\n\n    On MacOSX, regex matching requires MacOSX 10.7 or newer.\n\nReferences:\n\n   https://stackoverflow.com/questions/3570591\n   https://unix.stackexchange.com/questions/25173\n\nLicense:\n\n    See LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrirangav%2Fpdfview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrirangav%2Fpdfview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrirangav%2Fpdfview/lists"}