{"id":13455326,"url":"https://github.com/holaplex/holaplex","last_synced_at":"2025-07-07T21:39:54.128Z","repository":{"id":37229844,"uuid":"379751325","full_name":"holaplex/holaplex","owner":"holaplex","description":"Holaplex.com  | Find, buy, and sell NFTs from incredible creators on Solana.","archived":false,"fork":false,"pushed_at":"2022-12-12T17:15:33.000Z","size":51400,"stargazers_count":94,"open_issues_count":54,"forks_count":87,"subscribers_count":7,"default_branch":"dev","last_synced_at":"2025-04-05T15:03:25.336Z","etag":null,"topics":["nextjs","nfts","react","solana"],"latest_commit_sha":null,"homepage":"https://holaplex.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/holaplex.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-06-23T23:20:01.000Z","updated_at":"2024-12-06T14:38:15.000Z","dependencies_parsed_at":"2023-01-27T22:45:42.652Z","dependency_job_id":null,"html_url":"https://github.com/holaplex/holaplex","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/holaplex%2Fholaplex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holaplex%2Fholaplex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holaplex%2Fholaplex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holaplex%2Fholaplex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holaplex","download_url":"https://codeload.github.com/holaplex/holaplex/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251483790,"owners_count":21596602,"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":["nextjs","nfts","react","solana"],"created_at":"2024-07-31T08:01:03.958Z","updated_at":"2025-04-29T10:31:19.616Z","avatar_url":"https://github.com/holaplex.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# 👋 Welcome to Holaplex - Tools built by creators, for creators, owned by creators.\n\n## Local project setup\n\nFirst, install dependencies\n\n```\nyarn install\n```\n\nYou might also want to setup a `.env.local` file with the following overrides:\n\n```env\n# mainnet\nNEXT_PUBLIC_SOLANA_ENDPOINT=\"https://holaplex.rpcpool.com/\"\n# devnet (comment out when you want to use real solana)\nNEXT_PUBLIC_SOLANA_ENDPOINT=\"http://api.devnet.solana.com\"\n\nNFT_STORAGE_API_KEY=\"\" # got to https://nft.storage and create an account, and get an API key.\n\nNEXT_PUBLIC_MIXPANEL_TOKEN\n```\n\n## Development\n\nThen, simply run the development server:\n\n```\nPORT=3001 yarn dev\n```\n\nReplace 3001 with an available port on your machine for this and any of the following examples.\n\nOpen [http://localhost:3001](http://localhost:3001) with your browser to see the result.\n\nThe `src/pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.\n\n## Graph QL Queries\n\nWe expose a Graph QL layer for data produced by the indexer.\n\nhttps://graph.holaplex.com\n\n### View Available Data\n\nView available data at https://docs.holaplex.com/\n\n### View and Use Existing Queries\n\nQuery code is generated from Graph QL queries.\nThe query specs are located in [./src/graphql/\\*_/_.graphql](./src/graphql/).\nThese specs are processed by the `generate:graphql` script in [package.json](./package.json).\nThe script outputs typescript types and react hooks with documentation that can be used to fetch data from\nthe Graph QL layer. See [indexerTypes.ts](./src/graphql/indexerTypes.ts) for existing queries.\n\nTo use a query, use its hook as documented in the query example for the query in [indexerTypes.ts](./src/graphql/indexerTypes.ts).\n\n### Add a Query\n\nTo add a query, you need to define the Graph QL query spec and use it to generate the necessary\ntypes and hook. To do this\n\n1. Build the query from available data (see above).\n1. Save the query as a new `.graphql` file in the specs location (see above).\n1. Generate the code with `yarn generate:graphql`. This produces code in [indexerTypes.ts](./src/graphql/indexerTypes.ts).\n1. Finally, use the generated hook in your react component.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholaplex%2Fholaplex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholaplex%2Fholaplex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholaplex%2Fholaplex/lists"}