Skip to content

A simple tool to create and manage interactive keyboard shortcut cheatsheets.

License

Notifications You must be signed in to change notification settings

rtuszik/easy-cheatsheets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Cheatsheets

A simple tool to create and manage interactive keyboard shortcut cheatsheets.

Quick Start: To create a cheatsheet, add a YAML file to the cheatsheets directory and run python src/generate_cheatsheet.py. For detailed YAML formatting instructions, see the YAML Cheatsheet Specification Guide.

Overview

Easy Cheatsheets helps you generate and organize interactive HTML cheatsheets for keyboard shortcuts. It's designed for developers, designers, and power users who want to keep their essential shortcuts easily accessible.

Features

  • Generate HTML cheatsheets from YAML files
  • Interactive keyboard layout with real-time highlighting
  • Categorized shortcuts with descriptions
  • Index page for quick access to all cheatsheets
  • Search functionality
  • Support for different keyboard layouts and system mappings

Available Systems and Keyboards

Systems

  • Darwin (macOS)
  • Linux
  • Windows

Keyboard Layouts

  • US
  • UK
  • DE (German)
  • FR (French)
  • ES (Spanish)

Requirements

  • Python 3.8+

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/easy-cheatsheets.git
    cd easy-cheatsheets
    
  2. Create and activate a virtual environment (optional):

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Set up the output directory: Create a .env file in the project root with:

    CHEATSHEET_OUTPUT_DIR=path/to/your/output/directory
    

Usage

  1. Create YAML files for your cheatsheets in the cheatsheets directory. For detailed instructions on how to format your YAML files, please refer to the YAML Cheatsheet Specification Guide.

  2. Generate cheatsheets:

    python src/generate_cheatsheet.py
    
  3. Find your HTML cheatsheets in the specified output directory.

  4. Open index.html to view your cheatsheet collection.

Contributing

Contributions are welcome! Feel free to submit issues, feature requests, or pull requests.

License

This project is licensed under the terms of the GPLv3.

About

A simple tool to create and manage interactive keyboard shortcut cheatsheets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published