{"id":13767575,"url":"https://github.com/dabit3/lens-gated-publications","last_synced_at":"2025-11-17T15:20:23.243Z","repository":{"id":73191290,"uuid":"572760034","full_name":"dabit3/lens-gated-publications","owner":"dabit3","description":"Example application implementing gated Lens posts, encryption, and decryption","archived":false,"fork":false,"pushed_at":"2023-01-06T22:38:33.000Z","size":138,"stargazers_count":49,"open_issues_count":0,"forks_count":15,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T09:58:59.208Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dabit3.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}},"created_at":"2022-12-01T01:03:52.000Z","updated_at":"2023-08-03T23:51:44.000Z","dependencies_parsed_at":"2024-01-11T23:44:44.257Z","dependency_job_id":"74db43d9-229a-4634-a22d-ad9cb6e54778","html_url":"https://github.com/dabit3/lens-gated-publications","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dabit3/lens-gated-publications","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Flens-gated-publications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Flens-gated-publications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Flens-gated-publications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Flens-gated-publications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dabit3","download_url":"https://codeload.github.com/dabit3/lens-gated-publications/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Flens-gated-publications/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284906580,"owners_count":27082682,"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","status":"online","status_checked_at":"2025-11-17T02:00:06.431Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-08-03T16:01:09.891Z","updated_at":"2025-11-17T15:20:23.223Z","avatar_url":"https://github.com/dabit3.png","language":"JavaScript","funding_links":[],"categories":["Learn"],"sub_categories":["Examples"],"readme":"## Token Gating app on Lens\n\nThis is an example project showing how to implement token gated posts on Lens, and also showing how to decrypt token gated posts on Lens.\n\n### Project setup\n\nTo run this project follow these steps\n\n1. Clone the project:\n\n```sh\ngit clone git@github.com:dabit3/lens-token-gating.git\n```\n\n2. Install the dependencies\n\n```sh\nnpm install\n\n# or yarn, pnpm, etc...\n```\n\n3. Configure the environment variables.   \n \n    Update `.example.env.local` to `.env.local` and configure the `NEXT_PUBLIC_PROJECT_ID` and `NEXT_PUBLIC_PROJECT_SECRET` with your Infura project information.\n\n    Also optionally configure the `NEXT_PUBLIC_ENVIRONMENT` with the network you'd like to connect to.\n\n4. Run the app\n\n```sh\nnpm run dev\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabit3%2Flens-gated-publications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdabit3%2Flens-gated-publications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabit3%2Flens-gated-publications/lists"}