{"id":26517200,"url":"https://github.com/fraction/ssb-uri","last_synced_at":"2025-10-14T09:19:36.375Z","repository":{"id":33441460,"uuid":"158448241","full_name":"fraction/ssb-uri","owner":"fraction","description":"Uniform Resource Identifier (URI) utilities for Secure Scuttlebutt (SSB)","archived":false,"fork":false,"pushed_at":"2022-04-09T20:52:08.000Z","size":226,"stargazers_count":10,"open_issues_count":9,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T01:11:19.066Z","etag":null,"topics":["identifier","secure-scuttlebutt","sigil","ssb","uri"],"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/fraction.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-20T20:37:33.000Z","updated_at":"2022-02-04T08:19:58.000Z","dependencies_parsed_at":"2022-07-27T15:32:06.386Z","dependency_job_id":null,"html_url":"https://github.com/fraction/ssb-uri","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fraction/ssb-uri","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fssb-uri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fssb-uri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fssb-uri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fssb-uri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fraction","download_url":"https://codeload.github.com/fraction/ssb-uri/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fraction%2Fssb-uri/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018570,"owners_count":26086394,"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-10-14T02:00:06.444Z","response_time":60,"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":["identifier","secure-scuttlebutt","sigil","ssb","uri"],"created_at":"2025-03-21T08:19:02.199Z","updated_at":"2025-10-14T09:19:36.351Z","avatar_url":"https://github.com/fraction.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ssb-uri\n\n[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\n\u003e Uniform Resource Identifier (URI) utilities for Secure Scuttlebutt (SSB)\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [API](#api)\n- [Maintainers](#maintainers)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\n```sh\nnpm install --save ssb-uri\n```\n\n## Usage\n\n```js\nconst ssbUri = require(\"ssb-uri\");\n\nssbUri.fromSigilLink(\"%g3hPVPDEO1Aj/uPl0+J2NlhFB2bbFLIHlty+YuqFZ3w=.sha256\");\n// =\u003e 'ssb:message:sha256:g3hPVPDEO1Aj_uPl0-J2NlhFB2bbFLIHlty-YuqFZ3w='\n\nssbUri.toSigilLink(\n  \"ssb:message:sha256:g3hPVPDEO1Aj_uPl0-J2NlhFB2bbFLIHlty-YuqFZ3w=\"\n);\n// =\u003e '%g3hPVPDEO1Aj/uPl0+J2NlhFB2bbFLIHlty+YuqFZ3w=.sha256'\n```\n\n## API\n\n### `ssbUri.fromSigilLink(sigilLinkString)`\n\nTakes an SSB sigil link as input and returns an SSB URI. Any errors are thrown.\n\n### `ssbUri.toSigilLink(uriLinkString)`\n\nTakes an SSB URI as input and returns an SSB sigil link. Any errors are thrown.\n\n## Maintainers\n\n[@fraction](https://github.com/fraction)\n\n## Contribute\n\nPRs accepted.\n\nSmall note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n## License\n\nMIT © 2018 Fraction\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraction%2Fssb-uri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffraction%2Fssb-uri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffraction%2Fssb-uri/lists"}