CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 24 Jul 2025 21:42:23 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090924205546
location: https://web.archive.org/web/20090924205546/https://github.com/pjhyett/github-services
server-timing: captures_list;dur=0.546305, exclusion.robots;dur=0.024136, exclusion.robots.policy;dur=0.011940, esindex;dur=0.011405, cdx.remote;dur=8.790575, LoadShardBlock;dur=331.373857, PetaboxLoader3.datanode;dur=141.907696, PetaboxLoader3.resolve;dur=114.526194
x-app-server: wwwb-app210
x-ts: 302
x-tr: 363
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app210; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 24 Jul 2025 21:42:25 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.35
x-archive-orig-date: Thu, 24 Sep 2009 20:55:46 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "6895524f48c9eb3f7465c30277421d2d"
x-archive-orig-x-runtime: 727ms
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 28592
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 24 Sep 2009 20:55:46 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 02 May 2008 21:03:29 GMT", ; rel="prev memento"; datetime="Sat, 19 Sep 2009 06:57:01 GMT", ; rel="memento"; datetime="Thu, 24 Sep 2009 20:55:46 GMT", ; rel="next memento"; datetime="Sun, 25 Oct 2009 10:40:18 GMT", ; rel="last memento"; datetime="Tue, 07 Mar 2023 08:27:25 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_11_20090924131821_crawl103.gpg-c/51_11_20090924205500_crawl101.arc.gz
server-timing: captures_list;dur=0.651307, exclusion.robots;dur=0.027353, exclusion.robots.policy;dur=0.012763, esindex;dur=0.017075, cdx.remote;dur=12.956707, LoadShardBlock;dur=872.126672, PetaboxLoader3.datanode;dur=185.468853, PetaboxLoader3.resolve;dur=141.417298, load_resource;dur=211.133787
x-app-server: wwwb-app210
x-ts: 200
x-tr: 1155
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
pjhyett's github-services at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | Official GitHub Services Integration edit |
Homepage: | https://github.com/blog/53-github-services-ipo edit |
Public Clone URL: |
git://github.com/pjhyett/github-services.git
Give this clone URL to anyone.
git clone git://github.com/pjhyett/github-services.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:pjhyett/github-services.git
|
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Wed Jul 09 22:18:36 -0700 2008 | Improving email format. This includes a second... [eric] |
![]() |
CONTRIBUTORS | Tue Sep 15 12:11:22 -0700 2009 | Merge in runcoderun hook [defunkt] |
![]() |
LICENSE | Mon Jul 14 01:30:49 -0700 2008 | add LICENSE [pjhyett] |
![]() |
README.mkdn | Tue Sep 15 12:25:41 -0700 2009 | whitespace [defunkt] |
![]() |
Rakefile | Tue May 06 02:08:47 -0700 2008 | Added Rakefile with a RSpec task to make runnin... [Luke Redpath] |
![]() |
docs/ | Tue Sep 15 13:19:33 -0700 2009 | Merge remote branch 'madrobby/master' [defunkt] |
![]() |
github-services.rb | Tue Sep 15 12:26:09 -0700 2009 | Make the README not a liar. Default port is now... [defunkt] |
![]() |
script/ | Wed Sep 02 15:08:13 -0700 2009 | Added a script that creates the correct Curl co... [karnowski] |
![]() |
services/ | Tue Sep 15 16:45:22 -0700 2009 | Merge branch 'master' of github.com:pjhyett/git... [pjhyett] |
![]() |
spec/ | Wed Feb 04 05:31:21 -0800 2009 | Add specs for freckle service. [kommen] |
![]() |
vendor/ | Tue Apr 28 18:15:54 -0700 2009 | don't need this either [pjhyett] |
README.mkdn
GitHub Services
How the services work
- A post-receive background job is submitted when someone pushes their commits to GitHub
- If the repository the commits belong to has any "Service Hooks" setup, the
job makes a request to
https://services-server/service_name/
with the following data:params[:payload]
containing all of the commit data (the same data you get using the API)params[:data]
containing the service data (username, password, room, etc)
- Sinatra (github-services.rb) processes the request (twitters your data, says something in campfire, posts it to lighthouse, etc)
- Rinse and repeat
Steps to contributing
- Fork the project
Create a new file in /services/ called
service_name.rb
, using the following template:service :service_name do |data, payload| end
Vendor any external gems your code relies on, and make sure to include it in the requires at the top of github-services.rb
- Add documentation to
docs/service_name
(refer to the others for guidance) - Add your name to the
CONTRIBUTORS
file - Create an Issue at https://github.com/pjhyett/github-services/issues with links to each commit you want included.
- Once it's accepted we'll add any new necessary data fields to the GitHub front-end so people can start using your addition.
Patches including tests are encouraged
Running the server locally
- [sudo] gem install hpricot
- git clone git://github.com/pjhyett/github-services.git
- cd github-services
ruby github-services.rb
Bugs in the code should be filed under the Issues tab
- Problems with the service hooks can be filed here: https://support.github.com/discussions/post-receive-issues
How to test your service
- Start the github-services Sinatra server with
ruby github-services.rb
. By default, it runs on port 8080. - Edit the doc/github_payload file as necessary to test your service. (Usually just editing the "data" values but leaving the "payload" alone.)
- Send the doc/github_payload file to your service by calling:
./script/deliver_payload [service-name]
This feature is coming soon. Sit tight!