Giter VIP home page Giter VIP logo

gitlabcodesearch's Introduction

gitlabCodeSearch

Auth GitHub Pull Requests HitCount GitHub license

🌉 🔎 使用关键字搜索所有gitlab项目 🌉

日常工作中,我们在做一些变更的时候,经常会遇到对gitlab所有项目检索某个关键字的需求,这个工具,正是为解决这一需求而生的。

如何使用

先创建gitlab的token,这一步就不介绍如何创建了。注意此token需要给:api和read_api两个权限。

然后你可以通过配置文件,或者环境变量的方式将配置加载到程序当中。

通过环境变量能够快速运行项目,因此这里强烈推荐你使用此方式:

如果你熟悉go语言,则可以自己编译二进制,如果不熟悉,也可以直接在releases当中下载已经编译好的二进制。

export GITLAB_URL='http://gitlab.xx.com';export GITLAB_TOKEN='xxxxxxxxxxxxxx'; ./gcs search -w '想要扫描的关键字'

运行成功以后,会自动在项目运行目录下将结果输出为Excel。

如果你还有其他需求,以及其他想法,欢迎提交PR。

感谢开源

此框架建立在如下几个优秀的开源项目之上:

gitlabcodesearch's People

Contributors

eryajf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.