dsh-base64-file
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
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.