{"id":13412810,"url":"https://github.com/dastoori/higgs","last_synced_at":"2026-06-22T15:01:28.102Z","repository":{"id":39161511,"uuid":"321133096","full_name":"dastoori/higgs","owner":"dastoori","description":"A tiny cross-platform Go library to hide/unhide files and directories","archived":false,"fork":false,"pushed_at":"2026-06-03T14:57:49.000Z","size":40,"stargazers_count":23,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-19T08:07:59.056Z","etag":null,"topics":["directory","file","file-handling","fs","go","golang","hidden","hidden-files","hide","hide-files","hide-folder","higgs","macos","ubuntu","unix","windows"],"latest_commit_sha":null,"homepage":"","language":"Go","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/dastoori.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":"2020-12-13T18:33:10.000Z","updated_at":"2026-05-23T10:51:26.000Z","dependencies_parsed_at":"2022-09-26T19:01:46.310Z","dependency_job_id":null,"html_url":"https://github.com/dastoori/higgs","commit_stats":null,"previous_names":["dastoori/go-fshide"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dastoori/higgs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastoori%2Fhiggs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastoori%2Fhiggs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastoori%2Fhiggs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastoori%2Fhiggs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dastoori","download_url":"https://codeload.github.com/dastoori/higgs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dastoori%2Fhiggs/sbom","scorecard":{"id":323907,"data":{"date":"2025-08-11","repo":{"name":"github.com/dastoori/higgs","commit":"f3248371aaa9a7dcaaad1d2e9fef72e13cd97e92"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/unix.yml:1","Warn: no topLevel permission defined: .github/workflows/windows.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unix.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/dastoori/higgs/unix.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unix.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/dastoori/higgs/unix.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/dastoori/higgs/windows.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/dastoori/higgs/windows.yml/master?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/unix.yml:31","Warn: downloadThenRun not pinned by hash: .github/workflows/windows.yml:31","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T02:01:48.650Z","repository_id":39161511,"created_at":"2025-08-18T02:01:48.650Z","updated_at":"2025-08-18T02:01:48.650Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34653715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":["directory","file","file-handling","fs","go","golang","hidden","hidden-files","hide","hide-files","hide-folder","higgs","macos","ubuntu","unix","windows"],"created_at":"2024-07-30T20:01:29.495Z","updated_at":"2026-06-22T15:01:26.050Z","avatar_url":"https://github.com/dastoori.png","language":"Go","funding_links":[],"categories":["文件处理","File Handling","Relational Databases"],"sub_categories":["检索及分析资料库","Search and Analytic Databases","Advanced Console UIs"],"readme":"# higgs\n\nA tiny cross-platform Go library to hide or unhide files and directories.\n\n**Supported OSs:** All unix based OSs (Tested on Ubuntu, MacOS), Windows\n\n[![unix](https://github.com/dastoori/higgs/actions/workflows/unix.yml/badge.svg)](https://github.com/dastoori/higgs/actions/workflows/unix.yml)\n[![windows](https://github.com/dastoori/higgs/actions/workflows/windows.yml/badge.svg)](https://github.com/dastoori/higgs/actions/workflows/windows.yml)\n[![codecov](https://codecov.io/gh/dastoori/higgs/branch/master/graph/badge.svg?token=T1AJXSWI3F)](https://codecov.io/gh/dastoori/higgs)\n[![GitHub release](https://img.shields.io/github/v/release/dastoori/higgs?sort=semver)](https://github.com/dastoori/higgs/releases)\u003cbr/\u003e\n[![Go Reference](https://pkg.go.dev/badge/github.com/dastoori/higgs.svg)](https://pkg.go.dev/github.com/dastoori/higgs)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/dastoori/higgs)\n[![Go Report Card](https://goreportcard.com/badge/github.com/dastoori/higgs)](https://goreportcard.com/report/github.com/dastoori/higgs)\n[![GitHub](https://img.shields.io/github/license/dastoori/higgs)](https://github.com/dastoori/higgs/blob/master/LICENSE)\n[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go)  \n\n## Installation\n\n```sh\n$ go get github.com/dastoori/higgs\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/dastoori/higgs\"\n)\n\nfunc main() {\n\tpath := \"foo.txt\"\n\n\t// Hiding a file\n\tnewPath, err := higgs.Hide(path)\n\t// NOTE: On Unix after hiding the file the file name\n\t// will be changed to `.foo.txt` and `newPath` contains\n\t// the new file name\n\n\tif err != nil {\n\t\tfmt.Println(err)\n\t}\n\n\t// Unhiding a file\n\tnewPath, err = higgs.Unhide(newPath)\n\t\n\tif err != nil {\n\t\tfmt.Println(err)\n\t}\n\n\t// Setting unix overwrite option (disable by default)\n\tfh := NewFileHide(\".bar.txt\", UnixOverwriteOption(true))\n\n\t// NOTE: On Unix if a `bar.txt` file exists, it will be\n\t// overwritten after unhiding `.bar.txt`\n\terr := fh.Unhide()\n\t\n\tif err != nil {\n\t\tfmt.Println(err)\n\t}\n\n\t// NOTE: `fh.Path` contains the new file name\n}\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdastoori%2Fhiggs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdastoori%2Fhiggs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdastoori%2Fhiggs/lists"}