{"id":22124203,"url":"https://github.com/federicoponzi/lesser","last_synced_at":"2025-09-07T22:34:54.585Z","repository":{"id":53341637,"uuid":"222255356","full_name":"FedericoPonzi/lesser","owner":"FedericoPonzi","description":"Lesser: a CLI based text reader","archived":false,"fork":false,"pushed_at":"2022-08-04T18:30:09.000Z","size":110,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T07:48:59.487Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FedericoPonzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-17T13:51:44.000Z","updated_at":"2022-06-28T14:43:58.000Z","dependencies_parsed_at":"2022-09-03T04:20:35.211Z","dependency_job_id":null,"html_url":"https://github.com/FedericoPonzi/lesser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/FedericoPonzi/lesser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Flesser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Flesser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Flesser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Flesser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FedericoPonzi","download_url":"https://codeload.github.com/FedericoPonzi/lesser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FedericoPonzi%2Flesser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274107345,"owners_count":25223447,"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-09-07T02:00:09.463Z","response_time":67,"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-12-01T15:46:52.369Z","updated_at":"2025-09-07T22:34:54.534Z","avatar_url":"https://github.com/FedericoPonzi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lesser ![CI](https://github.com/FedericoPonzi/lesser/workflows/CI/badge.svg)\nA simple text reader, with less functionalities then less.\n\n## Usage:\nBuild it with:\n```bash\ncargo build --release\n```\nThen you can use:\n```\n# Read a file:\nlesser /path/to/filename\n# help:\nlesser --help\n# Pipe a file:\ncat file | lesser\n```\n### Commands:\n * h: move left one column\n * l: move right one column\n * j: move down one row\n * k: move up one row\n * Down arrow: Move down one page\n * Up arrow: Move up one page\n * Left arrow: Move left one page\n * Right arrow: Move right one page.\n * Ctrl + C, q: Exit.\n \n---\n\nYou can also run it with cargo using:\n```\ncargo run -- /path/to/filename \n```\n\n\n### Development\nFor enabling logging you can use the LESSER_LOG env variable, for instance:\n```\nLESSER_LOG=DEBUG cargo run -- /path/to/filename 2\u003e /tmp/lesser.stderr\n```\nI would suggest to redirect stderr (or stdout) to a different output, otherwise the content of the file will clash with the printed log line.\n\n\n## TODO:\n* Ignore the new line at the end of the file (if there is any).\n* If the output is redirected to anything other than a terminal, for example a pipe to another command, less behaves like cat. \n* Smarter Tab handling (now they're just filtered out).\n* Implement more less's [functionalities](https://en.wikipedia.org/wiki/Less_(Unix)#Frequently_used_commands).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedericoponzi%2Flesser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedericoponzi%2Flesser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedericoponzi%2Flesser/lists"}