| Crates.io | can-viewer |
| lib.rs | can-viewer |
| version | 0.2.5 |
| created_at | 2025-12-21 01:14:11.908918+00 |
| updated_at | 2025-12-29 20:59:15.203341+00 |
| description | CAN Data Viewer with MDF4 and SocketCAN support |
| homepage | https://github.com/reneherrero/can-viewer |
| repository | https://github.com/reneherrero/can-viewer |
| max_upload_size | |
| id | 1997187 |
| size | 824,872 |
A desktop application for viewing and analyzing CAN bus data from MDF4 files and live SocketCAN interfaces.
# Clone the repository
git clone https://github.com/reneherrero/can-viewer.git
cd can-viewer
# Install frontend dependencies
npm install
# Development mode (with devtools)
npm run tauri:dev
# Production build (creates .deb/.dmg/.msi)
npm run tauri:build
can-viewer [OPTIONS]
Options:
-d, --dbc <PATH> DBC file to load on startup
-m, --mdf4 <PATH> MDF4 file to load on startup
-h, --help Print help
# Node.js 20+ (via nvm recommended)
nvm install 20
nvm use 20
# Rust 1.85+ (via rustup)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update
# Tauri dependencies
sudo apt update
sudo apt install -y \
libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libxdo-dev \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
# SocketCAN tools (for live capture)
sudo apt install -y can-utils
# Virtual CAN for testing (optional)
sudo modprobe vcan
sudo ip link add dev vcan0 type vcan
sudo ip link set up vcan0
# Xcode Command Line Tools
xcode-select --install
Note: SocketCAN live capture is Linux-only. MDF4 viewing and DBC editing work on all platforms.
MIT OR Apache-2.0. See LICENSING.md.