Skip to content

NodeJs CLI tools to search keywords in find across all your project

Notifications You must be signed in to change notification settings

tlbignerd/gitlab-finder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Cli Gitlab Finder

Due to the Gitlab advanced search rate limiter, I was unable to use the CLI tools written by Phillip Johnsen. So I wrote my own in NodeJS using the GitLab API NodeJS library GitBeaker by Justin Dalrymple

This project is quite straightforward with only to settings to fill in the .env file (a read only personnal auth token) and the string to search. Then you can start searching by running the search script

Notice: due to the really low rate limit (10 request per minute) you may wait for quite a long time. Based on my own experiment, about 700 seconds to search across 100 projects

1. Install

git clone [email protected]:ldbglobe/gitlab-finder.git
cd gitlab-finder
yarn
cp .env.sample .env

2. Configure

Edit the .env to put your own personnal authtoken, search string and file extension (optionnal) before executing the script

3. Execute

yarn search

About

NodeJs CLI tools to search keywords in find across all your project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%