| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 16:16:03 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100214011355
location: https://web.archive.org/web/20100214011355/https://github.com/pjhyett/github-services/tree/master
server-timing: captures_list;dur=0.927805, exclusion.robots;dur=0.090557, exclusion.robots.policy;dur=0.073678, esindex;dur=0.014889, cdx.remote;dur=10.855636, LoadShardBlock;dur=674.350264, PetaboxLoader3.datanode;dur=554.744272, PetaboxLoader3.resolve;dur=52.381832
x-app-server: wwwb-app218-dc8
x-ts: 302
x-tr: 712
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app218; path=/
x-location: All
x-as: 14061
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 301
server: nginx
date: Tue, 23 Dec 2025 16:16:03 GMT
content-type: text/html; charset=utf-8
content-length: 107
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sun, 14 Feb 2010 01:13:56 GMT
x-archive-orig-connection: close
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20100214011355/https://github.com/pjhyett/github-services
x-archive-orig-x-runtime: 5ms
x-archive-orig-content-length: 107
x-archive-orig-cache-control: no-cache
cache-control: max-age=1800
memento-datetime: Sun, 14 Feb 2010 01:13:55 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
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: TLA-20100213232338-00790-00798-ia360906-20100214094536-00000-c/TLA-20100214005321-00792-ia360906.us.archive.org.warc.gz
server-timing: captures_list;dur=0.797014, exclusion.robots;dur=0.026006, exclusion.robots.policy;dur=0.010581, esindex;dur=0.014556, cdx.remote;dur=37.301042, LoadShardBlock;dur=171.563741, PetaboxLoader3.datanode;dur=178.820727, PetaboxLoader3.resolve;dur=86.594101, load_resource;dur=110.496590
x-app-server: wwwb-app218-dc8
x-ts: 301
x-tr: 350
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-as: 14061
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 302
server: nginx
date: Tue, 23 Dec 2025 16:16:04 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100213224011
location: https://web.archive.org/web/20100213224011/https://github.com/pjhyett/github-services
server-timing: captures_list;dur=0.524720, exclusion.robots;dur=0.017094, exclusion.robots.policy;dur=0.008156, esindex;dur=0.010050, cdx.remote;dur=32.942518, LoadShardBlock;dur=163.638032, PetaboxLoader3.datanode;dur=75.741187, PetaboxLoader3.resolve;dur=65.362624
x-app-server: wwwb-app218-dc8
x-ts: 302
x-tr: 220
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
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: Tue, 23 Dec 2025 16:16:04 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sat, 13 Feb 2010 22:40:11 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "1941a9b806cc0fd85aa1bea048b00ced"
x-archive-orig-x-runtime: 102ms
x-archive-orig-content-length: 29079
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 13 Feb 2010 22:40:11 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
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_14_20100213164153_crawl102-c/51_14_20100213224005_crawl101.arc.gz
server-timing: captures_list;dur=0.617320, exclusion.robots;dur=0.021158, exclusion.robots.policy;dur=0.009701, esindex;dur=0.011570, cdx.remote;dur=10.074540, LoadShardBlock;dur=164.920360, PetaboxLoader3.datanode;dur=115.732855, PetaboxLoader3.resolve;dur=160.025553, load_resource;dur=212.899737
x-app-server: wwwb-app218-dc8
x-ts: 200
x-tr: 474
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
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 service is courtesy of Pledgie.
pjhyett / github-services
- Source
- Commits
- Network (74)
- Issues (15)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
-
Branches (1)
- master ✓
- Tags (0)
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Official GitHub Services Integration — Read more
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| endVendor 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
CONTRIBUTORSfile - 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]
NOTE: The name of the service and your docs/ file matters. If your service is RunCodeRun, your service
and docs MUST be run_code_run. Good luck!
