{"id":13474212,"url":"https://github.com/zwpaper/dilu","last_synced_at":"2025-03-21T22:32:11.541Z","repository":{"id":148130896,"uuid":"615641815","full_name":"zwpaper/dilu","owner":"zwpaper","description":"A colorful CLI client with icons for accessing data via OpenDAL","archived":false,"fork":false,"pushed_at":"2023-12-27T09:23:50.000Z","size":1427,"stargazers_count":35,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-18T05:51:16.015Z","etag":null,"topics":["cli","fs","nerd-fonts","s3"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zwpaper.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":"2023-03-18T08:42:27.000Z","updated_at":"2024-11-07T23:22:30.000Z","dependencies_parsed_at":"2024-01-13T18:37:21.616Z","dependency_job_id":null,"html_url":"https://github.com/zwpaper/dilu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwpaper%2Fdilu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwpaper%2Fdilu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwpaper%2Fdilu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwpaper%2Fdilu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zwpaper","download_url":"https://codeload.github.com/zwpaper/dilu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880451,"owners_count":20525507,"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","fs","nerd-fonts","s3"],"created_at":"2024-07-31T16:01:10.373Z","updated_at":"2025-03-21T22:32:11.118Z","avatar_url":"https://github.com/zwpaper.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# DiLu\n\n[![license](http://img.shields.io/badge/license-Apache%20v2-blue.svg)](https://raw.githubusercontent.com/zwpaper/dilu/master/LICENSE)\n\nDilu is a powerful, colorful, iconic command line tool leveraging the power of [Apache OpenDAL™](https://github.com/apache/incubator-opendal), easily access `FileSystem`, `S3`, `HDFS`, `Redis`, etc.\n\n![demo](./images/demo-fs.jpg)\n\n## Configuration\n\nDilu can use configuration files to change it's behavior,\nincluding `display`, `color theme` and `icon theme`.\n\n### Display Configuration\n\nThe default Display configuration is specified below,\nwith comment for how it can be used.\n\n```yaml\n# == Classic ==\n# This is a shorthand to override some of the options to be backwards compatible\n# with `ls`. It affects the \"color\"-\u003e\"when\", \"sorting\"-\u003e\"dir-grouping\", \"date\"\n# and \"icons\"-\u003e\"when\" options.\n# Possible values: false, true\nclassic: false\n\n# == Blocks ==\n# This specifies the columns and their order when using the long and the tree\n# layout.\n# Possible values: permission, user, group, context, size, date, name, inode\nblocks:\n  - date\n  - size\n  - name\n\n# == Color ==\n# This has various color options. (Will be expanded in the future.)\ncolor:\n  # When to colorize the output.\n  # When \"classic\" is set, this is set to \"never\".\n  # Possible values: never, auto, always\n  when: auto\n  # How to colorize the output.\n  # When \"classic\" is set, this is set to \"no-color\".\n  # Possible values: default, no-color, no-lscolors, \u003ctheme-file-name\u003e\n  # when specifying \u003ctheme-file-name\u003e, dilu will look up theme file in\n  # XDG Base Directory if relative\n  # The file path if absolute\n  theme: default\n\n# == Date ==\n# This specifies the date format for the date column. The freeform format\n# accepts an strftime like string.\n# When \"classic\" is set, this is set to \"date\".\n# Possible values: date, relative, +\u003cdate_format\u003e\n# date: date\n\n# == Display ==\n# What items to display. Do not specify this for the default behavior.\n# Possible values: all, almost-all, directory-only\n# display: all\n\n# == Icons ==\nicons:\n  # When to use icons.\n  # When \"classic\" is set, this is set to \"never\".\n  # Possible values: always, auto, never\n  when: auto\n  # Which icon theme to use.\n  # Possible values: fancy, unicode\n  theme: fancy\n  # The string between the icons and the name.\n  # Possible values: any string (eg: \" |\")\n  separator: \" \"\n\n# == Ignore Globs ==\n# A list of globs to ignore when listing.\n# ignore-globs:\n#   - .git\n\n# == Layout ==\n# Which layout to use. \"oneline\" might be a bit confusing here and should be\n# called \"one-per-line\". It might be changed in the future.\n# Possible values: grid, tree, oneline\nlayout: grid\n\n# == Recursion ==\nrecursion:\n  # Whether to enable recursion.\n  # Possible values: false, true\n  enabled: false\n  # How deep the recursion should go. This has to be a positive integer. Leave\n  # it unspecified for (virtually) infinite.\n  # depth: 3\n\n# == Size ==\n# Specifies the format of the size column.\n# Possible values: default, short, bytes\nsize: default\n\n# == Sorting ==\nsorting:\n  # Specify what to sort by.\n  # Possible values: extension, name, time, size, version\n  column: name\n  # Whether to reverse the sorting.\n  # Possible values: false, true\n  reverse: false\n  # Whether to group directories together and where.\n  # When \"classic\" is set, this is set to \"none\".\n  # Possible values: first, last, none\n  dir-grouping: none\n\n# == Total size ==\n# Whether to display the total size of directories.\n# Possible values: false, true\ntotal-size: false\n\n# == Hyperlink ==\n# Whether to display the total size of directories.\n# Possible values: always, auto, never\nhyperlink: never\n```\n\n\n## Credits\n\nThe origin version of this project is rewrote from [LSD](https://github.com/lsd-rs/lsd),\nthanks so much to [@meain](https://github.com/meain) and [@Peltoche](https://github.com/Peltoche)\nfor developing and maintaining LSD.\n\nDilu is NOT a replacement for LSD, Dilu will focus more on network data accessing, multiple backend support,\nwhile LSD will offer much more functions and accessibility on local file system.\n\nThe data accessibility is leveraging the power of [Apache OpenDAL](https://github.com/apache/incubator-opendal),\nthanks so much to [@Xuanwo](https://github.com/Xuanwo) for developing and open-sourcing OpenDAL.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwpaper%2Fdilu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzwpaper%2Fdilu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwpaper%2Fdilu/lists"}