twitter-clone-LensProtocol
所属分类:IPFS
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-02-06 20:02:04
上 传 者:
sh-1993
说明: 使用Lens协议和Web3.storage构建的去中心化twitter克隆,
(Decentralized twitter clone built with Lens Protocol and Web3.storage,)
文件列表:
.env (331, 2023-02-06)
.eslintrc.json (40, 2023-02-06)
.prettierignore (25, 2023-02-06)
.prettierrc.json (3, 2023-02-06)
components/ (0, 2023-02-06)
components/ProfileCard.js (2250, 2023-02-06)
components/ProfileSearchCard.js (406, 2023-02-06)
components/SidebarOption.js (469, 2023-02-06)
components/SuggestionCard.js (372, 2023-02-06)
components/Tweet.js (1768, 2023-02-06)
components/TweetModal.js (3505, 2023-02-06)
components/sections/ (0, 2023-02-06)
components/sections/Feed.js (1157, 2023-02-06)
components/sections/Sidebar.js (1547, 2023-02-06)
components/sections/Widget.js (1392, 2023-02-06)
lib/ (0, 2023-02-06)
lib/helpers/ (0, 2023-02-06)
lib/helpers/authentication.js (500, 2023-02-06)
lib/helpers/checkProfile.js (400, 2023-02-06)
lib/helpers/goToProfile.js (174, 2023-02-06)
lib/lens/ (0, 2023-02-06)
lib/lens/apollo-client.js (538, 2023-02-06)
lib/lens/queries/ (0, 2023-02-06)
lib/lens/queries/Profile.js (5064, 2023-02-06)
lib/lens/queries/Tweet.js (514, 2023-02-06)
lib/lens/queries/Tweets.js (4796, 2023-02-06)
lib/lens/requests/ (0, 2023-02-06)
lib/lens/requests/profile.js (1290, 2023-02-06)
lib/lens/requests/tweet.js (335, 2023-02-06)
lib/lens/requests/tweets.js (367, 2023-02-06)
next.config.js (120, 2023-02-06)
package-lock.json (902313, 2023-02-06)
package.json (819, 2023-02-06)
pages/ (0, 2023-02-06)
pages/_app.js (836, 2023-02-06)
pages/api/ (0, 2023-02-06)
pages/api/hello.js (171, 2023-02-06)
pages/index.js (648, 2023-02-06)
... ...
# Twitter clone
This is a decentralized twitter built on top of Lens protocol and ipfs.
We're keeping all the features of normal twitter but on a _decentralized architecture_ .
To get started, do the following :
- clone the project with `git clone https://github.com/Merdi-kim/Decentralized-twitter-clone-.git`
- Navigate into the project directory with `cd Decentralized-twitter-clone`
- install all the dependeecies with `npm install` or `yarn install`
To run the project, type `npm run dev` or `yarn dev` in your terminal. Now your project is running on http://localhost:3000
In order to be able to create profiles and post content, you'll need to set up a _.env_ .
Inside that file, set your storage key like this `NEXT_PUBLIC_STORAGE_KEY= `.
The storage key in this case will be the key that we generate from [web3.storage](https://web3.storage/) which is a service for storing data on IPFS.
Now you can start to make changes to this project and I'll be more than happy to see your PRs.
Happy coding!
近期下载者:
相关文件:
收藏者: