{"id":19390372,"url":"https://github.com/nucypher/nuit","last_synced_at":"2025-04-24T00:31:16.226Z","repository":{"id":40278623,"uuid":"348100646","full_name":"nucypher/nuit","owner":"nucypher","description":"NuCypher Staking UI","archived":true,"fork":false,"pushed_at":"2022-06-25T18:23:02.000Z","size":1416,"stargazers_count":4,"open_issues_count":25,"forks_count":8,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-13T12:32:07.037Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nucypher.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}},"created_at":"2021-03-15T19:39:32.000Z","updated_at":"2023-10-18T20:46:16.000Z","dependencies_parsed_at":"2022-07-24T18:17:29.780Z","dependency_job_id":null,"html_url":"https://github.com/nucypher/nuit","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/nucypher%2Fnuit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucypher%2Fnuit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucypher%2Fnuit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucypher%2Fnuit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucypher","download_url":"https://codeload.github.com/nucypher/nuit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250539367,"owners_count":21447295,"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-10T10:20:34.582Z","updated_at":"2025-04-24T00:31:14.867Z","avatar_url":"https://github.com/nucypher.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nuit\n\nOfficial NuCypher web staking UI.  This repository is currently a work-in-progress.\n\n```\n  yarn react-app:start\n    Starts the development server.\n\n  yarn react-app:test\n    Runs the tests\n\n  yarn react-app:build\n  yarn react-app:build-production\n  yarn react-app:build-staging\n    Builds the app for production.\n\n  yarn subgraph:codegen\n    Generates AssemblyScript types for smart contract ABIs and the subgraph schema.\n\n  yarn subgraph:deploy\n    Deploys the subgraph to the official Graph Node.\n\n  yarn workspace @project/react-app add \u003cpackage name(s)\u003e\n    Add new libraries to main react app\n```\n\n### Running in docker (recommended)\n_Note: all these commands can be run without Docker via eg: `yarn react-app:start`.  Docker is used to reduce some of the variables between different local Node environments._\n\n##### install (on first run or after dependency changes)\n```\ndocker run -it -v $(pwd):/work --workdir /work -p 3000:3000  node:16 yarn install\n```\n\n##### run the dev server\n```\ndocker run -it -v $(pwd):/work --workdir /work -p 3000:3000  node:16 yarn react-app:start\n```\n\n##### Build for production\n```\n# PRODUCTION\ndocker run -it -v $(pwd):/work --workdir /work -p 3000:3000 node:16 yarn react-app:build-production\n\n# STAGING\ndocker run -it -v $(pwd):/work --workdir /work -p 3000:3000 node:16 yarn react-app:build-staging\n```\n\n##### To deploy to AWS:\n\n* Check that you have an `.env.production` file located at `packages/react-app/.env.production` containing:\n  1. An Infura APP id for WalletConnect functionality - `REACT_APP_INFURA_ID=\u003capp ID from infura\u003e`\n  2. The Public URL for the deployment - `PUBLIC_URL=\u003cURL\u003e`\n* build the app (see above)\n* Ensure you have an [AWS profile configured](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html) called \"nucypher\", then `yarn deploy`\n   * to deploy to staging `yarn deploy`\n   * to deploy to production `yarn deploy production`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucypher%2Fnuit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucypher%2Fnuit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucypher%2Fnuit/lists"}