π¦ Version:
v0.0.4β Now with Gist QR Sharing, ZIP Import/Export, AI Summarizer, Playground, Star/Fork and more!
β
Open a GitHub Gist as a folder, preserving nested structure using filenames
β
Create public or private Gists directly from any file
β
Add individual files or full folders to an existing Gist
β
Delete specific files or the entire Gist
β
Flatten folder paths using ... so Gist can simulate subfolders
β
Built-in GitHub token authentication with validation
β
Tokens are stored securely using VS Code's SecretStorage
β
Works behind firewalls and proxies (no browser dependency)
| Feature | Description |
|---|---|
| π€ Share via QR / Shortlink | Generate a shareable QR code or shortlink for any Gist |
| π§³ Import / Export ZIP | Export entire Gist as ZIP or import ZIP folder into Gist |
| π€ AI Summarizer (OpenAI & Gemini) | Choose between OpenAI or Google Gemini to summarize code (No keys are stored) |
| π Auto-Sync Toggle | Enable or disable syncing Gist updates on save |
| β Star / Unstar Gist | Mark Gists as favorite and manage them |
| π΄ Fork Gist | Instantly create a forked version of a Gist |
| π§· Scratch Notes | Create markdown notes directly saved to a personal Gist |
| πΌοΈ Paste Image to Gist | Paste image as file (markdown / base64 supported) |
| π§ͺ Comment Threads | Basic UI for commenting and viewing threads on files |
| π Follow GitHub Users | Follow and browse public Gists from other GitHub users |
| π§© Code Playground | Advanced CodeSwing-style environment for experimenting with code live |
Creating or editing Gists requires authentication. Follow these steps to create and add your GitHub Personal Access Token:
- Go to https://github.com/settings/tokens
- Click "Fine-grained tokens" β then "Generate new token"
- Name your token (e.g.,
VS Code Gist) - Set:
- Expiration: Choose 30 days or "No expiration"
- Repository access: Doesn't matter for Gists
- Permissions:
- Under Gists, check β
Read and write
- Under Gists, check β
- Click Generate token
- Copy the token β you wonβt see it again!
- In VS Code, press
F1 - Run
GistPilot: Set GitHub Token - Paste the token you created
π Your token is securely saved via VS Codeβs SecretStorage.
To remove it:
F1 β GistPilot: Clear GitHub Token
- Run:
GistPilot: Open Gist by ID - Paste your Gist ID (e.g.,
abcd12345) - It will open as a folder in VS Code
β‘οΈ Supports folder-like files: src...main.cpp β src/main.cpp
- Open any file
- Run:
GistPilot: Create New Gist - Enter description + choose Public/Private
- Gist is created and ID is copied to your clipboard
- Run:
GistPilot: Upload Folder to Gist - Select a folder from your system
- Enter the target Gist ID
- All files will be uploaded using
...to simulate folder paths
- Run:
GistPilot: Add File to Gist - Select file β Enter Gist ID β Done!
- Run:
GistPilot: Remove File from Gist - Enter Gist ID and file name (e.g.,
src...index.js)
- Run:
GistPilot: Delete Gist - Enter Gist ID β Gist is permanently deleted
- Run:
GistPilot: Summarize Gist with AI - Select your AI provider (OpenAI or Gemini)
- The extension uses these optional settings:
open-gist.aiProvider(default:openai)open-gist.openaiApiKey(OpenAI users)open-gist.geminiApiKey(Gemini users)
π‘ Your API key is never saved to disk. For security, itβs used only in memory for the session.
- Visit: https://platform.openai.com/account/api-keys
- Log in with your OpenAI account
- Click βCreate new secret keyβ
- Copy the key (starts with
sk-...) and paste it when prompted in VS Code
- Visit: https://makersuite.google.com/app/apikey
- Log in with your Google account
- Click βGet API keyβ
- Copy the key (starts with
AIza...) and paste it when prompted in VS Code
π‘οΈ For privacy and security, your API keys are only used during the current session β they are never saved to disk.
- Run:
GistPilot: Toggle Auto Gist Sync - This toggles setting:
open-gist.autoSyncin user preferences
- Run:
GistPilot: Star/Unstar Gist - In Gist Explorer, right-click a Gist
- Select
Star Gist,Unstar Gist, orFork Gist - Forked Gist opens in a new workspace window
- Run:
GistPilot: Create Scratch Note - Generates a markdown note with timestamp in your scratch Gist
- Copy any image (Ctrl+C)
- Focus on a file inside Gist in editor, press
Ctrl+V - Uploads as:
- File with markdown reference
- OR embedded base64 block, based on config
- Open a Gist file
- Threads are shown below file
- Click to expand, reply, or hide comment threads
- Run:
GistPilot: Follow GitHub User - Explore public Gists from followed users in Gist Explorer
- Run:
GistPilot: Create Code Playground - Opens an HTML/CSS/JS/Markdown preview with instant updates
- Ideal for quick experiments and sharing via Gists
- Run:
GistPilot: Share Gist as QR - Paste your Gist ID or select an active file
- A QR image will be shown in the panel and shortlink copied to clipboard
π‘ Great for presentations, mobile scanning, quick sharing.
- Run:
GistPilot: Export Gist to ZIPβ Select Gist ID β ZIP saved to disk - Run:
GistPilot: Import Gist from ZIPβ Select ZIP file β Files extracted and pushed to GitHub - For Import Feature Github Token is required so first set your github token.
π Folder structure is preserved using
...convention. Automatically maps filenames.
- πΉ How to create and set a GitHub token
- πΉ How to upload a folder to a Gist
- πΉ How to use the AI summarizer and auto-sync
πΊ Video links will appear here once available
π¨βπ» Maintained by @coderbro
- π§ Love the tool? Star it on GitHub!
- π¬ Issues, suggestions, or feature requests welcome.
Apache License 2.0 Β© coderbro
#gist #github #gist-explorer #vscode-extension #auto-sync
#openai #code-summary #cloud-snippets #code-sharing #developer-tools
#open-gist #code-manager #ai-powered #vscode-gist #gist-manager
#gist-sync #upload-to-gist #gist-folder #file-sync #vscode-integrations
