Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/WeAreNewt/re-meme
An app that allows users to post ‘original content’ and other users can ‘remix’ that content by adding in additional elements to the "original content" as a base.
https://github.com/WeAreNewt/re-meme
blockchain crypto memes polygon social-network
Last synced: 3 months ago
JSON representation
An app that allows users to post ‘original content’ and other users can ‘remix’ that content by adding in additional elements to the "original content" as a base.
- Host: GitHub
- URL: https://github.com/WeAreNewt/re-meme
- Owner: WeAreNewt
- License: other
- Created: 2022-04-07T14:40:05.000Z (over 2 years ago)
- Default Branch: development
- Last Pushed: 2022-12-15T15:07:52.000Z (almost 2 years ago)
- Last Synced: 2024-05-17T08:32:44.330Z (6 months ago)
- Topics: blockchain, crypto, memes, polygon, social-network
- Language: TypeScript
- Homepage: https://rememe.lol
- Size: 2.52 MB
- Stars: 23
- Watchers: 1
- Forks: 7
- Open Issues: 64
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-lens-protocol - re-meme - The on-chain meme remixer. (Projects / Open Source)
README
# re:meme
re:meme is an app that allows users to post original content, such as memes. Other users can remix that content by adding in additional elements (e.g., text, images, drawings) to the original content as a base.
The rise of NFTs has drawn considerable interest on the value of canonical memes, with [major sales](https://mashable.com/article/classic-memes-sold-nft-prices) of the Doge NFT, nyan cat, Rare Pepes, and more.
re:meme is the first ever on-chain meme generator, built on top of Lens Protocol in order to preserve provenance, as well as crediting original meme creators and meme derivative creators. re:meme's on-chain nature gives full visibility into the original creation of meme, and the memes that build on top of it over time.
Memes are only the first step. This primitive can be extended to other media formats like music, video, and even sources for academic papers.
### Buidling
This experiment by Newt is entirely open source. Given the modular nature of smart contracts, re:meme can be integrated, enhanced, or forked by anyone. See [contributing](CONTRIBUTING.md) for more info on joining the Newt community to build with re:meme.
## Local development
### Front-end
Frontend is build with React with a canvas editor. Main features of the frontend are creating, discovering, and sharing on-chain memes.
1. Install [Node](https://nodejs.org/en/download/)
1. Install [Yarn](https://classic.yarnpkg.com/lang/en/docs/install/)```bash
cd packages/frontendyarn install # Install dependencies
yarn dev # Start development server
```See step-by-step guidance on [/frontend/readme.md](/frontend/README.md)
### Lens API
re:meme uses the [Lens API](https://docs.lens.xyz/docs/introduction) in order to interact with the Lens Protocol. This allows the frontend to post memes as publications on Lens.
Each meme that you create is a publication on Lens, to create the actual post we call the [post create endpoint](https://docs.lens.xyz/docs/create-post-typed-data) in order to send the data in-chain.
An IPFS gateway is also used in order to upload and pin memes as content onto IPFS.
### Contracts
re:meme uses a custom [Collect Module](https://docs.lens.xyz/docs/icollectmodulesol) on Polygon to allow for the collection and ownership of publications as memes.
The custom collect module allows meme "owners" to update collect parameters such as `collect currency`, `collect amount`, `fund recipient`, `secondary royalty`, and `who can collect`. Two unique features of this collect module:
1. It is the first customizable collect module on Lens Protocol, meaning that collect parameters can be configured and modified after initialization.
1. It has an ERC-721 collection in the module. Meaning that there is an NFT associated with each meme; this NFT is the "ownership NFT", where the NFT holder is able to update the collect parameters. This means that the meme creator can send or sell the "ownership NFT" to another person, who is then able to update the collect parameters without the need to coorindate with the meme creator. This allows for the sale of the monetization rights of memes. Pretty huge.The custom collect module is called `UpdatableOwnableFeeCollectModule`. You can discover and read the verified contract on [PolygonScan](https://polygonscan.com/address/0x432960b3209686cc69e2eec1dbbab52a1c0bf938) or on GitHub in the [Lens repository](https://github.com/lens-protocol/modules/blob/master/contracts/collect/UpdatableOwnableFeeCollectModule.sol).
Contract address: [0x432960b3209686cc69e2eec1dbbab52a1c0bf938](https://polygonscan.com/address/0x432960b3209686cc69e2eec1dbbab52a1c0bf938)
## User guide
We uploaded a [step-by-step user guide](https://wearenewt.xyz/roadmap/lens-memixer/rememe-user-guide) for anyone to use re:meme.
You can also check out user guide videos on Lenstube:
1. How to [discover and share memes](https://lenstube.xyz/watch/0xf803-0x02)
1. How to [remix memes](https://lenstube.xyz/watch/0xf803-0x03)
1. How to [create a brand new meme](https://lenstube.xyz/watch/0xf803-0x04)
1. How to [report content](https://lenstube.xyz/watch/0xf803-0x05)
1. How to [appeal content takedown](https://lenstube.xyz/watch/0xf803-0x06)## License
[Link to code license](LICENSE.md)