github plugin rewritten