{"id":35131183,"url":"https://github.com/joknarf/lsicon","last_synced_at":"2026-04-02T18:02:06.193Z","repository":{"id":324509245,"uuid":"1097468911","full_name":"joknarf/lsicon","owner":"joknarf","description":"fastest ls command enhancer (icons/colors/tree)","archived":false,"fork":false,"pushed_at":"2026-03-07T08:24:21.000Z","size":110,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-28T00:36:49.144Z","etag":null,"topics":["color","icons","ls","nerd-fonts","shell-plugin"],"latest_commit_sha":null,"homepage":"https://joknarf.github.io/joknarf-tools","language":"Awk","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/joknarf.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-16T08:34:01.000Z","updated_at":"2026-03-07T08:24:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/joknarf/lsicon","commit_stats":null,"previous_names":["joknarf/lsicon"],"tags_count":32,"template":false,"template_full_name":null,"purl":"pkg:github/joknarf/lsicon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Flsicon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Flsicon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Flsicon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Flsicon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joknarf","download_url":"https://codeload.github.com/joknarf/lsicon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joknarf%2Flsicon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31312744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["color","icons","ls","nerd-fonts","shell-plugin"],"created_at":"2025-12-28T05:14:18.892Z","updated_at":"2026-04-02T18:02:06.184Z","avatar_url":"https://github.com/joknarf.png","language":"Awk","readme":"[![Joknarf Tools](https://img.shields.io/badge/Joknarf%20Tools-Visit-darkgreen?logo=github)](https://joknarf.github.io/joknarf-tools)\n[![Build and Release Packages](https://github.com/joknarf/lsicon/actions/workflows/release.yml/badge.svg)](https://github.com/joknarf/lsicon/actions/workflows/release.yml)\n[![bash](https://img.shields.io/badge/shell-bash%20|%20zsh%20|%20ksh%20-blue.svg)]()\n[![bash](https://img.shields.io/badge/OS-Linux%20|%20macOS%20|%20SunOS%20...-blue.svg)]()\n[![Licence](https://img.shields.io/badge/licence-MIT-blue.svg)](https://shields.io/)\n[![Packages](https://img.shields.io/badge/Packages-%20rpm%20|%20deb%20|%20pkg%20|%20apk%20|%20brew%20-darkgreen.svg)](https://github.com/joknarf/lsicon/releases/latest)\n\n# lsicon\n\nSimplest and fastest `ls` command enhancer in less than 20K (only uses bash/ls/tree/awk)\n\n![image](https://github.com/user-attachments/assets/d76ec9f8-b745-46ef-8ce1-2c667ba7c578)\n![image](https://github.com/user-attachments/assets/ce86cf0b-84be-4d29-8c2d-31dac0b170ba)\n\nMuch faster than other \"modern\" tools (here /usr containing ~150000 files):\n\n| Tool       | Command                | Time (wsl ubuntu)  | Time (centos9)   |\n|------------|------------------------|--------------------|------------------|\n|            |                        | `tty       notty`  | `tty     notty`  |\n| GNU ls     | `ls -lR --color /usr ` | `10.250s   6.001s` | `2.011s  1.049s` |   \n| **lsicon** | `ls+ -lR /usr        ` | `10.878s   6.096s` | `3.202s  1.269s` |   \n| lsd        | `lsd -lR /usr        ` | `27.941s  13.698s` | `8.564s  2.627s` |\n| eza        | `eza --icons -lR /usr` | `31.340s  28.509s` | `8.795s  4.751s` |\n\n## features\n\n* all GNU ls features except\n  * -T displays tree view\n  * currently fixed time format `+%y-%m-%d %H:%M`\n* display colors/icons according to file types/extensions/permissions\n* display symlink target according to target file types/permissions\n* display broken symlink\n* highlight current user/groups and permissions\n* dir/files tree with `-T`\n* easy customization for colors/icons/extensions\n\n## Prerequisites\n\n* GNU ls\n  * on BSD/MacOS/Alpine coreutils package needed\n* GNU awk or mawk\n  * on BSD/MacOS/Alpine gawk or mawk package needed\n* tree \u003e= 1.6.0 (for tree view only)\n* bash\n* Nerd Font in your Terminal\n\n## Install\n\nYou can use a plugin manager, like the famous [joknarf/thefly](https://github.com/joknarf/thefly)\n```\n. \u003c(curl https://raw.githubusercontent.com/joknarf/thefly/main/thefly) install\nfly add joknarf/lsicon\n```\n\nor Use your prefered method according to your OS:\n\n```\nbrew install joknarf/tools/lsicon\n```\n\n```\nsudo dnf install https://github.com/joknarf/lsicon/releases/latest/download/lsicon.rpm\n```\n\n```\ncurl -OL https://github.com/joknarf/lsicon/releases/latest/download/lsicon.deb\nsudo dpkg -i lsicon.deb\n```\n\n```\ncurl -OL https://github.com/joknarf/lsicon/releases/latest/download/lsicon.apk\nsudo apk add --allow-untrusted lsicon.apk\n```\n\n```\ncurl -OL https://github.com/joknarf/lsicon/releases/latest/download/lsicon.pkg\nsudo installer -pkg lsicon.pkg -target /\n```\n\nor just clone the repo, and put `ls+*` files in dir in your PATH, or just create a link to `ls+`\n```\ngit clone https://github.com/joknarf/lsicon\n```\n\n## Usage\n\nThe lsicon command `ls+` is used with exactly same options as GNU `ls`, except the `-T` or `--tree` will display directory/files tree.\n\nAdditional parameters for ls+ tree (`ls+ -T|--tree`):\n\n* `-P` \u003cpattern\u003e limit files matching pattern for tree view\n* `-L` \u003cmaxlevel\u003e limit tree depth for tree view\n* `-f` full file path in tree\n* `--prune` when -I or -P hide directories without matching entries\n\n```\nls+\nls+ -alrt\nls+ -Talrt -P '*.py|*.css' --prune\n...\n```\nYou may want to replace the `ls` command with ls+ using:\n```\nalias ls='ls+'\n```\nBy default with stdout not a tty, `ls+` falls back to ls command, if want to pipe to pager (less...) with icons/colors:\n```\nls+ --color |less -RESX\n```\n\n## Customize\n\nYou can customize all icons association :\n- editing `ls+.icons`\n- creating a `~/.config/ls+/icons` file\n- format of file : `\u003cicon\u003e .\u003cext\u003e [.\u003cext\u003e...]`\n\nYou can customize all colors association :\n- editing `ls+.colors`\n- creating a `~/.config/ls+/colors` file\n- format of file : `\u003ccolorname\u003e .\u003cext\u003e [.\u003cext\u003e...]`\n\nYou can customize all theme colors :\n- editing `ls+.theme`\n- creating a `~/.config/ls+/theme` file\n- format of file : `\u003ccolorname\u003e \u003cr;g;b\u003e`\n- creating an empty theme, will use standard 16 colors\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoknarf%2Flsicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoknarf%2Flsicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoknarf%2Flsicon/lists"}