{"id":43057498,"url":"https://github.com/vito-go/fsearch","last_synced_at":"2026-01-31T11:33:03.678Z","repository":{"id":190415053,"uuid":"682555583","full_name":"vito-go/fsearch","owner":"vito-go","description":"Search text in files quickly(using linux grep command), especially for log searching. Directories are supported. Support local remote online registration search.","archived":false,"fork":false,"pushed_at":"2024-12-06T02:15:57.000Z","size":2452,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-06T03:20:57.101Z","etag":null,"topics":["grep","grep-search","log","logging","logsearch","search"],"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/vito-go.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-08-24T12:29:53.000Z","updated_at":"2024-11-08T19:33:48.000Z","dependencies_parsed_at":"2023-12-19T05:42:01.622Z","dependency_job_id":null,"html_url":"https://github.com/vito-go/fsearch","commit_stats":null,"previous_names":["vito-go/fsearch"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/vito-go/fsearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito-go%2Ffsearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito-go%2Ffsearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito-go%2Ffsearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito-go%2Ffsearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vito-go","download_url":"https://codeload.github.com/vito-go/fsearch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vito-go%2Ffsearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28940473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T10:18:23.202Z","status":"ssl_error","status_checked_at":"2026-01-31T10:18:22.693Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["grep","grep-search","log","logging","logsearch","search"],"created_at":"2026-01-31T11:33:02.974Z","updated_at":"2026-01-31T11:33:03.670Z","avatar_url":"https://github.com/vito-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fsearch\n\nSearch text in files quickly(using linux grep command), especially for log searching. Directories are supported.\nSupport local remote online registration search and single machine search.\n\n## Quick Start\n- Look at the example directory for more details.\n### Server\n- go to the release page to download the `web.zip` file\n  - https://github.com/vito-go/fsearch_flutter/releases/\n- unzip the `web.zip` file\n \n\n```go\npackage main\n\nimport (\n\t\"github.com/vito-go/fsearch\"\n\t\"log\"\n\t\"net/http\"\n)\n\n// uncomment this if you want to use embed file\n/*\n//go:embed web\nvar staticEmbededFile embed.FS\n*/\nfunc main() {\n\tauthMap := map[string]*fsearch.AccountConfig{\n\t\t// you can add more account here\t\t\n\t}\n\t// authMap can be nil if you don't need auth\n\tserver := fsearch.NewServer( \"/\",  authMap)\n\tlog.Println(\"server start: 9097\")\n\t// the dir is that you download and unzip above \n\tstaticWebFile := http.Dir(\"web\")\n\t// you can also use embed file here, but you need to uncomment the code above and import embed\n\t// e.g staticWebFile := http.FS(staticEmbededFile)\n\terr:=server.StartListenAndServe(staticWebFile, \":9097\")\n    if err != nil{\n      panic(err)\n    }\n}\n\n```\n\n### Client\n\n```go\n\n\npackage main\n\nimport (\n\t\"github.com/vito-go/fsearch\"\n\t\"github.com/vito-go/fsearch/util\"\n)\n\nfunc main() {\n\tappName := \"demoApp\"\n\tsearchDir := \"github.com/vito-go/fsearch\" // can be any directory, especially for logs/ \n\tcli, err := fsearch.NewClient(searchDir, appName)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tcli.RegisterToCenter(\"ws://127.0.0.1:9097/wsRegister\")\n\t// write here your own code instead of select {}\n\tselect {}\n}\n\n```\n\n## Demo\n\n\u003cimg src=\"./images/fsearch.png\" /\u003e\n\u003cimg src=\"./images/fsearch1.png\" /\u003e\n\u003cimg src=\"./images/fsearch2.png\" /\u003e`\n\n## TODO\n- [ ] Add more search options","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito-go%2Ffsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvito-go%2Ffsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvito-go%2Ffsearch/lists"}