diff --git a/.env b/.env new file mode 100644 index 0000000..6bb0550 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +ORGANIZATION='my-organization' +TOKEN='my-token' \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..d92a7de --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# Github Organization Inviter + +**Automate the addition of users to your organization** by hosting a web-app to allow people to click and recieve invitation to your Github Organization. + +> This should've been an inbuilt feature of Github :triumph: + +## How to use: + +1) Get your [Github access token](https://github.blog/2013-05-16-personal-api-tokens/) and the name of your organization you want to generate the Inviter for. + +2) Enter both of these variables and start the node server. + +3) (Optional) Deploy it as a DigitalOcean droplet with Pm2 and Nginx. + +## Is it being used anywhere? + +Yes! This is being used in [join.codezoned.com](http://join.codezoned.com/). + +**Make sure to read on Github access rate limit before deploying this app.** diff --git a/index.html b/index.html index dd5a794..bc0647c 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,68 @@
-