返回顶部
b

base64-toolkit

Base64 encoding and decoding toolkit. Encode/decode text, URL-safe Base64, and image to Base64 conversion.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
99
下载量
0
收藏
概述
安装方式
版本历史

base64-toolkit

# Base64 Toolkit A comprehensive Base64 encoding and decoding tool for developers. ## Features - **Encode** - Convert text to Base64 - **Decode** - Convert Base64 back to text - **URL-Safe** - URL-safe Base64 encoding (+/- instead of /+) - **Image to Base64** - Convert images to Base64 data URI ## Usage ```bash python3 skills/base64-toolkit/scripts/base64_toolkit.py <action> [options] ``` ## Actions | Action | Description | |--------|-------------| | `encode` | Encode text to Base64 | | `decode` | Decode Base64 to text | | `encode-url` | URL-safe Base64 encoding | | `decode-url` | URL-safe Base64 decoding | | `image-encode` | Convert image to Base64 data URI | ## Options | Option | Type | Default | Description | |--------|------|---------|-------------| | `--input` | string | - | Input string or file path | | `--file` | bool | false | Treat input as file path | ## Examples ```bash # Encode text python3 skills/base64-toolkit/scripts/base64_toolkit.py encode --input "Hello, World!" # Decode Base64 python3 skills/base64-toolkit/scripts/base64_toolkit.py decode --input "SGVsbG8sIFdvcmxkIQ==" # URL-safe encode python3 skills/base64-toolkit/scripts/base64_toolkit.py encode-url --input "Hello+World?" # URL-safe decode python3 skills/base64-toolkit/scripts/base64_toolkit.py decode-url --input "SGVsbG8rV29ybGQ_" # Image to Base64 python3 skills/base64-toolkit/scripts/base64_toolkit.py image-encode --input /path/to/image.png ``` ## Use Cases 1. **API authentication** - Encode credentials for Basic Auth 2. **Data transmission** - Safely transmit binary data as text 3. **URL parameters** - Use URL-safe Base64 in URLs 4. **Image embedding** - Embed images in HTML/CSS as data URIs 5. **JWT tokens** - Decode and inspect JWT payload ## Current Status Ready for testing.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 base64-toolkit-1776013045 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 base64-toolkit-1776013045 技能

通过命令行安装

skillhub install base64-toolkit-1776013045

下载 Zip 包

⬇ 下载 base64-toolkit v1.0.0

文件大小: 3.36 KB | 发布时间: 2026-4-13 09:28

v1.0.0 最新 2026-4-13 09:28
Initial release of base64-toolkit.

- Provides commands to encode and decode Base64 text.
- Supports URL-safe Base64 encoding and decoding.
- Includes image-to-Base64 data URI conversion.
- Offers command-line usage with input options for strings or files.
- Useful for API authentication, data transmission, and embedding images as data URIs.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部