{"id":42303862,"url":"https://github.com/timob/ls","last_synced_at":"2026-01-27T10:42:50.058Z","repository":{"id":57506388,"uuid":"52470481","full_name":"timob/ls","owner":"timob","description":"List directory Unix utility written in Go.","archived":false,"fork":false,"pushed_at":"2024-01-09T00:52:44.000Z","size":1494,"stargazers_count":8,"open_issues_count":6,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T17:31:31.315Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timob.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}},"created_at":"2016-02-24T19:59:04.000Z","updated_at":"2023-11-22T00:10:48.000Z","dependencies_parsed_at":"2024-01-09T02:53:03.709Z","dependency_job_id":"38b44c62-01bd-49af-8ea3-2209b1bc5617","html_url":"https://github.com/timob/ls","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/timob/ls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timob%2Fls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timob%2Fls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timob%2Fls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timob%2Fls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timob","download_url":"https://codeload.github.com/timob/ls/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timob%2Fls/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28812351,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:41:26.337Z","status":"ssl_error","status_checked_at":"2026-01-27T07:41:08.776Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-27T10:42:48.035Z","updated_at":"2026-01-27T10:42:50.051Z","avatar_url":"https://github.com/timob.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LS\n\n## Install\n### Release\n``` bash\ncd ~/bin\ncurl -Ls https://github.com/timob/ls/releases/download/v1.0.0/ls_v1.0.0_Linux-64bit.tar.gz | tar -zxf -\n```\n\n### From Source\n``` bash\n$ git clone https://github.com/timob/ls.git\nCloning into 'ls'...\nremote: Enumerating objects: 210, done.\nremote: Total 210 (delta 0), reused 0 (delta 0), pack-reused 210\nReceiving objects: 100% (210/210), 1.45 MiB | 17.05 MiB/s, done.\nResolving deltas: 100% (87/87), done.\n$ cd ls\n$ go get\ngo get: added github.com/bradfitz/slice v0.0.0-20180809154707-2b758aa73013\ngo get: added github.com/daviddengcn/go-colortext v1.0.0\ngo get: added github.com/dustin/go-humanize v1.0.0\ngo get: added github.com/timob/ls v0.0.0-20171116232057-a724f1d86305\ngo get: added github.com/timob/sindex v0.0.0-20201206080312-1eedde862709\ngo get: added go4.org v0.0.0-20201209231011-d4a079459e60\n\n# Make sure $GOBIN is set, to where the binary is placed.\n$ go install\n```\n\n## Changes\n* 2022-04-15: Add go.mod, v1.0.0\n* 2017-11-03: Add --height option, with less allows for wide output\n* 2016-11-26: Add -P path only mode option, add --width option, OSX support\n* 2016-8-25: Add humanized timestamps with -h\n* 2016-2-28: Fix user name, group name lookup on Unix\n* 2016-2-27: Added color output\n\n## Description\nCross platform list directory Unix utility written in Go, Compatiblity with GNU ls. See [https://tekao.net/posts/ls](https://tekao.net/posts/ls).\n\n## Why?\nThis uses the SIndex https://github.com/timob/sindex slice indexing library to handle lists of options, file arguments, directory\nlists. So really a use case for that library. IMHO it makes programming lists using iterators, insert, deleting and appending much\neasier.\n\n## Todo\n* Add other GNU ls options.\n* Fix terminal detection.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimob%2Fls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimob%2Fls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimob%2Fls/lists"}