{"id":19577829,"url":"https://github.com/fedeztk/glocate","last_synced_at":"2026-05-09T19:41:53.821Z","repository":{"id":190656693,"uuid":"682176782","full_name":"fedeztk/glocate","owner":"fedeztk","description":"glocate is a Go alternative to locate and updatedb in one command. It creates a small DB thanks to lz4 compression","archived":false,"fork":false,"pushed_at":"2023-08-25T16:26:08.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T04:48:42.021Z","etag":null,"topics":["cli","filesystem","go","golang","linux","locate","lz4","terminal","updatedb"],"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/fedeztk.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}},"created_at":"2023-08-23T15:53:32.000Z","updated_at":"2024-06-10T13:37:06.000Z","dependencies_parsed_at":"2023-08-25T20:26:52.503Z","dependency_job_id":null,"html_url":"https://github.com/fedeztk/glocate","commit_stats":null,"previous_names":["fedeztk/glocate"],"tags_count":0,"template":false,"template_full_name":"github/codespaces-blank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedeztk%2Fglocate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedeztk%2Fglocate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedeztk%2Fglocate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedeztk%2Fglocate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedeztk","download_url":"https://codeload.github.com/fedeztk/glocate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240848985,"owners_count":19867615,"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","filesystem","go","golang","linux","locate","lz4","terminal","updatedb"],"created_at":"2024-11-11T07:08:30.356Z","updated_at":"2026-05-09T19:41:48.795Z","avatar_url":"https://github.com/fedeztk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Glocate\n\n[![go report](https://goreportcard.com/badge/github.com/fedeztk/glocate)](https://goreportcard.com/report/github.com/fedeztk/glocate)\n![CI/CD](https://github.com/fedeztk/glocate/actions/workflows/go.yaml/badge.svg)\n\n**A simple cli tool for indexing/searching files in your filesystem**\n![gopher](https://github.com/egonelbre/gophers/blob/master/vector/adventure/hiking.svg)\n\n`glocate` is an alternative to the `locate`/`updatedb` commands written in Go.\n\n## Installation\n\n```bash\ngo install github.com/fedeztk/glocate@latest\n```\n\n## Usage\n\nCreate the index database\n```bash\nglocate --index\n```\n\nSearch for a pattern (regex are supported out of the box)\n```bash\nglocate \"pattern\"             # case sensitive\n```\n\n```bash\nglocate --smartcase \"pattern\" # case insensitive if the pattern is all lowercase\n```\n\n```bash\nglocate --color \"pattern\"     # colorize the output\n```\n\nFor a full list of options and shortcuts see the help page\n```bash\nglocate --help\n```\n\n### Configuration\n\nThe configuration can be done via environment variables, flags, and a config file.\n\nThe config file is in yaml format. It will be created automatically if it does not exist under `$HOME/.config/glocate/glocate.yaml`. Default values are shown below.\n```yaml\ndirectories: # directories to index\n  - \"$HOME\"\n\nignoredPatterns: # patterns to ignore\n  - \"$HOME/.cache\"\n\nignoreSymlinks: true # do not follow symlinks\nignoreHidden: false # ignore hidden files\n```\n\n### Acknowledgements\n\nA special thanks to the creator of the walk implementation used to walk the filesystem ([see here](https://github.com/opencoff/go-walk)).\n\nAcknowledgements also go to the creators of all the other libraries used in this project, see [go.mod](go.mod) for a full list.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedeztk%2Fglocate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedeztk%2Fglocate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedeztk%2Fglocate/lists"}