{"id":18908798,"url":"https://github.com/orbitdb/liftoff","last_synced_at":"2025-04-15T05:32:04.004Z","repository":{"id":218026216,"uuid":"744995206","full_name":"orbitdb/liftoff","owner":"orbitdb","description":"A preconfigured instance which allows developers to \"test drive\" OrbitDB.","archived":false,"fork":false,"pushed_at":"2024-10-30T16:33:17.000Z","size":504,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-30T16:46:53.154Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orbitdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":null,"patreon":null,"open_collective":"orbitdb","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://github.com/orbitdb/funding"]}},"created_at":"2024-01-18T12:35:30.000Z","updated_at":"2024-10-30T16:31:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7cd189e-9ac1-4df9-a815-9ac555a660ea","html_url":"https://github.com/orbitdb/liftoff","commit_stats":null,"previous_names":["orbitdb/quickstart","orbitdb/liftoff"],"tags_count":2,"template":false,"template_full_name":"orbitdb/repo-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Fliftoff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Fliftoff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Fliftoff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitdb%2Fliftoff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orbitdb","download_url":"https://codeload.github.com/orbitdb/liftoff/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249015488,"owners_count":21198814,"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-08T09:28:36.016Z","updated_at":"2025-04-15T05:32:03.997Z","avatar_url":"https://github.com/orbitdb.png","language":"JavaScript","funding_links":["https://opencollective.com/orbitdb","https://github.com/orbitdb/funding"],"categories":[],"sub_categories":[],"readme":"# OrbitDB Liftoff\n\n[![Matrix](https://img.shields.io/matrix/orbit-db%3Amatrix.org)](https://app.element.io/#/room/#orbit-db:matrix.org) [![npm (scoped)](https://img.shields.io/npm/v/%40orbitdb/liftoff)](https://www.npmjs.com/package/@orbitdb/liftoff) [![node-current (scoped)](https://img.shields.io/node/v/%40orbitdb/liftoff)](https://www.npmjs.com/package/@orbitdb/liftoff)\n\nA preconfigured OrbitDB instance which allows users to quickly \"test drive\" OrbitDB. \n\nThis repository provides convenience functions and IPFS and Libp2p configurations to deploy OrbitDB quickly and with minimal knowledge of Helia/Libp2p.\n\n## Install\n\nThis project uses [npm](http://npmjs.com/) and [nodejs](https://nodejs.org/).\n\n```sh\nnpm i @orbitdb/liftoff\n```\n\n## Usage\n\nTo launch a OrbitDB instance and open a database, run `startOrbitDB`:\n\n```js\nimport { startOrbitDB, stopOrbitDB } from '@orbitdb/liftoff'\n\nconst orbitdb = await startOrbitDB()\nconst db1 = await orbitdb.open('db1')\nawait db1.add('hello world!')\nconsole.log(await db1.all())\nawait stopOrbitDB(orbitdb)\n```\n\nOrbitDB Liftoff also includes default Libp2p configurations for Node.js and browser for basic connections between multiple peers:\n\n```js\nimport { createOrbitDB } from '@orbitdb/core'\nimport { DefaultLibp2pOptions } from '@orbitdb/liftoff'\n\nconst libp2p = await createLibp2p({ ...DefaultLibp2pOptions })\nconst ipfs = await createHelia({ libp2p })\n\nconst orbitdb = await createOrbitDB({ ipfs })\n\nconst db1 = await orbitdb.open('db1')\nawait db1.add('hello world!')\nconsole.log(await db1.all())\n```\n\n\n## License\n\n[MIT](LICENSE) © 2024 OrbitDB Community\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitdb%2Fliftoff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forbitdb%2Fliftoff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitdb%2Fliftoff/lists"}