dify icon indicating copy to clipboard operation
dify copied to clipboard

Base64 encode & decode tool

Open bikevit2008 opened this issue 1 year ago • 3 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I need upload audio file in POST request in json in base64 and i can't now

Now i can do custom tool with some wrong conception, i take url from dify uploaded file to workflow and by requests got it and encode

2. Additional context or comments

No response

3. Can you help us with this feature?

  • [x] I am interested in contributing to this feature.

bikevit2008 avatar Jan 28 '25 02:01 bikevit2008

I did tool, can upload here

bikevit2008 avatar Jan 28 '25 16:01 bikevit2008

https://github.com/langgenius/dify/pull/13029

i did encoder for files

bikevit2008 avatar Jan 28 '25 22:01 bikevit2008

Hi, @bikevit2008. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You requested a Base64 encode and decode tool for uploading audio files in a POST request as JSON.
  • You expressed interest in contributing to this feature's development.
  • You submitted a pull request implementing an encoder for files, suggesting a resolution to the issue.

Next Steps:

  • Please let us know if this issue is still relevant to the latest version of the Dify repository by commenting on this issue.
  • If there is no further activity, this issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

dosubot[bot] avatar Feb 28 '25 16:02 dosubot[bot]

Try this https://marketplace.dify.ai/plugins/bowenliang123/base64_codec

crazywoola avatar Mar 05 '25 01:03 crazywoola

Try this marketplace.dify.ai/plugins/bowenliang123/base64_codec

Image

Tried it out, this plugin's base64 encoding only supports string input, not files.

maxyou2090 avatar Mar 05 '25 02:03 maxyou2090