Skip to content

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

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages