{"id":41307467,"url":"https://github.com/braid-org/host","last_synced_at":"2026-01-23T05:08:35.943Z","repository":{"id":138326656,"uuid":"461108998","full_name":"braid-org/host","owner":"braid-org","description":"A convenient host for Braid apps","archived":false,"fork":false,"pushed_at":"2022-07-31T09:57:37.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-10-21T22:56:40.601Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/braid-org.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-19T06:37:49.000Z","updated_at":"2022-03-26T05:31:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"28efaf9d-3f0b-4c4d-81c3-65a7897fe256","html_url":"https://github.com/braid-org/host","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"156fbb9992812e13eab51c99add5204c8c679472"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/braid-org/host","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braid-org%2Fhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braid-org%2Fhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braid-org%2Fhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braid-org%2Fhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/braid-org","download_url":"https://codeload.github.com/braid-org/host/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braid-org%2Fhost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28680623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T04:33:33.518Z","status":"ssl_error","status_checked_at":"2026-01-23T04:33:30.433Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-23T05:08:35.874Z","updated_at":"2026-01-23T05:08:35.938Z","avatar_url":"https://github.com/braid-org.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `host`\n\nA nice way to host Braid apps.\n\nExample usage:\n```javascript\nvar host = require('@braidjs/host')\n\nhost.route({ path: '/pub*',  to: host.server('micropub') })\nhost.route({ path: '/*',     to: host.server('invisible.college') })\n\nconsole.log('Making the host!')\nhost.listen(443)\n```\n\nThis short-form example assumes you have web servers implemented at `./micropub/server.js` and `./invisible.college/server.js`, but you can also specify an arbitrary directory and script with:\n```javascript\nhost.route({ path: \u003cpath\u003e, to: host.server('directory', 'server.js') })\n```\nOr you can specify an existing server's port with:\n```javascript\nhost.route({ path: \u003cpath\u003e, to: {name: '\u003csome name\u003e', port: \u003cport number\u003e} })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraid-org%2Fhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbraid-org%2Fhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraid-org%2Fhost/lists"}