{"id":42494348,"url":"https://github.com/alainncls/bunny-universe","last_synced_at":"2026-01-28T12:36:47.407Z","repository":{"id":269839850,"uuid":"908618776","full_name":"alainncls/bunny-universe","owner":"alainncls","description":"Bunny Universe dashboard and points system","archived":false,"fork":false,"pushed_at":"2025-12-20T20:51:25.000Z","size":1256,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-22T16:37:12.410Z","etag":null,"topics":["linea","nft","the-graph","wagmi","web3"],"latest_commit_sha":null,"homepage":"https://earncarrot.bunnyuniverse.xyz/","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/alainncls.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-26T14:17:20.000Z","updated_at":"2025-12-20T20:51:29.000Z","dependencies_parsed_at":"2024-12-26T15:27:57.488Z","dependency_job_id":"b268056d-0996-42fc-953f-5aaa6fed2ccd","html_url":"https://github.com/alainncls/bunny-universe","commit_stats":null,"previous_names":["alainncls/bunny-universe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alainncls/bunny-universe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainncls%2Fbunny-universe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainncls%2Fbunny-universe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainncls%2Fbunny-universe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainncls%2Fbunny-universe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alainncls","download_url":"https://codeload.github.com/alainncls/bunny-universe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainncls%2Fbunny-universe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845281,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["linea","nft","the-graph","wagmi","web3"],"created_at":"2026-01-28T12:36:47.319Z","updated_at":"2026-01-28T12:36:47.400Z","avatar_url":"https://github.com/alainncls.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"margin-top: 0; margin-bottom: 0\"\u003e\n  \u003ca href=\"https://earncarrot.bunnyuniverse.xyz/\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/alainncls/bunny-universe/refs/heads/main/packages/dashboard/public/logo.png\" alt=\"Bunny Universe Logo\" height=\"150px\" width=\"150px\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  Bunny Universe 🐇  \n  \u003cbr\u003e\n  Earn $CARROT 🥕\n\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/1ceebfe2-dcd2-4a82-8de7-ee4ee6fd8bb7/deploy-status)](https://app.netlify.com/sites/bunny-universe/deploys)\n\n\u003c/div\u003e\n\nThis monorepo groups the components of the Bunny Universe points system.  \nThe system is designed to reward users with $CARROT\u0026nbsp;🥕 for holding Bunny Universe NFTs and contributing to the Bunny\nUniverse ecosystem.\n\n## Components\n\n### Subgraph\u0026nbsp;🔎\n\nIn the `packages/subgraph` directory, you can find the subgraph that indexes Bunny Universe smart contract events.  \nIt keeps track of all the events relevant to the points system, specifically the `Transfer` events.\n\nThe subgraph is hosted\non [The Graph Studio](https://thegraph.com/explorer/subgraphs/E99RzE1iK71GUk1qndxGTwZgpqYaF3boA1faZ4pCjrSw?view=Query\u0026chain=arbitrum-one).  \nYou can query it using\nthe [GraphQL Playground](https://api.studio.thegraph.com/query/67521/bunny-universe/version/latest).\n\n### Backend\u0026nbsp;⚙️\n\nThe backend for the points system API is in the `packages/functions` directory.  \nIt is hosted on [Netlify](https://app.netlify.com/).\n\nIt includes two main endpoints:\n\n- `GET /api?address=0x...`: Computes and returns the points of a given address.\n- `POST /api-admin`: Computes and updates the scores of all addresses holding Bunny Universe NFTs.\n\n### Dashboard\u0026nbsp;🖥️\n\nThe dashboard, located in `packages/dashboard`, displays the points of Bunny Universe users.  \nIt is hosted on [Netlify](https://app.netlify.com/) and accessible\nat [earncarrot.bunnyuniverse.xyz](https://earncarrot.bunnyuniverse.xyz/).\n\nOnce users connect their wallet, they can view their points, and the leaderboard.  \nThe dashboard also provides a detailed breakdown of points per NFT.\n\n## Development\n\n### Prerequisites\n\n- **Node.js** (22.21.1 - see `.nvmrc`)\n- **pnpm** (10.26.1 - enforced via `packageManager` field)\n- **MongoDB instance** (can be a free tier on [MongoDB Atlas](https://www.mongodb.com/cloud/atlas))\n\n### Installation\n\nInstall dependencies using `pnpm`:\n\n```bash\npnpm i\n```\n\n### Running the project\n\n1. Add backend secrets:\n   Copy packages/functions/.env.example to packages/functions/.env and fill in the secrets.\n2. Start the backend\n   ```bash\n   cd packages/functions \u0026\u0026 pnpm run functions:serve\n   ```\n3. Add frontend secrets:\n   Copy packages/dashboard/.env.example to packages/dashboard/.env and fill in the secrets.\n4. Start the dashboard:\n   ```bash\n   cd packages/dashboard \u0026\u0026 pnpm run dev\n   ```\n5. Open the dashboard in your browser: [localhost:3000](http://localhost:3000)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falainncls%2Fbunny-universe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falainncls%2Fbunny-universe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falainncls%2Fbunny-universe/lists"}