Decryptu/zigcoin
A fast and minimal CLI cryptocurrency information tool written in Zig, using the CoinGecko API v3.
A fast and minimal CLI cryptocurrency information tool written in Zig, using the CoinGecko API v3.
sudo apt-get install libcurl4-openssl-dev
brew install curl
zig build
./zig-out/bin/zigcoin <coin-id>
Examples:
./zig-out/bin/zigcoin bitcoin
./zig-out/bin/zigcoin ethereum
./zig-out/bin/zigcoin dogecoin
The tool provides clear error messages for common issues:
src/
├── main.zig - Entry point and argument handling
├── api.zig - CoinGecko API client implementation
├── types.zig - Data structures and types
├── json.zig - JSON response parsing
└── display.zig - Output formatting and display
This project is licensed under the MIT License - see the LICENSE file for details.