{"id":13638717,"url":"https://github.com/urbit/js-http-api","last_synced_at":"2025-08-14T04:16:01.355Z","repository":{"id":72682751,"uuid":"591485365","full_name":"urbit/js-http-api","owner":"urbit","description":"A JS library for interfacing with Urbit over HTTP","archived":false,"fork":false,"pushed_at":"2024-07-12T22:40:16.000Z","size":372,"stargazers_count":14,"open_issues_count":2,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-08T23:50:00.847Z","etag":null,"topics":["http","javascript","urbit"],"latest_commit_sha":null,"homepage":"https://developers.urbit.org/guides/additional/http-api-guide","language":"TypeScript","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/urbit.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,"zenodo":null}},"created_at":"2023-01-20T21:51:05.000Z","updated_at":"2025-07-02T03:51:57.000Z","dependencies_parsed_at":"2023-07-20T06:30:18.982Z","dependency_job_id":"ea7e6396-317e-4c2e-b725-0bfe8ae1471f","html_url":"https://github.com/urbit/js-http-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/urbit/js-http-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fjs-http-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fjs-http-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fjs-http-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fjs-http-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/urbit","download_url":"https://codeload.github.com/urbit/js-http-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/urbit%2Fjs-http-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269669677,"owners_count":24456720,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["http","javascript","urbit"],"created_at":"2024-08-02T01:00:52.328Z","updated_at":"2025-08-14T04:16:01.297Z","avatar_url":"https://github.com/urbit.png","language":"TypeScript","readme":"# Urbit JS HTTP API\n\nThis project allows you to connect to an [Urbit](https://urbit.org) ship via a JavaScript application. In-depth usage can be found in [the guide](https://developers.urbit.org/guides/additional/http-api-guide).\n\n## Example\n\nCheck out the `example` directory for examples of how to use this code.\n\n1. Open `example/index.html` in your browser and follow the instructions there, or\n2. With a ship running in the same fashion as indicated in the file above, run `node example/index.js`\n\nThe code for either of these can be found in `src/example/browser.js` or `src/example/node.js`, depending on your context.\n\n## Design\n\nThis library is designed to be useful for node applications that communicate with an urbit running either on the local computer or on a remote one.\n\nThe majority of its methods are asynchronous and return Promises. This is due to the non-blocking nature of JavaScript. If used in a React app, response handlers should be bound with `this` to `setState` after a message is received.\n\n## NOTE\nYou must enable CORS requests on your urbit for this library to work in browser context. Use `+cors-registry` to see domains which have made requests to your urbit, and then approve the needed one, e.g. `|cors-approve http://zod.arvo.network`.\n","funding_links":[],"categories":["Developer Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbit%2Fjs-http-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furbit%2Fjs-http-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furbit%2Fjs-http-api/lists"}