Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend IPFS plugin to support uploading image to web3.storage from embedded image #28

Open
TheDiscordian opened this issue May 10, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@TheDiscordian
Copy link
Owner

Extend the IPFS plugin (https://github.com/TheDiscordian/onebot/blob/master/plugins/ipfs.go) to support uploading an image which was embedded in the message (#27). We could reuse the web3-store command and change it from web3-store <cid> to web3-store [cid]. If not CID is supplied, we'll check the message object for images, if there are some, we can upload them to web3.storage (ideal solution is all at once in a directory). If there are no images, we can display the help text like we do now.

@TheDiscordian TheDiscordian added the enhancement New feature or request label May 10, 2023
@TheDiscordian TheDiscordian changed the title Extend IPFS plugin to support uploading image to web3-storage from embedded image Extend IPFS plugin to support uploading image to web3.storage from embedded image May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant