All Projects → transitive-bullshit → puppeteer-github

transitive-bullshit / puppeteer-github

Licence: other
GitHub automation driven by headless chrome.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to puppeteer-github

CrawlerSamples
This is a Puppeteer+AngleSharp crawler console app samples, used C# 7.1 coding and dotnet core build.
Stars: ✭ 36 (+140%)
Mutual labels:  headless-chrome, puppeteer
codepen-puppeteer
Use Puppeteer to download pens from Codepen.io as single html pages
Stars: ✭ 22 (+46.67%)
Mutual labels:  headless-chrome, puppeteer
puppeteer-lambda
Module for using Headless-Chrome by Puppeteer on AWS Lambda.
Stars: ✭ 117 (+680%)
Mutual labels:  headless-chrome, puppeteer
purescript-toppokki
A binding to puppeteer to drive headless Chrome.
Stars: ✭ 48 (+220%)
Mutual labels:  headless-chrome, puppeteer
puppeteer-instagram
Instagram automation driven by headless chrome.
Stars: ✭ 87 (+480%)
Mutual labels:  headless-chrome, puppeteer
Puppeteer Extra
💯 Teach puppeteer new tricks through plugins.
Stars: ✭ 3,397 (+22546.67%)
Mutual labels:  headless-chrome, puppeteer
apify-cli
Apify command-line interface helps you create, develop, build and run Apify actors, and manage the Apify cloud platform.
Stars: ✭ 37 (+146.67%)
Mutual labels:  headless-chrome, puppeteer
Squidwarc
Squidwarc is a high fidelity, user scriptable, archival crawler that uses Chrome or Chromium with or without a head
Stars: ✭ 125 (+733.33%)
Mutual labels:  headless-chrome, puppeteer
throughout
🎪 End-to-end testing made simple (using Jest and Puppeteer)
Stars: ✭ 16 (+6.67%)
Mutual labels:  headless-chrome, puppeteer
puppeteer-autoscroll-down
Handle infinite scroll on websites by puppeteer
Stars: ✭ 40 (+166.67%)
Mutual labels:  headless-chrome, puppeteer
Phantomas
Headless Chromium-based web performance metrics collector and monitoring tool
Stars: ✭ 2,191 (+14506.67%)
Mutual labels:  headless-chrome, puppeteer
phantom-lord
Handy API for Headless Chromium
Stars: ✭ 24 (+60%)
Mutual labels:  headless-chrome, puppeteer
Puppeteer Cluster
Puppeteer Pool, run a cluster of instances in parallel
Stars: ✭ 2,175 (+14400%)
Mutual labels:  headless-chrome, puppeteer
Puppeteer Examples
Puppeteer example scripts for running Headless Chrome from Node.
Stars: ✭ 2,781 (+18440%)
Mutual labels:  headless-chrome, puppeteer
Deno Puppeteer
A port of puppeteer running on Deno
Stars: ✭ 128 (+753.33%)
Mutual labels:  headless-chrome, puppeteer
puppet-master
Puppeteer as a service hosted on Saasify.
Stars: ✭ 25 (+66.67%)
Mutual labels:  headless-chrome, puppeteer
Puppeteer Dart
A Dart library to automate the Chrome browser over the DevTools Protocol. This is a port of the Puppeteer API
Stars: ✭ 92 (+513.33%)
Mutual labels:  headless-chrome, puppeteer
Awesome Puppeteer
A curated list of awesome puppeteer resources.
Stars: ✭ 1,728 (+11420%)
Mutual labels:  headless-chrome, puppeteer
after-work.js
[DEPRECATED] CLI for automated tests in web projects.
Stars: ✭ 56 (+273.33%)
Mutual labels:  headless-chrome, puppeteer
nest-puppeteer
Puppeteer (Headless Chrome) provider for Nest.js
Stars: ✭ 68 (+353.33%)
Mutual labels:  headless-chrome, puppeteer

puppeteer-github

GitHub automation driven by headless chrome.

NPM Build Status JavaScript Style Guide

This module also has a CLI.

Install

npm install --save puppeteer-github

Usage

This example signs into a GitHub account.

const PuppeteerGitHub = require('puppeteer-github')

const github = new PuppeteerGitHub()

await github.signin({ username: 'xxx', password: 'xxx' })
await github.starRepo('facebook/react')

await github.close()

API

Table of Contents

PuppeteerGitHub

GitHub automation driven by headless chrome.

Type: function (opts)


isAuthenticated

Whether or not this instance is authenticated with GitHub.

Type: boolean


user

Authenticated user if authenticated with GitHub.

Type: Object


browser

Puppeteer Browser instance to use.

Type: function ()


signup

Automates the creation of a new GitHub account.

Type: function (user, opts): Promise

  • user object User details for new account
  • opts object Options (optional, default {})
    • opts.verifyEmail boolean? Whether or not to verify email
    • opts.emailPassword string? Email password for verification

signin

Signs into an existing GitHub account.

Note: either username or email is required.

Type: function (user, opts): Promise

  • user Object User details for new account
  • opts Object Options (optional, default {})

signout

Signs out of the currently authenticated GitHub account.

Type: function (): Promise


verifyEmail

Verifies the authenticated GitHub account's email via pupeteer-email.

Type: function (opts): Promise

  • opts Object Options
    • opts.emailPassword string Email password for verification
    • opts.email string? Email verification (defaults to user's GitHub email)

starPackage

Stars an npm package's github repository.

Type: function (pkgName): Promise

  • pkgName string NPM package name

Example:

const gh = new PuppeteerGitHub()
await gh.signin(...)
await gh.starPackage('react')
await gh.close()

unstarPackage

Unstars an npm package's github repository.

Type: function (pkgName): Promise

  • pkgName string NPM package name

starRepo

Stars a github repository.

Type: function (repo): Promise

  • repo string GitHub repository identifier

Example:

const gh = new PuppeteerGitHub()
await gh.signin(...)
await gh.starRepo('avajs/ava')
await gh.starRepo('https://github.com/facebook/react')
await gh.close()

unstarRepo

Unstars a github repository.

Type: function (repo): Promise

  • repo string GitHub repository identifier

close

Closes the underlying browser instance, effectively ending this session.

Type: function (): Promise


Related

License

MIT © Travis Fischer

Support my OSS work by following me on twitter twitter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].