{"id":20273035,"url":"https://github.com/sorairolake/hf","last_synced_at":"2026-01-27T02:12:08.737Z","repository":{"id":37830866,"uuid":"496752223","full_name":"sorairolake/hf","owner":"sorairolake","description":"Cross-platform hidden file library and utility","archived":false,"fork":false,"pushed_at":"2025-04-09T11:04:53.000Z","size":1317,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-04-11T04:42:33.425Z","etag":null,"topics":["cli","command-line","command-line-tool","dotfiles","rust","rust-lang","rust-library","terminal","tool"],"latest_commit_sha":null,"homepage":"https://sorairolake.github.io/hf/","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/sorairolake.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.adoc","contributing":"CONTRIBUTING.adoc","funding":null,"license":"LICENSES/Apache-2.0.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.adoc","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-26T19:47:05.000Z","updated_at":"2025-04-09T11:04:53.000Z","dependencies_parsed_at":"2024-04-15T06:17:24.136Z","dependency_job_id":"0b770ae9-1954-41b8-bfa3-7dc802bd5135","html_url":"https://github.com/sorairolake/hf","commit_stats":{"total_commits":106,"total_committers":2,"mean_commits":53.0,"dds":0.5,"last_synced_commit":"c1e398cf4c48c2d9ecb0fb4e06dedd7daae612c6"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorairolake%2Fhf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorairolake%2Fhf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorairolake%2Fhf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sorairolake%2Fhf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sorairolake","download_url":"https://codeload.github.com/sorairolake/hf/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345281,"owners_count":21088242,"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","command-line","command-line-tool","dotfiles","rust","rust-lang","rust-library","terminal","tool"],"created_at":"2024-11-14T12:47:49.742Z","updated_at":"2026-01-27T02:12:08.724Z","avatar_url":"https://github.com/sorairolake.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2022 Shun Sakai\n\nSPDX-License-Identifier: CC-BY-4.0\n--\u003e\n\n# hf\n\n[![CI][ci-badge]][ci-url]\n[![Version][version-badge]][version-url]\n![MSRV][msrv-badge]\n[![Docs][docs-badge]][docs-url]\n![License][license-badge]\n[![REUSE status][reuse-badge]][reuse-url]\n\n**hf** is a cross-platform hidden file library and utility.\n\nThis crate supports both Unix and Windows. On Unix, hidden files and\ndirectories are files and directories that starts with a dot character (`.`).\nOn Windows, hidden files and directories are files and directories with the\nhidden file attribute. This crate provides operations related to hidden files\nand directories, such as making files and directories invisible and visible.\n\n![Demo animation](assets/demo.gif)\n\n## Installation\n\n### From source\n\n```sh\ncargo install hf\n```\n\n### Via a package manager\n\n[![Packaging status][repology-badge]][repology-versions]\n\n### From binaries\n\nThe [release page] contains pre-built binaries for Linux, macOS and Windows.\n\n### How to build\n\nPlease see [BUILD.adoc].\n\n## Usage\n\n### Make files invisible\n\nDon't actually hide anything, just show what would be done:\n\n```sh\nhf hide -n data.txt\n```\n\nActually hide files:\n\n```sh\nhf hide -f data.txt\n```\n\n### Make hidden files visible\n\nDon't actually show anything, just show what would be done:\n\n```sh\nhf show -n .data.txt\n```\n\nActually show hidden files:\n\n```sh\nhf show -f .data.txt\n```\n\n### Generate shell completion\n\n`completion` subcommand generates shell completions to standard output.\n\nThe following shells are supported:\n\n- `bash`\n- `elvish`\n- `fish`\n- `nushell`\n- `powershell`\n- `zsh`\n\nExample:\n\n```sh\nhf completion bash \u003e hf.bash\n```\n\n## Use as a library\n\nThis crate is also available as a library.\n\nRun the following command in your project directory:\n\n```sh\ncargo add --no-default-features hf\n```\n\nBy default, the dependencies required to build the application are also built.\nIf you disable the `default` feature, only the dependencies required to build\nthe library will be built.\n\n### Documentation\n\nSee the [documentation][docs-url] for more details.\n\n## Minimum supported Rust version\n\nThe minimum supported Rust version (MSRV) of this library is v1.85.0.\n\n## Command-line options\n\nPlease see the following:\n\n- [`hf(1)`]\n- [`hf-hide(1)`]\n- [`hf-show(1)`]\n- [`hf-completion(1)`]\n\n## Source code\n\nThe upstream repository is available at\n\u003chttps://github.com/sorairolake/hf.git\u003e.\n\n## Changelog\n\nPlease see [CHANGELOG.adoc].\n\n## Contributing\n\nPlease see [CONTRIBUTING.adoc].\n\n## Home page\n\n\u003chttps://sorairolake.github.io/hf/\u003e\n\n## License\n\nCopyright (C) 2022 Shun Sakai (see [AUTHORS.adoc])\n\n1.  This program is distributed under the terms of either the _Apache License\n    2.0_ or the _MIT License_.\n2.  Some files are distributed under the terms of the _Creative Commons\n    Attribution 4.0 International Public License_.\n\nThis project is compliant with version 3.3 of the [_REUSE Specification_]. See\ncopyright notices of individual files for more details on copyright and\nlicensing information.\n\n[ci-badge]: https://img.shields.io/github/actions/workflow/status/sorairolake/hf/CI.yaml?branch=develop\u0026style=for-the-badge\u0026logo=github\u0026label=CI\n[ci-url]: https://github.com/sorairolake/hf/actions?query=branch%3Adevelop+workflow%3ACI++\n[version-badge]: https://img.shields.io/crates/v/hf?style=for-the-badge\u0026logo=rust\n[version-url]: https://crates.io/crates/hf\n[msrv-badge]: https://img.shields.io/crates/msrv/hf?style=for-the-badge\u0026logo=rust\n[docs-badge]: https://img.shields.io/docsrs/hf?style=for-the-badge\u0026logo=docsdotrs\u0026label=Docs.rs\n[docs-url]: https://docs.rs/hf\n[license-badge]: https://img.shields.io/crates/l/hf?style=for-the-badge\n[reuse-badge]: https://img.shields.io/reuse/compliance/github.com%2Fsorairolake%2Fhf?style=for-the-badge\n[reuse-url]: https://api.reuse.software/info/github.com/sorairolake/hf\n[repology-badge]: https://repology.org/badge/vertical-allrepos/hf.svg?columns=3\n[repology-versions]: https://repology.org/project/hf/versions\n[release page]: https://github.com/sorairolake/hf/releases\n[BUILD.adoc]: BUILD.adoc\n[`hf(1)`]: docs/man/man1/hf.1.adoc\n[`hf-hide(1)`]: docs/man/man1/hf-hide.1.adoc\n[`hf-show(1)`]: docs/man/man1/hf-show.1.adoc\n[`hf-completion(1)`]: docs/man/man1/hf-completion.1.adoc\n[CHANGELOG.adoc]: CHANGELOG.adoc\n[CONTRIBUTING.adoc]: CONTRIBUTING.adoc\n[AUTHORS.adoc]: AUTHORS.adoc\n[_REUSE Specification_]: https://reuse.software/spec-3.3/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorairolake%2Fhf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsorairolake%2Fhf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsorairolake%2Fhf/lists"}