{"id":17143769,"url":"https://github.com/harttle/http-receiver","last_synced_at":"2025-04-06T03:40:44.757Z","repository":{"id":57268281,"uuid":"129092757","full_name":"harttle/http-receiver","owner":"harttle","description":"An http endpoint receiving and showing requests in realtime","archived":false,"fork":false,"pushed_at":"2019-01-17T03:18:29.000Z","size":87,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T07:07:05.565Z","etag":null,"topics":["http","log","realtime"],"latest_commit_sha":null,"homepage":"","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/harttle.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-04-11T12:49:17.000Z","updated_at":"2024-08-20T06:50:59.000Z","dependencies_parsed_at":"2022-09-02T05:24:22.553Z","dependency_job_id":null,"html_url":"https://github.com/harttle/http-receiver","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harttle%2Fhttp-receiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harttle%2Fhttp-receiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harttle%2Fhttp-receiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harttle%2Fhttp-receiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harttle","download_url":"https://codeload.github.com/harttle/http-receiver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430838,"owners_count":20937873,"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":["http","log","realtime"],"created_at":"2024-10-14T20:42:16.626Z","updated_at":"2025-04-06T03:40:44.742Z","avatar_url":"https://github.com/harttle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-receiver\n\nAn http endpoint that provides realtime views.\n\n![record](https://user-images.githubusercontent.com/4427974/38619045-dd4027de-3dcd-11e8-99d7-8ae740be0fec.gif)\n\n## Get Started\n\nCopy the following code into your page:\n\n```html\n\u003cscript\u003e\nwindow.rlog = window.remoteLog = function () {\n    var text = Array.prototype.slice.call(arguments).map(function (arg) {\n        return typeof arg === 'object' ? JSON.stringify(arg) : arg;\n    }).join(' ');\n    var img = document.createElement('img');\n    img.src = 'receiver.harttle.com/?text=' + encodeURIComponent(text);\n};\nrlog('foo', '我爱你中国', {foo: 'bar'});    // send anything using rlog\n\u003c/script\u003e\n```\n\nCheckout  \u003chttp://log.harttle.com\u003e for your log.\n\n## Host Yourself\n\nThe receiver is a Node.js-based server and available on npm:\n\n```bash\nnpm i -g http-receiver\nPORT=8080 http-receiver\n```\n\nSend log to \u003chttp://localhost:3000\u003e and checkout \u003chttp://localhost:8080\u003e for your log.\n\n## Environments\n\n* `REC_PORT`: the port to receive data, default 3000\n* `WEB_PORT`: the port showing realtime logs, default 8080\n* `SIZE`: queue size for the cached requests, default 10\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharttle%2Fhttp-receiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharttle%2Fhttp-receiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharttle%2Fhttp-receiver/lists"}