Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhubbardsf/reddit-mint-post
https://github.com/jhubbardsf/reddit-mint-post
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jhubbardsf/reddit-mint-post
- Owner: jhubbardsf
- Created: 2022-08-21T21:18:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-22T22:54:54.000Z (over 2 years ago)
- Last Synced: 2024-07-31T08:16:35.225Z (5 months ago)
- Language: JavaScript
- Homepage: reddit-mint-post.vercel.app
- Size: 528 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - jhubbardsf/reddit-mint-post - (JavaScript)
README
# Reddit Mint Bot
## Use on reddit
Bot that uses HTML -> Image generation to create an image of a reddit post and mint it with Poster/Subreddit attributes if a user comments and mentions the bot in the following format:`/u/CommentNFTMinter 0xTHEIR_POLY_ADDRESS`
Example usage can be seen on the [CommentNFTTest](https://www.reddit.com/r/CommentNFTTest/) subreddit. The bot does work but it's getting stuck in my spam filter for some reason despite it being a moderator, approved user, and flagged in the automoderator script to be automatically approved -_-. So apologies for the issues in testin.
## Logic
All the logic handling the reddit bot and crossmint minting live in handler.js. The bot is deployed to AWS lambda with a 1 minute cron job using [serverless](serverless.com).## Notes
As mentioned, I've been testing it around in /r/CommentNFTTest. Idk how well my bot will work elsewhere since it's brand new (and has low karma so might get caught in a lot of spam filters), but he's an approved submitted to that test subreddit.Also, there was originally a SvelteKit frontend part that was later removed which is why the vercel link is still there. Please ignore.
## Shoutouts
Bot made possible by [CrossMint](https://crossmint.io), [Serverless](https://serverless.com), and [Snoowrap](https://www.npmjs.com/package/snoowrap).