{"id":23107804,"url":"https://github.com/kleros/gtcr-injected-uis","last_synced_at":"2025-09-07T16:35:34.628Z","repository":{"id":46631012,"uuid":"215584096","full_name":"kleros/gtcr-injected-uis","owner":"kleros","description":"Various injected components for displaying evidence.","archived":false,"fork":false,"pushed_at":"2025-04-30T17:43:03.000Z","size":1231,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-24T17:46:32.147Z","etag":null,"topics":["curated-list","curated-lists-v1","frontend"],"latest_commit_sha":null,"homepage":"","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/kleros.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-10-16T15:37:00.000Z","updated_at":"2024-07-31T17:32:09.000Z","dependencies_parsed_at":"2023-01-18T19:15:42.196Z","dependency_job_id":"233c1ae9-fa0a-4a94-8282-b06a4712ce6f","html_url":"https://github.com/kleros/gtcr-injected-uis","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kleros/gtcr-injected-uis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr-injected-uis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr-injected-uis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr-injected-uis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr-injected-uis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kleros","download_url":"https://codeload.github.com/kleros/gtcr-injected-uis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fgtcr-injected-uis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274064575,"owners_count":25216341,"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-09-07T02:00:09.463Z","response_time":67,"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":["curated-list","curated-lists-v1","frontend"],"created_at":"2024-12-17T01:16:10.547Z","updated_at":"2025-09-07T16:35:34.604Z","avatar_url":"https://github.com/kleros.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cb style=\"font-size: 32px;\"\u003eCurate Injected UIs\u003c/b\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://standardjs.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/code_style-standard-brightgreen.svg\" alt=\"JavaScript Style Guide\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://conventionalcommits.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\" alt=\"Conventional Commits\"\u003e\u003c/a\u003e\n  \u003ca href=\"http://commitizen.github.io/cz-cli/\"\u003e\u003cimg src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\" alt=\"Commitizen Friendly\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/prettier/prettier\"\u003e\u003cimg src=\"https://img.shields.io/badge/styled_with-prettier-ff69b4.svg\" alt=\"Styled with Prettier\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nService and database for handling Generalized TCR contract events.\n\n## Get Started\n\n1.  Clone this repo.\n2.  Duplicate `.env.example`, rename it to `.env` and fill in the environment variables.\n3.  Run `yarn` to install dependencies and then `yarn start` to run the UI in development mode.\n\nRemeber to provide dispute data on the URL. It should be a JSON object containing the arbitrator and arbitrable addresses, the disputeID, RPC endpoint and chainID as follows:\n\n```\n?{\"arbitrableContractAddress\":\"0xdeadbeef...\",\"arbitratorContractAddress\":\"0xdeadbeef...\",\"disputeID\":\"111\",\"jsonRpcUrl\":\"http://localhost:8545\",\"chainId\":\"1\"}\n```\n\n### Classic or Light\n\nThis codebase has two different iframes: one for classic curate (iframes/item-details) and one for light curate (iframes/light-item-details). You must pick one to build your evidence display.\n\nYou can do so by changing the component inside bootstrap/app.jss\n\n### Fallback Provider\n\nKeep in mind that the hardcoded, fallback provider has a specific chainId. Remember to update it if you are building for a specific chain.\n\n## Deploy\n\nThis interface is meant to be deployed to IPFS.\nTo do so, you should:\n\n1. Copy the `.env.example` file to `.env`:\n   ```sh\n   cp .env.example .env\n   ```\n2. Set the appropriate environment variables.\n3. Bundle the app for production:\n   ```sh\n   yarn build\n   ```\n4. Zip the `dist/` directory.\n5. Send the zip file to Kleros IPFS host server through SSH (ask a team member if you are not sure how).\n6. Unzip the file and jump to the folder.\n7. Add the contents of the folder to IPFS:\n   ```sh\n   ipfs add -w -r .\n   ```\n8. The `evidenceDisplayURI` will be `/ipfs/\u003croot_hash\u003e`\n\n## Other Scripts\n\n- `yarn format` - Lint, fix and prettify all the project.\n  .js files with styled components and .js files.\n- `yarn run cz` - Run commitizen.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Fgtcr-injected-uis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkleros%2Fgtcr-injected-uis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Fgtcr-injected-uis/lists"}