{"id":25408957,"url":"https://github.com/pluto/web-proofs-examples","last_synced_at":"2025-10-31T04:30:47.739Z","repository":{"id":277638932,"uuid":"880986144","full_name":"pluto/web-proofs-examples","owner":"pluto","description":"This repository demonstrates how to integrate the @plutoxyz/web-proofs library in both vanilla JavaScript and React applications.","archived":false,"fork":false,"pushed_at":"2025-02-15T04:27:45.000Z","size":53,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T05:20:51.035Z","etag":null,"topics":[],"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/pluto.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-10-30T18:03:45.000Z","updated_at":"2025-02-15T04:27:48.000Z","dependencies_parsed_at":"2025-02-15T05:32:01.149Z","dependency_job_id":null,"html_url":"https://github.com/pluto/web-proofs-examples","commit_stats":null,"previous_names":["pluto/web-proofs-examples"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pluto%2Fweb-proofs-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pluto%2Fweb-proofs-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pluto%2Fweb-proofs-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pluto%2Fweb-proofs-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pluto","download_url":"https://codeload.github.com/pluto/web-proofs-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239103685,"owners_count":19582188,"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":"2025-02-16T08:18:25.330Z","updated_at":"2025-10-31T04:30:47.734Z","avatar_url":"https://github.com/pluto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Proofs Examples\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n\nThis repository demonstrates how to integrate the [@plutoxyz/web-proofs](https://www.npmjs.com/package/@plutoxyz/web-proofs) library in both vanilla JavaScript and React applications.\n\nℹ️ The default option for generating Web Proofs is to use the Pluto-hosted notary. Developers do not need to set up the [prover](https://github.com/pluto/web-prover) or host it themselves, unless they explicitly want to self-host this infrastructure or build custom infrastructure. For more information, see the detailed documentation here [docs.pluto.xyz/getting-started/example-github-repo](https://docs.pluto.xyz/getting-started/example-github-repo).\n\n\n## Quick Start\n\n1. Install dependencies\n\n```bash\nnpm install\n```\n\n2. Run examples\n\nBasic examples:\n\n```bash\nnpm run vanilla # Basic vanilla JavaScript example\nnpm run react # Basic React example\n```\n\nAdvanced examples with configuration UI:\n\n```bash\nnpm run vanilla:advanced # Advanced vanilla JavaScript example\nnpm run react:advanced # Advanced React example\n```\n\nNavigate to `http://localhost:5173/` in your browser.\n\n## Basic Examples\n\nDemonstrate minimal setup required to integrate web-proofs:\n\n- Simple proof generation\n- Default configuration\n- No UI customization\n\n### Vanilla JavaScript\n\n- Basic implementation: `examples/vanilla-js/index.js`\n- HTML template: `examples/vanilla-js/index.html`\n\n### React\n\n- Basic component: `examples/react/App.jsx`\n- Entry point:`examples/react/main.jsx`\n\n## Advanced Examples\n\nShow full capabilities with:\n\n- Configurable prover mode (Origo/TLSN)\n- Device mode selection (iOS/Chrome Extension)\n- QR code size adjustment\n- Error handling options\n- Loading state customization\n- Styling customization\n- Debug mode\n\n### Vanilla JavaScript\n\n- Advanced implementation: `examples/vanilla-js/advanced/index.js`\n- HTML template:`examples/vanilla-js/advanced/index.html`\n\n### React\n\n- Advanced component: `examples/react/advanced/App.jsx`\n- Configuration component: `examples/react/advanced/ProveConfig.jsx`\n- Entry point: `examples/react/advanced/main.jsx`\n\n## Documentation\n\nFor detailed documentation and integration guides, visit [https://docs.pluto.xyz/guides/using-the-javascript-sdk](https://docs.pluto.xyz/guides/using-the-javascript-sdk)\n\n## Community\n\n- [Telegram](https://t.me/pluto_xyz) - Community chat and support\n\n## License\n\nMIT License - see [LICENSE.md](LICENSE.md) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpluto%2Fweb-proofs-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpluto%2Fweb-proofs-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpluto%2Fweb-proofs-examples/lists"}