Git Product home page Git Product logo

goodbrother-vercel's Introduction

Goodbrother Serverless Function

Vercel Serverless Function for running Goodbrother. Exposes endpoint for listing open pull requests in repositories of given Github user. For example:

https://goodbrother.vercel.app/api/repos/stscoundrel?secret=SECRET_HERE https://goodbrother.vercel.app/api/pulls/stscoundrel?secret=SECRET_HERE

Returns a list like:

[
  {
    "name": "stscoundrel/goodbrother",
    "pullRequests": [
      {
        "id": 1088227478,
        "name": "Fixture PR for integration tests",
        "link": "https://github.com/stscoundrel/goodbrother/pull/18",
        "isDependabot": false,
        "repository": "stscoundrel/goodbrother"
      }
    ]
  },
  {
    "name": "stscoundrel/runes",
    "pullRequests": [
      {
        "id": 1075530244,
        "name": "Bump next-pwa from 5.4.0 to 5.4.4",
        "link": "https://github.com/stscoundrel/runes/pull/108",
        "isDependabot": true,
        "repository": "stscoundrel/runes"
      },
      {
        "id": 1067868936,
        "name": "Bump eslint-plugin-react-hooks from 4.2.0 to 4.3.0",
        "link": "https://github.com/stscoundrel/runes/pull/105",
        "isDependabot": true,
        "repository": "stscoundrel/runes"
      },
      {
        "id": 1067868852,
        "name": "Bump eslint-config-next from 12.0.2 to 12.0.4",
        "link": "https://github.com/stscoundrel/runes/pull/104",
        "isDependabot": true,
        "repository": "stscoundrel/runes"
      },
    ]
  },
  {
    "name": "stscoundrel/gatsby-source-plugin-zoega",
    "pullRequests": [
      {
        "id": 1068208284,
        "name": "Bump eslint-config-airbnb-base from 14.2.1 to 15.0.0",
        "link": "https://github.com/stscoundrel/gatsby-source-plugin-zoega/pull/18",
        "isDependabot": true,
        "repository": "stscoundrel/gatsby-source-plugin-zoega"
      }
    ]
  },
  {
    "name": "stscoundrel/gatsby-source-cleasby-vigfusson",
    "pullRequests": [
      {
        "id": 1067800663,
        "name": "Bump eslint-config-airbnb-base from 14.2.1 to 15.0.0",
        "link": "https://github.com/stscoundrel/gatsby-source-cleasby-vigfusson/pull/23",
        "isDependabot": true,
        "repository": "stscoundrel/gatsby-source-cleasby-vigfusson"
      }
    ]
  },
]
Why is it hidden behind a secret?

This is for my own use. Feel free to copy, fork, deploy and modify your own version as needed. Or just use Goodbrother library

goodbrother-vercel's People

Contributors

dependabot[bot] avatar stscoundrel avatar

Watchers

 avatar  avatar

goodbrother-vercel's Issues

Responses: add summaries

Both pulls & repos endpoints could have something like:

{
  repos: 21,
  pulls: 146,
  list: [...current response model here]
}

To give a quick summary. Seems I'm often reaching for that info anyway via browser extension.

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.