1.1.19 • Published 9 years ago

octosync v1.1.19

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

Octosync

Syncs GitHub issues to a RethinkDB and gets real-time updates.

npm install octosync

var Octosync = require('octosync')
var options = {
	token: 'GITHUB_TOKEN',
	username: 'GITHUB_USERNAME',
	repository: 'GITHUB_REPOSITORY'
};

var o = new Octosync(options);

// On start, it will sync everything.
o.start()

// Returns promises
o.syncUsers()
o.syncLabels()
o.syncIssues()

Defaults to connecting to localhost DB on port 28015.
Sets up GitHub webhook on port 27070 on path /octosync

Available Options

	db_host: "localhost"
	db_name: "octosync"
	db_port: 28015
	webhook_path: "/octosync"
	webhook_port: 27070
	webhook_secret: "GITHUB_WEBHOOK_SECRET"
	token: "GITHUB_TOKEN"
	username: "GITHUB_USERNAME"
	repository: "GITHUB_REPOSITORY"
           MMM.           .MMM
           MMMMMMMMMMMMMMMMMMM
           MMMMMMMMMMMMMMMMMMM      ________________
          MMMMMMMMMMMMMMMMMMMMM    |               |
         MMMMMMMMMMMMMMMMMMMMMMM   | Octosync! <3~ |
        MMMMMMMMMMMMMMMMMMMMMMMM   |_   ___________|
        MMMM::- -:::::::- -::MMMM    |/
         MM~:~   ~:::::~   ~:~MM
    .. MMMMM::. .:::+:::. .::MMMMM ..
          .MM::::: ._. :::::MM.
             MMMM;:::::;MMMM
      -MM        MMMMMMM
      ^  M+     MMMMMMMMM
          MMMMMMM MM MM MM
               MM MM MM MM
               MM MM MM MM
            .~~MM~MM~MM~MM~~.
         ~~~~MM:~MM~~~MM~:MM~~~~
        ~~~~~~==~==~~~==~==~~~~~~
         ~~~~~~==~==~==~==~~~~~~
             :~==~==~==~==~~
1.1.19

9 years ago

1.1.18

9 years ago

1.1.17

9 years ago

1.1.16

9 years ago

1.1.15

9 years ago

1.1.14

9 years ago

1.1.13

9 years ago

1.1.12

9 years ago

1.1.11

9 years ago

1.1.10

9 years ago

1.1.9

9 years ago

1.1.8

9 years ago

1.1.7

9 years ago

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.0

9 years ago