{"id":26070324,"url":"https://github.com/dappforce/subsocial-offchain","last_synced_at":"2025-04-11T19:04:23.630Z","repository":{"id":37506013,"uuid":"202114139","full_name":"dappforce/subsocial-offchain","owner":"dappforce","description":"Off-chain storage for Subsocial blockchain. This app builds user feeds and notifications by subscribing to Substrate events.","archived":false,"fork":false,"pushed_at":"2024-04-25T14:43:28.000Z","size":3694,"stargazers_count":33,"open_issues_count":5,"forks_count":16,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T14:51:18.311Z","etag":null,"topics":["activity-feed","activity-stream","dappforce","decentralized-communities","elasticsearch","ipfs","ipfs-node","news-feed","off-chain","offchain","offchain-storage","polkadot","postgres","postgresql","subsocial","substrate"],"latest_commit_sha":null,"homepage":"http://subsocial.network","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dappforce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-08-13T09:48:51.000Z","updated_at":"2024-05-30T10:39:22.000Z","dependencies_parsed_at":"2023-02-18T05:46:06.269Z","dependency_job_id":"eb9210e0-5665-4522-a3c2-da3a908e9f08","html_url":"https://github.com/dappforce/subsocial-offchain","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fsubsocial-offchain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fsubsocial-offchain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fsubsocial-offchain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fsubsocial-offchain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dappforce","download_url":"https://codeload.github.com/dappforce/subsocial-offchain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465325,"owners_count":21108243,"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":["activity-feed","activity-stream","dappforce","decentralized-communities","elasticsearch","ipfs","ipfs-node","news-feed","off-chain","offchain","offchain-storage","polkadot","postgres","postgresql","subsocial","substrate"],"created_at":"2025-03-08T23:15:57.190Z","updated_at":"2025-04-11T19:04:23.608Z","avatar_url":"https://github.com/dappforce.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subsocial Faucet by [DappForce](https://github.com/dappforce)\n\nSubsocial is a set of Substrate pallets with web UI that allows anyone to launch their own decentralized censorship-resistant social network aka community. Every community can be a separate Substrate chain and connect with other communities via a Polkadot-based relay chain.\n\nYou can think of this as decentralized versions of Reddit, Stack Exchange or Medium, where subreddits or communities of Stack Exchange or blogs on Medium run on their own chain. At the same time, users of these decentralized communities should be able to share their reputation or transfer coins and other values from one community to another via Polkadot relay chain.\n\nTo learn more about Subsocial, please visit [Subsocial Network](http://subsocial.network).\n\n## Supported by Web3 Foundation\n\n\u003cimg src=\"https://github.com/dappforce/dappforce-subsocial/blob/master/w3f-badge.svg\" width=\"100%\" height=\"200\" alt=\"Web3 Foundation grants badge\" /\u003e\n\nSubsocial is a recipient of the technical grant from Web3 Foundation. We have successfully delivered all three milestones described in Subsocial's grant application. [Official announcement](https://medium.com/web3foundation/web3-foundation-grants-wave-3-recipients-6426e77f1230).\n\n## Setup\n\n```sh\n# Install Node.js dependencies\nyarn\n\n# Compile TypeScript\nyarn build\n\n# Run\nyarn start\n```\n\n## Available scripts\n\n+ `clean` - remove coverage data, Jest cache and transpiled files,\n+ `build` - transpile TypeScript to ES6,\n+ `start` - run subscribe and express-api servers,\n+ `api` - run only express-api server,\n+ `subscribe` - run only subscribe server\n\n## Interaction with off-chain repository via Docker\n\n### Start infrastructure\n\nRun PostgreSQL, IPFS Node, IPFS Cluster and ElasticSearch in docker containers with one command:\n\n```sh\n./docker/run.sh\n```\n\nAdditional options to provide to the development script mentioned above:\n\n- `--stop` - just kills containers, data won't be lost.\n- `--stop --clean` - stops the containers and removes all related docker volumes (data). At the end asks whether to delete `ipfs-data` folder in `./docker/` directory.\n- `+peers` - add an IPFS peer to the starting node. (e.g. `+peers /ip4/\u003cIP_ADDRESS\u003e/tcp/4001/p2p/\u003cPEER_ID\u003e`) \n\n### Build your own docker image\n\n```sh\ndocker build . -f docker/Dockerfile -t subsocial-offchain:latest\n```\n\n### Start all parts of Subsocial at once with [Subsocial Starter](https://github.com/dappforce/dappforce-subsocial-starter)\n\n## License\n\nSubsocial is [GPL 3.0](./LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappforce%2Fsubsocial-offchain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdappforce%2Fsubsocial-offchain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappforce%2Fsubsocial-offchain/lists"}