{"id":25633078,"url":"https://github.com/zkemail/sdk-ts-demo","last_synced_at":"2025-04-14T18:20:27.811Z","repository":{"id":262475833,"uuid":"887094858","full_name":"zkemail/sdk-ts-demo","owner":"zkemail","description":"Demo of using the typescript zk-email sdk","archived":false,"fork":false,"pushed_at":"2025-03-22T10:23:36.000Z","size":13467,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T11:25:58.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zkemail.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-12T06:45:02.000Z","updated_at":"2025-03-22T10:23:40.000Z","dependencies_parsed_at":"2024-11-12T16:46:38.887Z","dependency_job_id":"a58bb6e9-98a0-40da-bebe-773dec2b31a7","html_url":"https://github.com/zkemail/sdk-ts-demo","commit_stats":null,"previous_names":["zkemail/sdk-ts-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fsdk-ts-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fsdk-ts-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fsdk-ts-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkemail%2Fsdk-ts-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkemail","download_url":"https://codeload.github.com/zkemail/sdk-ts-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248933348,"owners_count":21185461,"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-22T21:27:54.897Z","updated_at":"2025-04-14T18:20:27.800Z","avatar_url":"https://github.com/zkemail.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sdk-ts-demo\n\nDemo of using the typescript zk-email sdk\n\n## Prerequisites\n\n### Node.js Requirements\nThis project requires Node.js version 20 or above. We recommend using `nvm` (Node Version Manager) to manage your Node.js versions.\n\n#### Installing nvm and Node.js\n1. Install nvm:\n   ```bash\n   curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash\n   ```\n\n2. Restart your terminal and verify nvm installation:\n   ```bash\n   nvm --version\n   ```\n\n3. Install and use Node.js v20:\n   ```bash\n   nvm install 20\n   nvm use 20\n   ```\n\n## Project Demos\n\n### Node.js Demo\nThis demo requires [bun](https://bun.sh) to run:\n\n```bash\n# Navigate to the Node.js demo directory\ncd node_js\n\n# Install dependencies\nbun i\n\n# Run the demo\nbun src/shortest-example.ts\n```\n\n### Deno Demo\nMake sure you have [Deno](https://deno.land) installed.\n\n```bash\n# Navigate to the Deno demo directory\ncd deno\n\n# Run the development server\ndeno task dev\n```\n\n### NextJS Demo\n```bash\n# Navigate to the NextJS demo directory\ncd nextjs\n\n# Install dependencies\npnpm i\n\n# Start the development server\npnpm run dev\n```\n\n### Vite Vanilla JS Demo\n```bash\n# Navigate to the Vite demo directory\ncd vite\n\n# Install dependencies\npnpm i\n\n# Start the development server\npnpm run dev\n```\n\n## Additional Notes\n- Each demo is contained in its own directory with its specific dependencies\n- Make sure to install the required package managers before running the respective demos:\n  \n  Install bun:\n  ```bash\n  curl -fsSL https://bun.sh/install | bash\n  ```\n  \n  Install pnpm:\n  ```bash\n  npm install -g pnpm\n  ```\n\n- For the best development experience, ensure you're using the latest stable versions of all tools\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkemail%2Fsdk-ts-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkemail%2Fsdk-ts-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkemail%2Fsdk-ts-demo/lists"}