{"id":13436111,"url":"https://github.com/dappforce/polkaverse","last_synced_at":"2025-10-12T06:35:49.239Z","repository":{"id":64110465,"uuid":"573461004","full_name":"dappforce/polkaverse","owner":"dappforce","description":"The codebase for PolkaVerse, a reference application built on the Subsocial blockchain. Feel free to use the code in your own Subsocial dapps.","archived":false,"fork":false,"pushed_at":"2025-04-13T21:41:58.000Z","size":38807,"stargazers_count":16,"open_issues_count":6,"forks_count":9,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-06-07T02:41:02.914Z","etag":null,"topics":["blockchain-explorer","dapp","dotsama","kusama","polkadot","social-dapp","social-dapps","subsocial","substrate","web3","web3-social"],"latest_commit_sha":null,"homepage":"https://polkaverse.com","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":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-02T14:15:06.000Z","updated_at":"2025-04-25T00:48:29.000Z","dependencies_parsed_at":"2025-06-07T02:46:39.084Z","dependency_job_id":null,"html_url":"https://github.com/dappforce/polkaverse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dappforce/polkaverse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fpolkaverse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fpolkaverse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fpolkaverse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fpolkaverse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dappforce","download_url":"https://codeload.github.com/dappforce/polkaverse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappforce%2Fpolkaverse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010515,"owners_count":26084757,"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-12T02:00:06.719Z","response_time":53,"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":["blockchain-explorer","dapp","dotsama","kusama","polkadot","social-dapp","social-dapps","subsocial","substrate","web3","web3-social"],"created_at":"2024-07-31T03:00:44.202Z","updated_at":"2025-10-12T06:35:49.217Z","avatar_url":"https://github.com/dappforce.png","language":"TypeScript","funding_links":[],"categories":["Social Networks"],"sub_categories":["[Polkaverse](https://www.polkaverse.com)"],"readme":"# Example dapp on the Subsocial blockchain by [DappForce](https://github.com/dappforce)\n\n![Production Deploy](https://github.com/dappforce/polkaverse/actions/workflows/build-deploy.yml/badge.svg)\n\nPolkaVerse is a niche social site built on the Subsocial network. It focuses on the Polkadot and Kusama ecosystem. You can use this this code to help you in the development of your own dapps running on or integrated with Subsocial.\n\nVisit Subsocial's [website](https://subsocial.network) to learn more about the project.\n\n## Guide to build and deploy polkaverse\n\n### Build the docker images\n\n1. Prepare the [dockerfile](./docker/Dockerfile) and adjust the config if needed.\n2. Build the image in local with this command and please ensure to add build argument.\n\n```bash\n$ docker build --build-arg GH_GA_ID=valueREDACTED --build-arg GH_APP_KIND=valueREDACTED --build-arg GH_HCAPTCHA_SITE_KEY=valueREDACTED --build-arg GH_AMP_ID=valueREDACTED --build-arg GH_OFFCHAIN_SIGNER_URL=valueREDACTED --build-arg GH_CONNECTION_KIND=valueREDACTED --build-arg GH_SELLER_CLIENT_ID=valueREDACTED --build-arg GH_SERVER_MNEMONIC==valueREDACTED --build-arg GH_SELLER_TOKEN_SIGNER=valueREDACTED --build-arg GH_NEXT_PUBLIC_DATAHUB_QUERY_URL=valueREDACTED --build-arg GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL=valueREDACTED --build-arg GH_DATAHUB_QUEUE_URL=valueREDACTED --build-arg GH_DATAHUB_QUEUE_TOKEN=valueREDACTED -t polkaverse-docker-image:latest .\n```\n\nNotes:\nPlease execute the build process with theses build arguments, you need to specify the value.\n\n- GH_GA_ID=valueREDACTED\n- GH_APP_KIND=valueREDACTED\n- GH_HCAPTCHA_SITE_KEY=valueREDACTED\n- GH_AMP_ID=valueREDACTED\n- GH_OFFCHAIN_SIGNER_URL=valueREDACTED\n- GH_CONNECTION_KIND=valueREDACTED\n- GH_SELLER_CLIENT_ID=valueREDACTED\n- GH_SELLER_TOKEN_SIGNER=valueREDACTED\n- GH_SERVER_MNEMONIC=valueREDACTED\n- GH_NEXT_PUBLIC_DATAHUB_QUERY_URL=valueREDACTED\n- GH_NEXT_PUBLIC_DATAHUB_SUBSCRIPTION_URL=valueREDACTED\n- GH_DATAHUB_QUEUE_URL=valueREDACTED\n- GH_DATAHUB_QUEUE_TOKEN=valueREDACTED\n\n3. Then check the docker images that has been builded.\n\n```bash\n$ docker images | grep \"polkaverse\"\n```\n\n### Run the container with docker-compose\n\n1. To run the docker images with docker-compose, please prepare the docker-compose.yaml config file at first.\n\n```yaml\n# docker-compose.yml\nversion: '3'\nservices:\n  web-ui:\n    image: polkaverse-docker-image:latest\n    ports:\n      - '3003:3003' # Application port\n    container_name: polkaverse-web-app\n    restart: on-failure\n```\n\n```bash\n$ docker-compose -f docker-compose.yaml up -d\n```\n\n2. Check the running container with this command.\n\n```bash\n$ docker-compose ps\n$ docker-compose logs\n```\n\n3. Test to connect to the application.\n\n```bash\n$ curl -I http://localhost:3003\n```\n\n## Run locally\n\nClone this repo:\n\n```sh\ngit clone git@github.com:dappforce/polkaverse.git\ncd polkaverse\n```\n\nCreate an `.env` file with settings that allow the app to connect to Subsocial's infrastructure:\n\n```sh\ncp dev.env .env.local\n```\n\nInstall a compatible version of Node.js. The compatible versions are specified in the `package.json` file.\nIf you have installed NVM simply run `nvm install \u0026\u0026 nvm use` to use the Node.js version specified in the .nvmrc file.\n\nInstall project dependencies:\n\n```sh\nnpm install --global yarn\nyarn\n```\n\n### Option A: Run in a DEV mode\n\nDev mode supports hot reloads – this is very helpful when developing UI because you can see changes in your browser without restarting the app. But it takes some time (in seconds) to compile the updated parts of the app, after you made changes to the source code.\n\n```sh\nyarn dev\n```\n\n### Option B: Run in a PROD mode\n\nProd mode doesn't support hot reloads, but works super fast, because the UI gets compiled by Next.js before running the app.\n\n```sh\nyarn build\nyarn start\n```\n\nGo to [localhost:3003](http://localhost:3003)\n\n### Customization\n\nYou can customize the app by changing the following variables in `config/app/polkaverse` file, or by creating a new file in `config/app` folder and setting `APP_KIND` variable in `.env` file to the name of your new file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappforce%2Fpolkaverse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdappforce%2Fpolkaverse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappforce%2Fpolkaverse/lists"}