AI Agent Hub
Back to plugins
🧰

dsh-base64-file

Web Tools Updated 2026.08.19

Run the following command in DeepSeek Harness:

dsh plugin install uckkk/dsh-base64-file

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install uckkk/dsh-base64-file in DeepSeek Harness to add this plugin, source available at https://github.com/uckkk/dsh-base64-file

About this plugin

When building HTML pages, composing JSON payloads, or handling front-end assets, you often need to encode a local file (especially an image) into a Base64 string or data URL for inline embedding, or decode a data URL back into a file on disk. dsh-base64-file is a lightweight plugin built for exactly this everyday need, letting you encode and decode files with a single conversational prompt instead of writing throwaway scripts.

The plugin ships two tools: file_to_base64 reads a local file and returns either a raw Base64 string or a complete data URL; base64_to_file does the reverse, writing a Base64 string or data URL back to a file on disk. It is implemented in pure Node.js with no additional dependencies, keeping the setup minimal and the invocation straightforward.

It is a good fit for developers who frequently embed images, package front-end assets, or exchange file content within data pipelines, and who prefer to finish encoding or decoding right inside the conversation rather than juggling separate CLI commands or external tools.

Use Cases

  • Encode a local image into a data URL for inline embedding in HTML
  • Inline image or file content within JSON payloads
  • Decode a data URL back to a file on disk for further processing

Best For

  • Front-end developers who frequently embed images inline
  • Application developers who generate or parse JSON with embedded assets
  • Script writers looking to streamline file encoding and decoding workflows