Smal
A file comrpessor using LZ78 algorithm.
Install / Use
/learn @luizppa/SmalREADME
Smal
A file comrpessor using LZ78 algorithm.
Building
The source code includes a makefile, so to build the project, simply run make. The executable output will be located at build/smal. To make a clean build, use make clean && make. You can test the execution by running make run to execute the compressor over a sample output.
Usage
Compressing files:
smal -c input_file [output_file]
input file is the file to be compressed, output_file is an optional output path for the compressed file, if none is provided, the output file name will be the same as the input file with .z78 extension.
Decompressing files:
smal -x input_file [output_file]
input file is the file to be decompressed, output_file is an optional output path for the decompressed file, if none is provided, the output file name will be the same as the input file with .txt extension.
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
