Git Product home page Git Product logo

ghcrawler-dashboard's Introduction

Crawler Dashboard

Crawler Dashboard to control ghcrawler application.

  • Displays queued active messages.
  • Displays message rates.
  • Displays and allows to change configuration.
  • Allows to queue request.
  • Allows to recrete queues.
  • Allows to get and delete requests from a queue.

Usage

Configuration

Environment Variables

The bare minimum configuration is:

{
  "DEBUG_ALLOW_HTTP" : true,
  "CRAWLER_REDIS_URL": "",
  "CRAWLER_REDIS_ACCESS_KEY": ""
}

For more options see env/env-template.json file.

The variables may be set either individually as environment variables or in env.json file at the same level as the project (ghcrawler-dashboard/../env.json).

Install Node packages

$ npm install

Test

$ npm test

Run

DEBUG=appinsights npm start or

DEBUG=* npm start

Note: Local environment can be accessed at http://localhost:4000.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

ghcrawler-dashboard's People

Contributors

dependabot[bot] avatar geneh avatar iamwillbar avatar jeffmcaffer avatar rspier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ghcrawler-dashboard's Issues

unable to get dashboard working

So I have ghcrawler running and I'm able to manage it using command line.
However dashboard is not coming up.

I cloned this project locally then ran npm install and then npm start (unable to run DEBUG=* npm start)
however then when I go to localhost:4000 it doesn't load anything.

image

image

image

image

Not easy to configure "single-shot" running

The existing crawler is rather designed to be able to scale to crawling many hundreds or thousands of repositories; it's a daemon which carefully schedules its work, and a separate set of utilities to control that daemon and add to its queues and so on. This is great if you want to crawl thousands of repositories. It's pretty serious overkill if you want to crawl, say, three repositories though. Is there some way to run all this in "cut down" mode, where it wakes up and scans a repository and then shuts down, without needing lots of setup and a running background daemon and so on, so it's a bit less heavyweight? (The answer may be "no, that's not what it's designed for", which is fine, but if there's some way to spin it up in a lightweight way that would be useful to know about.)

Where does configuration need to go?

The README says that the bare minimum configuration is (some vars), but doesn't say where they should be put. env/env.json? env.json? config/env.json? Somewhere else?

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.