{"id":17444376,"url":"https://github.com/jameskyburz/google-cloud-function-http-server","last_synced_at":"2026-05-16T15:38:03.052Z","repository":{"id":57252084,"uuid":"158846533","full_name":"JamesKyburz/google-cloud-function-http-server","owner":"JamesKyburz","description":"run your http server as a google cloud function","archived":false,"fork":false,"pushed_at":"2020-03-20T04:02:55.000Z","size":511,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T07:07:15.706Z","etag":null,"topics":["faas","google-cloud-function","http","http-server","https","in-memory-http-server","lambda","nodejs","proxy"],"latest_commit_sha":null,"homepage":"https://github.com/jameskyburz/google-cloud-function-http-server","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JamesKyburz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-23T15:01:54.000Z","updated_at":"2023-11-28T16:22:08.000Z","dependencies_parsed_at":"2022-09-13T12:42:59.162Z","dependency_job_id":null,"html_url":"https://github.com/JamesKyburz/google-cloud-function-http-server","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesKyburz%2Fgoogle-cloud-function-http-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesKyburz%2Fgoogle-cloud-function-http-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesKyburz%2Fgoogle-cloud-function-http-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JamesKyburz%2Fgoogle-cloud-function-http-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JamesKyburz","download_url":"https://codeload.github.com/JamesKyburz/google-cloud-function-http-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569130,"owners_count":20959758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["faas","google-cloud-function","http","http-server","https","in-memory-http-server","lambda","nodejs","proxy"],"created_at":"2024-10-17T17:21:36.815Z","updated_at":"2026-05-16T15:38:03.023Z","avatar_url":"https://github.com/JamesKyburz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# google cloud function http server\n\nCall your http server stack code using an in memory http listener. No sockets needed.\n\n[![js-standard-style](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/feross/standard)\n[![build status](https://api.travis-ci.org/JamesKyburz/google-cloud-function-http-server.svg)](https://travis-ci.org/JamesKyburz/google-cloud-function-http-server)\n[![downloads](https://img.shields.io/npm/dm/google-cloud-function-http-server.svg)](https://npmjs.org/package/google-cloud-function-http-server)\n[![Greenkeeper badge](https://badges.greenkeeper.io/JamesKyburz/google-cloud-function-http-server.svg)](https://greenkeeper.io/)\n\n## index.js\n\n```javascript\nrequire('http').createServer((req, res) =\u003e {\n  if (req.url === '/hello') return res.end('world')\n})\n.listen(5000)\n```\n\n## proxy.js\n\n```javascript\nexports.http = require('google-cloud-function-http-server')\nrequire('./index.js')\n```\n\n## serverless.yml\n\n```yaml\nservice: test\nprovider:\n  name: google\n  runtime: nodejs8\n  project: x\n  credentials: ~/.gcloud/keyfile.json\n\nplugins:\n  - serverless-google-cloudfunctions\n\nfunctions:\n  proxy:\n    environment:\n      SERVER_PORT: \"5000\"\n    handler: http\n    events:\n      - http: path\n```\n\n# license\n\n[Apache License, Version 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameskyburz%2Fgoogle-cloud-function-http-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameskyburz%2Fgoogle-cloud-function-http-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameskyburz%2Fgoogle-cloud-function-http-server/lists"}