Giter Site home page Giter Site logo

github-manager's Introduction

github-manager

Plugins based github account / organisation management framework.

Please note that I'm not responsible for any data loss caused by this software. Until version 0.7 it should be considered as 'unstable', so use it at your own risk.

Installation

Run installer script which will automagically configure everything for you. Can't be simplier I think.

installer.sh

Configuration

Only thing it needs from you by default is Github API token. You can obtain it from github personal access tokens page.

export GITHUB_MANAGER_API_TOKEN="<40 characters API token>"

Github manager API token should have access rights to user, repo and org management. No worries - ghm won't change anything without your knowledge.

Plugins

All the plugins you want to use should be added to active-plugins directory. If you'd like to use one of 'stock' plugins simply symlink it there to stay up to date.

We are using octokit for github operations. There's a connection handler available across the gh-manager ( $connection ). Blank plugin example ( based on whoami plugin ):

module Plugins
  class Whoami
    def initialize
      # Any magic preparations needed go here
    end

    def self.info
      plugin = Hash.new
      plugin['name']        = 'whoami'
      plugin['author']      = 'lukaszraczylo'
      plugin['handle']      = 'whoami'
      plugin['description'] = 'Print information about myself'
      plugin['type']        = 'boolean'
      return plugin
    end

    def self.run
      # This is the main method executed on plugin run
      return "#{$connection.user.name} (#{$connection.user.login})"
    end
  end
end

github-manager's People

Contributors

lukaszraczylo avatar

Watchers

James Cloos avatar  avatar

github-manager's Issues

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.