OpenUserJs/OpenUserJS.org — pull request #65 by sizzlemctwizzle (2014-02-10 21:22:01+00:00)
Title: Issue 2

I just finished integration with GitHub Webhooks so that now when you import a script from GitHub it will be automatically updated on OpenUserJS.org when ever you push changes to the script on the master branch of the repo containing the script.

As per our policy, so one else needs to confirm that this change works before they can pull it into master. Webhooks must be world visible so I have the site running on my server at http://site.sizzlemctwizzle.com:7070/ for testing.

Use case:

1. Put a user script into one of your GitHub repos

2. Go into the repo settings on GH for the imported script, then Service Hooks, then WebHook URLs

3. Paste ``http://site.sizzlemctwizzle.com:7070/github/hook`` into the URL input box and click the Update settings button

4. Login to the site (create an account using your GitHub account if you don't have one already) at http://site.sizzlemctwizzle.com:7070/, click on your username, click the edit link, and then click "Manage Scripts"

5. Click the button to find scripts on GH

6. Select a user script from the repo with the hook to import and click the load scripts button

7. You'll be taken to your profile so you can confirm that your script is on the site and installable

8. Modify the user script locally, commit the change, and then push it to GH

9. Go to your profile and confirm the the script has been update