Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artlu99/alchemy-r2w3-week-10
Alchemy Road to Web3 Week 10 (Decentralized Twitter with Lens Protocol)
https://github.com/artlu99/alchemy-r2w3-week-10
Last synced: about 1 month ago
JSON representation
Alchemy Road to Web3 Week 10 (Decentralized Twitter with Lens Protocol)
- Host: GitHub
- URL: https://github.com/artlu99/alchemy-r2w3-week-10
- Owner: artlu99
- Created: 2022-07-15T05:06:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-03T12:35:02.000Z (over 2 years ago)
- Last Synced: 2023-05-23T14:32:10.231Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://lens-al.vercel.app
- Size: 5.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Lens-AL [by @artlu.lens](https://lenster.xyz/u/artlu.lens)
A read-only / gated community, inspired by the [Alchemy](https://www.alchemy.com/) [Road to Web3](https://docs.alchemy.com/docs/welcome-to-the-road-to-web3) [Week 10](https://docs.alchemy.com/docs/how-to-create-a-decentralized-twitter-with-lens-protocol).
## A Decentralized Social Network with Lens Protocol 🌿
- Next.js w/ Apollo GraphQL client
- Lens Protocol via Lens API## Roadmap / Major milestones
1. ✅ show NFTs owned by this profile/address pair 🗸
2. ✅ show each profile's Following profiles 🗸
1. ✅ replace "recommendedProfiles" with "members of R2W3 community" based on Follows 🗸
3. ✅ show comments on posts 🗸
1. ✅ with little profile icons 🗸
4. ✅ dark mode ([[src](https://blog.logrocket.com/dark-mode-in-react-an-in-depth-guide/)], with TailwindCSS [[src](https://nextjsdev.com/add-dark-mode-in-nextjs-app-using-tailwind-css-dark-mode/)]) 🗸
5. ✅ navbar at top/bottom of page (e.g., quick links to Lenster) 🗸
1. dynamic breadcrumbs
6. ✅ Lit Protocol SDK to token-gate access 🔥 🗸
1. ✅ for MintKudos Road To Web3 Week3 token holders 🔥+🎉 🗸
7. show other (arbitrary) profile attributes set by dApps, such as the list of attributes
8. add GDPR-compliant, open-source lite [analytics](https://umami.is/)## Links
* Week 10 kick-off [tweet](https://twitter.com/thatguyintech/status/1547585019983499268) by [@thatguyintech](https://twitter.com/thatguyintech)
* [GraphiQL Bin](https://graphiqlbin.com/) for interactive query building
* for endpoint, use: https://api.lens.dev/
* h/t [@gabrieldg.lens (GdG)](https://lenster.xyz/u/gabrieldg.lens)
)
* Lit Protocol
* SDK [docs](https://developer.litprotocol.com/sdk/intro)
* JS SDK API [docs](https://lit-protocol.github.io/lit-js-sdk/api_docs_html/index.html)
* [@nader.lens](https://lenster.xyz/u/nader.lens)'s useful [example](https://github.com/dabit3/nextjs-lit-token-gating)### Technical debt
1. ✅ read from file for global config variables (e.g., initial Follow address, page limits) 🗸
2. remove wallet addresses, let the webapp remember/figure out the profileId mapping
3. icons for navbar text links, should look roughly like Mozilla Pocket navbar
4. Apollo "ensure all objects of type MetadataOutput have an ID"
5. recurse-with-limits instead of tree-based navigation. comments-on-comments should appear correctly
6. paging of API call results
7. replace Lens API call to get NFTs, with Alchemy NFT API call (slightly cleaner, simpler)### Deploy
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). The easiest way to deploy a Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Further details in the [Next.js deployment documentation](https://nextjs.org/docs/deployment).