{"id":26277372,"url":"https://github.com/e-roy/vite-react-tailwind-lens","last_synced_at":"2025-06-12T06:04:49.487Z","repository":{"id":103977192,"uuid":"471555350","full_name":"e-roy/vite-react-tailwind-lens","owner":"e-roy","description":"This is an template example of a basic build for a front-end application on top of Lens Protocol","archived":false,"fork":false,"pushed_at":"2024-04-26T10:25:33.000Z","size":482,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T22:36:34.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jolly-snow-9071.on.fleek.co/","language":"TypeScript","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/e-roy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-19T00:41:16.000Z","updated_at":"2024-04-26T10:25:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"424b9a5d-4a3c-44c0-951e-2cdffcaef6f8","html_url":"https://github.com/e-roy/vite-react-tailwind-lens","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":"e-roy/vite-react-tailwind-wagmi","purl":"pkg:github/e-roy/vite-react-tailwind-lens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-roy%2Fvite-react-tailwind-lens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-roy%2Fvite-react-tailwind-lens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-roy%2Fvite-react-tailwind-lens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-roy%2Fvite-react-tailwind-lens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e-roy","download_url":"https://codeload.github.com/e-roy/vite-react-tailwind-lens/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e-roy%2Fvite-react-tailwind-lens/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259409919,"owners_count":22852957,"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-03-14T12:16:53.853Z","updated_at":"2025-06-12T06:04:49.466Z","avatar_url":"https://github.com/e-roy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lens Protocol Front End Starter - Template\n\n### With Vite + ReactJs + GraphQL + TailwindCss3 + WAGMI\n\n### Len Protocol v2\n\nThis is an template example of a basic build for a front-end application on top of [Lens Protocol](https://docs.lens.xyz/docs).\n\nThis template hosted with [fleek.co](https://fleek.co/) at [https://jolly-snow-9071.on.fleek.co/](https://jolly-snow-9071.on.fleek.co/)\n\n1. [getProfiles](https://docs.lens.xyz/docs/get-profiles) - get profiles by passing in a user's handle in the url `/users/handle`\n\n2. [explorePublications](https://docs.lens.xyz/docs/explore-publications) - returns a list of publications based on your request query\n\n3. [createProfile](https://docs.lens.xyz/docs/create-testnet-profile) - Create a profile (only available on Amoy testnet)\n\n4. [createPost](https://docs.lens.xyz/docs/create-a-post#b-create-a-post-using-typeddata-and-broadcasting-onchain-via-the-api) - Create a post (text content only, yours to extend)\n\n5. [follow](https://docs.lens.xyz/docs/create-follow-typed-data) - Follow a user\n\n6. [unfolow](https://docs.lens.xyz/docs/create-unfollow-typed-data) - Unfollows a user\n\nYou can view all of the APIs [here](https://docs.lens.xyz/docs/introduction) and contract methods [here](https://docs.lens.xyz/docs/functions)\n\n## Technologies\n\nThis project is built with the following open source libraries, frameworks and languages.\n| Tech | Description |\n| --------------------------------------------- | ------------------------------------------------------------------ |\n| [ReactJS](https://reactjs.org/docs/getting-started.html) | JS Framework |\n| [Vite](https://vitejs.dev/) | Frontend Tooling |\n| [Typescript](https://www.typescriptlang.org/docs/) | Syntax for types |\n| [React Router](https://reactrouter.com/docs/en/v6/getting-started/overview) | Client Side Routing |\n| [TailwindCss3](https://tailwindcss.com/) | CCS Framework |\n| [WAGMI](https://wagmi.sh/) | A set of React Hooks for Web3 |\n| [RainbowKit](https://www.rainbowkit.com/docs/introduction) | RainbowKit is a React library that makes it easy to add wallet connection to your dapp. |\n| [@apollo/client](https://www.apollographql.com/docs/react/) | a comprehensive state management library for JavaScript that enables you to manage both local and remote data with GraphQL |\n\n---\n\n## Configure\n\nCreate a .env file, by copying the .env-example file and include your [infura keys](https://www.infura.io/)\n\nDefault set up for working with the Lens Protocol on Mumbai Testnet for dev and prod environments.\nTo switch prod environment to Polygon Mainnet, go into the `src/constants.ts` file and change\n\n`export const IS_PRODUCTION = false;`\n\nto\n\n`export const IS_PRODUCTION = true;`\n\n---\n\n## Commands:\n\nTo start the dev server on your machine:\n\n```shell\nyarn dev\n```\n\nTo start the dev server on your network:\n\n```shell\nyarn dev --host\n```\n\nTo make the production build:\n\n```shell\nyarn build\n```\n\nTo preview the production build locally:\n\n```shell\nyarn serve\n```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-roy%2Fvite-react-tailwind-lens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe-roy%2Fvite-react-tailwind-lens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe-roy%2Fvite-react-tailwind-lens/lists"}