Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thundergolfer/automated-github-organization-invites
Quickly host a webpage allowing people to click and receive an invite to your Github Organization.
https://github.com/thundergolfer/automated-github-organization-invites
github github-api github-extension heroku ruby sinatra
Last synced: 6 days ago
JSON representation
Quickly host a webpage allowing people to click and receive an invite to your Github Organization.
- Host: GitHub
- URL: https://github.com/thundergolfer/automated-github-organization-invites
- Owner: thundergolfer
- License: mit
- Created: 2017-01-30T08:44:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T10:00:00.000Z (over 1 year ago)
- Last Synced: 2024-08-01T13:23:22.589Z (3 months ago)
- Topics: github, github-api, github-extension, heroku, ruby, sinatra
- Language: Ruby
- Homepage:
- Size: 375 KB
- Stars: 96
- Watchers: 4
- Forks: 70
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ospo - Automated Github Organization Invites - Host a webpage allow people to click and receive and invite to your Github Organization (GitHub Management)
README
# Automated Github Organization (and Team) Invites
[![Code Climate](https://codeclimate.com/github/thundergolfer/automated-github-organization-invites/badges/gpa.svg)](https://codeclimate.com/github/thundergolfer/automated-github-organization-invites) [![Issue Count](https://codeclimate.com/github/thundergolfer/automated-github-organization-invites/badges/issue_count.svg)](https://codeclimate.com/github/thundergolfer/automated-github-organization-invites)> Quickly host a webpage to allow people to click and receive an invite to your Github Organization and an (optional) default team.
### Features
* Validates submitted Github usernames
* Links in your Github Organization's avatar/image
* Lightweight
* Optionally auto-invite to a team inside the organization### Get It Right Now
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
All you have to do is
1. Click **Deploy to Heroku**
2. Fill in the **Environment Variables** when prompted. These will be a *[Github Access Token](https://github.com/blog/1509-personal-api-tokens)*, which should have Organization privileges enabled, and a *GitHub Organization name*, and a *background color*. The choices are `{blue,green,grey,pink,red,white}`. If you don't enter one of those strings it defaults to 'white'. Lastly an optional *GitHub Organization team* can also be specified if you want your users to auto-join a default team.#### All Done! Just share the Heroku App's URL to people and they'll be able to get themselves an invite to your organisation.
### Development
**Install:**
```
bundle install
```**Run Locally:**
```bash
ORGANIZATION_NAME="foo" GITHUB_TOKEN="bar" bundle exec ruby web_app.rb
```### Credit
Thanks to *[Code, Applied To Life](https://medium.com/code-applied-to-life/automated-github-organization-invites-3e940aa27040#.sikfvzyaj)* for their efforts which were used as a base for this.