{"id":15171807,"url":"https://github.com/kiwionly/gitlabsearch","last_synced_at":"2026-01-25T18:01:41.937Z","repository":{"id":182997134,"uuid":"669434620","full_name":"kiwionly/GitLabSearch","owner":"kiwionly","description":"Simple java gitlab client that could search across gitlab projects content","archived":false,"fork":false,"pushed_at":"2025-10-28T09:36:08.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T11:27:27.385Z","etag":null,"topics":["free","fulltext-search","gitlab","java","search"],"latest_commit_sha":null,"homepage":"","language":"Java","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/kiwionly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-07-22T09:09:57.000Z","updated_at":"2025-10-28T09:36:12.000Z","dependencies_parsed_at":"2024-10-11T00:20:47.176Z","dependency_job_id":"01a07464-d992-4296-8ac4-1b914ed23f71","html_url":"https://github.com/kiwionly/GitLabSearch","commit_stats":null,"previous_names":["kiwionly/gitlabsearch"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kiwionly/GitLabSearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwionly%2FGitLabSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwionly%2FGitLabSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwionly%2FGitLabSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwionly%2FGitLabSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kiwionly","download_url":"https://codeload.github.com/kiwionly/GitLabSearch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kiwionly%2FGitLabSearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28756432,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"last_error":"SSL_read: 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":["free","fulltext-search","gitlab","java","search"],"created_at":"2024-09-27T09:04:06.537Z","updated_at":"2026-01-25T18:01:41.932Z","avatar_url":"https://github.com/kiwionly.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitLabSearch\nSimple java gitlab client that could search across gitlab projects content, compatible with JDK 8 and above.\n\nYou can use it as library or command.\n\n### library\n\n#### Gradle\n\n```groovy\nimplementation 'io.github.kiwionly:gitlab-search:1.3.0'\n```\n\n#### Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.kiwionly\u003c/groupId\u003e\n    \u003cartifactId\u003egitlab-search\u003c/artifactId\u003e\n    \u003cversion\u003e1.3.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Command \n\nYou could run as jar or compile to native image ( GitLabSearch.exe ) and run as command :\n\nHere is an example of search projects by name:\n\n```sh\ngo-gitlabsearch projects -p \u003cyou_project_name\u003e -q \u003csearch_term\u003e -v -u \u003cgitlab_url\u003e -t \u003capi_token\u003e\n```\n\nor ids\n\n```sh\ngo-gitlabsearch projects -i \u003cid1,id2\u003e -q \u003csearch_term\u003e -v -u \u003cgitlab_url\u003e -t \u003capi_token\u003e\n```\n\n\nOr you could search projects by groups:\n```sh\ngo-gitlabsearch groups -g \u003cgroup1,group2\u003e -q \u003csearch_term\u003e -v -u \u003cgitlab_url\u003e -t \u003capi_token\u003e\n```\n\nAfter specific the url and token and run for the first time, it will store in `.gitlab-search` file and will retrieve the url and token in future when running again the command.\n\nSearch by groups:\n\n```sh\ngitlab-search groups -g \u003cgroup1,group2\u003e -q \u003csearch_term\u003e -v\n```\n\n### Compile to native image ( become .exe file ) using Graalvm\n\nInstall GraalVM and Visual studio on the build machine, select C++ development tool and Windows SDK when install Visual Studio.\n\nAfter Visual Studio installed, open command prompt at root directory, run commands below, the first command is to set up build environment,\nthe Directory might be difference depend on the Visual Studio version you installed.\n\n```cmd\n\u003e \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64\"\n\u003e set JAVA_HOME=C:\\graalvm-community-openjdk-20.0.1+9.1\n\u003e gradlew clean nativeCompile\n```\n\n### Library usage :\n\nSample usage as below:\n\n```\nString url = \"\"; // your domain url\nString token = \"\"; // your gitlab token\n\nGitLabSearch searcher = new GitLabSearch(url, token, 30); // use longer timeout for larger repository\nsearcher.setVerbose(true); // verbose search info for each project, default true\nsearcher.setPoolSize(10);  // set before call search method, default 10,\n\nString query = \"my search query\"; // case insensitive\n\n//\tList\u003cResult\u003e list = searcher.searchByGroupIds(List.of(123L, 456L), query);\nList\u003cResult\u003e list = searcher.searchWithKeyword(\"myproject\", query);\n\n// print search result\t\t\t\t\t\t\t\t\nfor (Result res : list) {\n\tSystem.out.println(res.getName());\n\tSystem.out.println(res.getUrl());\n\tSystem.out.println(res.getData());\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwionly%2Fgitlabsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkiwionly%2Fgitlabsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkiwionly%2Fgitlabsearch/lists"}