{"id":23364474,"url":"https://github.com/fission-codes/orbitdb-eventlog-demo","last_synced_at":"2025-04-07T22:27:37.052Z","repository":{"id":99789885,"uuid":"222620987","full_name":"fission-codes/orbitdb-eventlog-demo","owner":"fission-codes","description":"A small demo to try out orbit db","archived":false,"fork":false,"pushed_at":"2019-11-19T06:07:35.000Z","size":492,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T04:56:18.385Z","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/fission-codes.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},"funding":{"open_collective":"fission"}},"created_at":"2019-11-19T06:06:39.000Z","updated_at":"2024-05-30T13:33:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"a1a8be46-ef1d-47f9-b53f-b41ecb0715da","html_url":"https://github.com/fission-codes/orbitdb-eventlog-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Forbitdb-eventlog-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Forbitdb-eventlog-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Forbitdb-eventlog-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fission-codes%2Forbitdb-eventlog-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fission-codes","download_url":"https://codeload.github.com/fission-codes/orbitdb-eventlog-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247348640,"owners_count":20924571,"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-12-21T13:16:25.897Z","updated_at":"2025-04-07T22:27:37.028Z","avatar_url":"https://github.com/fission-codes.png","language":"JavaScript","funding_links":["https://opencollective.com/fission"],"categories":[],"sub_categories":[],"readme":"_This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app)._\n# OrbitDB Demo App\nThis intent of this app was to show how easy it was to create a shared eventlog between two remote nodes using orbit db.\n\n## To run\n1. In your terminal run `yarn start`\n2. In chrome open http://localhost:3000\n3. Type in the database name `test`\n4. Copy the db address given\n5. Open firefox to http://localhost:3000\n6. Use the DB address from step 4 as the DB name\n\nNow as you add new entries in either browser you should see the data sync to the other.\n\n## Findings\nOverall OrbitDB was pleasant to work with as an alpha projects\n\n### Pros\n1. Payloads easily encrypted\n2. Useful helpers for creating and loading snapshots\n3. Useful helpers for syncing with remote peers\n4. Extending and Creating new types of stores is a first class usecase. Useful if we want to have aggregate events or if we'd like to encrpyt more of the event itself.\n5. No real difference in use between single and multi user streams\n\n### Things to be aware of\n1. Using without IPFS pubsub degrades use as you would have to start polling for changes and remote peer updates would be hard if not impossible to track.\n2. Changing permissions of a database requires duplicating the database and distrbuting the new address. (i.e. its locked in at time of creation)\n\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `yarn eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting\n\n### Analyzing the Bundle Size\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size\n\n### Making a Progressive Web App\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app\n\n### Advanced Configuration\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration\n\n### Deployment\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/deployment\n\n### `yarn build` fails to minify\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffission-codes%2Forbitdb-eventlog-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffission-codes%2Forbitdb-eventlog-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffission-codes%2Forbitdb-eventlog-demo/lists"}