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 runpython src/generate_cheatsheet.py
. For detailed YAML formatting instructions, see the YAML Cheatsheet Specification Guide.
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.
- 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
- Darwin (macOS)
- Linux
- Windows
- US
- UK
- DE (German)
- FR (French)
- ES (Spanish)
- Python 3.8+
-
Clone the repository:
git clone https://github.com/yourusername/easy-cheatsheets.git cd easy-cheatsheets
-
Create and activate a virtual environment (optional):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Set up the output directory: Create a
.env
file in the project root with:CHEATSHEET_OUTPUT_DIR=path/to/your/output/directory
-
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. -
Generate cheatsheets:
python src/generate_cheatsheet.py
-
Find your HTML cheatsheets in the specified output directory.
-
Open
index.html
to view your cheatsheet collection.
Contributions are welcome! Feel free to submit issues, feature requests, or pull requests.
This project is licensed under the terms of the GPLv3.