Skip to content

Avatarsia/Kargo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

KARGO - Klipper Archive & Remote G-code Operations

Automatic G-code archiving solution for Klipper 3D printers that offloads files to NAS after print completion and seamlessly fetches them for reprints.

Features

  • βœ… Automatic Offloading: G-codes archived to NAS after successful prints
  • βœ… Seamless Reprints: Auto-fetch from NAS when reprinting from history
  • βœ… File Versioning: Timestamp-based versioning prevents accidental overwrites
  • βœ… Hybrid Resilience: Symlink + stub system works even when NAS is offline
  • βœ… Multi-NAS Support: Configure multiple NAS targets for redundancy
  • βœ… Smart Features: Background pre-fetch, progress indicators, notifications
  • βœ… Easy Setup: KIAUH-style interactive installer
  • βœ… Safe Operations: File locking, atomic operations, path sanitization

Quick Start

Prerequisites

  • Klipper + Moonraker installed
  • NAS with NFS or SMB configured
  • Python 3.7+

Installation

cd ~
git clone https://github.com/yourusername/kargo.git
cd kargo
./kargo.sh        # Language selector (recommended)

Or choose language directly:

./install.sh      # English
./install_de.sh   # Deutsch

Follow the interactive installer prompts to configure your NAS.

How It Works

  1. Slicer uploads G-code β†’ File stored on local eMMC/SD
  2. Print completes β†’ File automatically copied to NAS
  3. Local file replaced β†’ Symlink created pointing to NAS
  4. Reprint triggered β†’ Auto-fetch from NAS to local storage
  5. Print starts β†’ Works seamlessly, user sees no difference

Configuration

Configuration is stored in ~/printer_data/config/moonraker.conf:

[nas_offload]
nas_mount_point: /mnt/nas
nas_gcodes_dir: /mnt/nas/klipper_gcodes
offload_mode: hybrid
offload_on_complete: True

See Configuration Reference for all options.

NAS Setup Guides

Troubleshooting

See Troubleshooting Guide

API Reference

See API Documentation

License

MIT License - see LICENSE

Contributing

Contributions welcome! Please open an issue or PR.

Support

About

Automatic G-code archiving for Klipper 3D printers. Offloads finished prints to NAS via NFS, fetches on-demand for reprints. Hybrid symlink+stub system, timestamp versioning, one-click installer. Save local storage, never lose G-codes. πŸš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors