Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

gist-cache-rs Documentation

Welcome to the official documentation for gist-cache-rs, a high-performance CLI tool written in Rust for efficiently caching, searching, and executing GitHub Gists.

What is gist-cache-rs?

gist-cache-rs provides a streamlined workflow for managing and executing your GitHub Gists locally. It features a sophisticated 2-layer caching system that dramatically reduces execution time and network overhead, making it perfect for developers who frequently use Gists as script repositories.

Key Features

  • ⚑ High Performance - Lightning-fast caching and search operations implemented in Rust
  • πŸ”„ Smart Updates - Incremental cache updates that only fetch what’s changed
  • πŸ’Ύ 2-Layer Caching - Intelligent caching of both metadata and content for 20x faster execution
  • πŸ” Flexible Search - Multiple search modes: by ID, filename, or description
  • ▢️ Multi-Language Support - Execute scripts in bash, python, ruby, node, php, perl, pwsh, TypeScript and more
  • πŸŽ›οΈ Smart Interpreter Detection - Automatic interpreter selection from shebangs, file extensions, and content analysis (v0.8.6+)
  • πŸ’¬ Interactive Mode - Full support for interactive scripts
  • πŸ“¦ Modern Python - uv support with PEP 723 metadata compatibility
  • πŸ“₯ Easy Downloads - Save Gist files directly to your download folder
  • πŸ—‚οΈ Cache Management - Powerful commands for cache inspection and maintenance
  • πŸ“Š Progress Display - Visual feedback with progress bars and spinners
  • 🎯 Interactive Selection - Intuitive arrow-key navigation for selecting Gists
  • πŸ“‹ Output Format Options - JSON output for scripting and automation

Platform Support

gist-cache-rs works seamlessly across Linux, macOS, and Windows 10 or later.

Quick Navigation

For Users

Get started quickly with these essential guides:

For Developers

Contributing to the project or want to understand the internals?

Test Specifications

Detailed functional verification documentation:

Getting Help

License

This project is licensed under the MIT License.