{"id":18901121,"url":"https://github.com/regular/tre-client","last_synced_at":"2025-04-15T02:36:43.557Z","repository":{"id":57379428,"uuid":"156100493","full_name":"regular/tre-client","owner":"regular","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-25T09:06:42.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-28T03:18:56.677Z","etag":null,"topics":[],"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/regular.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-04T16:13:11.000Z","updated_at":"2021-07-25T09:06:43.000Z","dependencies_parsed_at":"2022-09-02T21:21:58.444Z","dependency_job_id":null,"html_url":"https://github.com/regular/tre-client","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regular%2Ftre-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regular%2Ftre-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regular%2Ftre-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regular%2Ftre-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regular","download_url":"https://codeload.github.com/regular/tre-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248995100,"owners_count":21195497,"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":[],"created_at":"2024-11-08T08:55:15.959Z","updated_at":"2025-04-15T02:36:43.333Z","avatar_url":"https://github.com/regular.png","language":"JavaScript","readme":"# tre-client\n\nFully automated client connections for web applications based on secure-scuttlebutt\n\n## Example\n\n```\nconst {client} = require('tre-client')\n\nclient( (err, ssb, config) =\u003e {\n  if (err) return console.error(err)\n  ssb.whoami( (err, feed) =\u003e {\n    if (err) return console.error(err)\n    console.log('pub key', feed.id) \n  }) \n})\n```\n\n\u003e Note: tre-client assumes that your sbot configuration is in a file called `.trerc` in your project's home directory (next to package.json).\n\n## Install\n\n```\nsbot plugins.install tre-client\n```\n\n## See also\n\n[tre-init](https://github.com/regular/tre-init)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregular%2Ftre-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregular%2Ftre-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregular%2Ftre-client/lists"}