The most intuitive and lightweight GitHub Gist manager for VS Code
Organize, edit, and manage your code snippets with a revolutionary folder hierarchy system
Install Now β’ Report Bug β’ Request Feature
Finally, a Gist manager that thinks like a developer. No more flat lists of hundreds of gists. No more lost snippets. Just pure, organized productivity.
- π Revolutionary Folder Organization - First VS Code extension to offer true hierarchical folder structure for gists
- π― Intuitive Drag & Drop - Effortlessly reorganize gists and move files between gists
- β‘ Lightning Fast - Intelligent caching system ensures instant access to your code snippets
- π¨ Beautiful & Intuitive UI - Clean, native VS Code interface that feels right at home
- π Seamless GitHub OAuth - One-click authentication, no token hassles
- πΎ Auto-Save Magic - Edit and save gists as naturally as local files
The game-changer you've been waiting for
Transform your chaotic gist collection into a beautifully organized knowledge base:
π React
βββ π Components
β βββ π Button Component
β βββ π Modal Hook
βββ π Utils
β βββ π Custom Hooks
βββ π Context Patterns
π Python
βββ π Scripts
β βββ π Data Processing
βββ π ML
βββ π TensorFlow Models
Simply name your gists with paths like React/Components - Button Component and watch the magic happen!
- Smart Caching: In-memory cache minimizes API calls
- Lazy Loading: Gists load on-demand for instant startup
- Optimized Rendering: Smooth scrolling even with hundreds of gists
- Background Sync: Updates happen seamlessly without blocking your workflow
- Seamless Integration: Looks and feels like native VS Code
- Theme Support: Automatically adapts to your VS Code theme
- Intuitive Icons: Visual cues for public/private, file types, and actions
- Clean Sidebar: Organized views for personal, starred gists, and comments
- GitHub OAuth: One-click sign-in through your browser
- Secure Token Storage: VS Code handles your credentials safely
- Session Persistence: Stay logged in across sessions
- Fallback Support: Manual token option for advanced users
ext install lywedo.gist-editorOr search "Gist Editor" in VS Code Extensions (Ctrl+Shift+X)
- Click the GitHub icon in the Activity Bar
- Click "Sign in with GitHub"
- Authorize in your browser
- Done! Start managing your gists instantly
From Selection (Ctrl+Alt+Shift+S):
- Select code β Right-click β "Create Gist from Selection"
From File (Ctrl+Alt+Shift+G):
- Open file β Create gist with automatic syntax highlighting
With Folder Organization:
- Name it
React/Hooks - useCustomHookto auto-organize!
Find your gists instantly with powerful search capabilities:
Search Everywhere:
- π Gist Names - Search by gist titles
- π Descriptions - Find gists by their descriptions
- π File Names - Locate specific files within gists
- π Content - Search through actual file contents
Smart Fuzzy Matching:
- Exact Match - Perfect word matches ranked highest
- Substring Match - Find text anywhere in your gists
- Fuzzy Match - Characters don't need to be consecutive (e.g., "rct" finds "React")
- Position Bonus - Matches near the beginning score higher
Intelligent Filtering:
- π Filter by public/private visibility
- π Filter by folder path
- π¨ Filter by programming language
- π― Combine multiple filters for precision search
Ranking & Results:
- Results ranked by relevance and match type
- Line numbers for content matches
- Context preview for better visibility
- Top 50 results for quick browsing
Lightning-Fast Performance:
- β‘ Instant Second Opens - Search results cached after first use for zero-delay access
- π Parallel Tag Fetching - Tags loaded simultaneously (10x faster for large collections)
- β±οΈ Smart Debouncing - 300ms debounce prevents laggy typing experience
- π§ Intelligent Cache - Automatically refreshes when gists or tags change
- π Visual Feedback - Busy indicator shows when search is building/updating
Organize your gists with powerful folder operations:
Create Gists Directly in Folders:
- Right-click on any folder β "Create Gist in Folder"
- Automatically places the new gist inside the selected folder
- Maintains your folder hierarchy without manual renaming
Rename Folders:
- Right-click on any folder β "Rename Folder"
- Bulk rename all gists within the folder
- Reorganize your gist structure instantly
- Update folder paths in batch operations
| Method | Shortcut | Description |
|---|---|---|
| From Selection | Ctrl+Alt+Shift+S |
Create gist from selected code |
| From Current File | Ctrl+Alt+Shift+G |
Turn entire file into a gist |
| Empty Gist | Ctrl+Alt+G |
Start with a blank gist |
| Multi-file | Via UI | Create gists with multiple files |
Automatic Grouping:
- π Public Gists - Shareable with the world
- π Private Gists - Your secret code vault
- β Starred Gists - Quick access to favorites
Folder Magic:
Naming Convention: "Folder/Subfolder - Gist Name"
Examples:
"React/Hooks - Custom Authentication Hook"
"Python/Utils - Data Processing Scripts"
"DevOps/Docker - Nginx Configuration"
Monitor your GitHub API consumption with built-in statistics:
Track API Activity:
- π Real-time API call monitoring
- π Breakdown by operation type (gists, comments, history, stars, user info)
- β‘ Session duration and total calls made
- π Rate limit status and reset time
Access Statistics:
- Click the Graph Icon (π) in the "My Gists" view header
- Command:
View API Usage Statistics - Shows detailed report in output channel
Stay Within Limits:
- β Green status if plenty of calls remaining
β οΈ Warning indicator when approaching rate limit- β Critical alert if rate-limited
- View exactly how many calls remain (e.g., "450 / 5000")
- View all comments on your gists
- Add comments directly from VS Code
- Delete your own comments
- Real-time comment count updates
Organize gists with powerful tagging system synced to GitHub:
Tag Management:
- β Add Tags - Right-click any gist β "Add Tag"
- β Remove Tags - Right-click any gist β "Remove Tag"
- ποΈ Clear All - Remove all tags at once
- π View Tags - See tag count badges next to gist names with full list on hover
Storage & Sync:
- πΎ GitHub-Synced - Tags stored in gist comments, synced across all your devices
- π Automatic Sync - Changes instantly appear on GitHub (visible in web interface)
- π§Ή Clean Display - System tags comment hidden from user comments view
- β¨ Human-Readable - Tags stored as
[tag:name]format for clarity
Tag Search:
- π Tag-Based Search - Search gists by tag names
- π‘ Smart Discovery - Tags weighted high in search rankings
- π Parallel Fetching - All tags loaded simultaneously for speed
- View complete revision history
- Compare different versions
- See who made changes and when
- Restore previous versions if needed
| Action | Windows/Linux | macOS | Description |
|---|---|---|---|
| Save Gist | Ctrl+Alt+S |
Cmd+Alt+S |
Save current gist instantly |
| Create Gist | Ctrl+Alt+G |
Cmd+Alt+G |
Create new empty gist |
| From File | Ctrl+Alt+Shift+G |
Cmd+Alt+Shift+G |
Create from current file |
| From Selection | Ctrl+Alt+Shift+S |
Cmd+Alt+Shift+S |
Create from selected text |
Right-click any gist for powerful actions:
- β Add File - Expand gists with multiple files
- πΌοΈ Add Image - Upload images directly to your gists (PNG, JPG, GIF, SVG, WebP, BMP)
- βοΈ Rename - Update descriptions and filenames
- π Open in GitHub - Jump to web interface
- π View History - See all revisions
- β Star/Unstar - Mark favorites
- ποΈ Delete - Remove with confirmation
Right-click any folder for organization:
- β Create Gist in Folder - Add new gists directly to the folder
- βοΈ Rename Folder - Reorganize your folder structure
- ποΈ Delete Folder - Remove the entire folder hierarchy
Upload images directly to your gists using Git operations:
Supported Formats:
- PNG, JPEG, GIF, WebP, BMP, SVG, ICO
- Configurable max file size (default: 10MB)
- GitHub limit: 100MB per file
Two Ways to Upload:
Method 1: Drag & Drop β Recommended
- Drag an image file from your file explorer
- Drop it onto a gist in the sidebar (not the editor!)
- Look for the Gist Editor icon in the Activity Bar (left sidebar)
- Drag and drop onto a gist item in the "My Gists" tree view
- Image is automatically uploaded
- Handles filename conflicts with auto-rename options
Important: Drop the image onto a gist in the sidebar, not into the editor window. Dropping in the editor will just open the image for viewing.
Method 2: Right-Click Menu
- Right-click on any gist β "Add Image to Gist"
- Select an image from your file system
- Customize filename (optional)
- Image is automatically uploaded via Git
Features:
- π Multi-file upload: Drop multiple images at once
- π Duplicate handling: Auto-rename or overwrite existing files
- π Progress feedback: Real-time upload notifications
- β‘ Fast & secure: Uses Git operations for reliable uploads
- πΌοΈ Image preview: Hover over image files to see thumbnail previews in tooltips
- π Easy referencing: Copy image URLs, Markdown, or HTML tags with one click
Why Git-Based?:
- GitHub's REST API doesn't support binary files
- Uses secure Git clone/commit/push workflow
- Supports all image formats without size restrictions (up to 100MB)
- Images become part of gist history
Copying Image References π:
Need to reference an image in a markdown file or HTML document? Right-click any image file and choose:
-
Copy Image URL - Raw GitHub URL
https://gist.githubusercontent.com/username/gist-id/raw/hash/image.png -
Copy as Markdown Image - Perfect for README.md files

- Prompts for alt text (image description)
- Generates proper markdown syntax
- Ready to paste into any markdown file
-
Copy as HTML Image - For web pages and HTML docs
<img src="https://gist.githubusercontent.com/.../image.png" alt="Description" width="300" />
- Prompts for alt text and optional width
- Generates semantic HTML
- Supports pixel (300) or percentage (50%) widths
Example Workflow:
1. Upload screenshot.png to a gist
2. Right-click β "Copy as Markdown Image"
3. Enter alt text: "App dashboard screenshot"
4. Paste into README.md: 
Configuration:
{
"gistEditor.maxImageSizeMB": 10,
"gistEditor.supportedImageFormats": [".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp", ".bmp"]
}Effortlessly reorganize your gists with intuitive drag-and-drop:
Upload Images from File Explorer β New:
- Drag image files from your file explorer
- Drop them onto any gist in the tree view
- Multiple images can be dropped at once
- Automatic duplicate detection with rename options
Move Gists Between Folders:
- Drag a gist and drop it on any folder to move it
- Automatically updates gist organization structure
- Works with subfolders and hierarchies
Move Files Between Gists:
- Drag files from one gist and drop them on another
- Files are automatically copied to target gist
- Source file is removed after successful transfer
- Preserves file content and language detection
Example Workflows:
Image Upload (via Drag & Drop):
1. Open file explorer β Find an image (e.g., screenshot.png)
2. Drag the image file from explorer
3. Drop it onto a gist in the SIDEBAR tree view (not the editor!)
ββ Look for "My Gists" panel on the left
4. Image uploads automatically via Git
5. Image appears in the gist files list
File Organization:
1. Expand "React/Hooks" gist β See its files
2. Drag "useAuth.js" file
3. Drop on "React/Utilities" gist
4. File instantly moved with all content preserved
100+ Languages with Automatic Detection:
|
Web Development
|
Programming
|
DevOps & Data
|
Binary Files
|
Manual Token Setup (Optional):
{
"gistEditor.githubToken": "ghp_your_token_here"
}Image Upload Configuration:
{
"gistEditor.maxImageSizeMB": 10,
"gistEditor.supportedImageFormats": [".png", ".jpg", ".jpeg", ".gif", ".svg", ".webp", ".bmp"]
}Token Scopes Required:
- β
gist- Full gist access (includes image upload via Git)
"Finally, a gist manager that understands organization! The folder hierarchy is a game-changer. I can now find my snippets in seconds instead of minutes."
β Senior Full Stack Developer
"Lightweight yet powerful. Doesn't slow down VS Code startup like other extensions. The caching is brilliant!"
β DevOps Engineer
"The OAuth integration is seamless. No more managing tokens manually. It just works!"
β Frontend Developer
- VS Code: Version 1.104.0 or higher
- GitHub Account: Free account works perfectly
- Internet: Required for syncing with GitHub
- WSL Support: β
Fully compatible with WSL (Windows Subsystem for Linux)
- Automatically converts Windows paths to WSL paths for drag-and-drop
- Drag images from Windows Explorer when running VS Code in WSL
Can't see my private gists?
Make sure your token has the gist scope:
- Click the gear icon (βοΈ) in the sidebar
- Select "Sign in with GitHub" again
- Ensure you authorize the
gistscope
Gists not loading?
- Check your internet connection
- Click the refresh button in the sidebar
- Try signing out and back in
Changes not saving?
- Ensure you're using
Ctrl+Alt+S(orCmd+Alt+Son Mac) - Check that you're still authenticated
- Verify your internet connection
We welcome contributions! See our Contributing Guide for details.
# Clone the repo
git clone https://github.com/lywedo/gist-editor
# Install dependencies
npm install
# Start development
npm run watchMIT License - see LICENSE file for details
- Built with β€οΈ for the VS Code community
- Powered by GitHub's Gist API
- Icons from VS Code's Codicon library
- π Report Issues
- π‘ Request Features
- π Documentation
- β Star on GitHub
Made with β€οΈ by developers, for developers


