Greasy Fork is available in English.
Media viewer and download functionality for X.com
当前为
PC-only userscript to browse and download media from X.com in original quality.
X.com Enhanced Gallery is a lightweight, PC-only userscript that turns X.com (formerly Twitter) media into a fast, keyboard-friendly gallery with one-click original-quality downloads.
Built with modern tooling:
First, install a userscript manager extension in your browser.
| Browser | Recommended Extension |
|---|---|
| Chrome/Edge | Tampermonkey |
| Firefox | Tampermonkey |
| Safari | Userscripts |
💡 Tip: Refresh the page after installation to use immediately.
| Download Type | Button | Description |
|---|---|---|
| Single | 📥 Download | Save current image/video in original quality |
| Bulk | 📦 Download All | Download all media from tweet as ZIP file |
Desktop browsers only (no mobile/touch support):
| Browser | Version (minimum) |
|---|---|
| Chrome | 117+ |
| Edge | 117+ |
| Firefox | 119+ |
| Safari | 17+ |
Note: Build target is
esnextwith ES2024 features. CSS features require: oklch (Chrome 111+), color-mix (Chrome 111+), container queries (Chrome 105+).
For full details and vulnerability reporting, see the Security Policy.
This project is distributed under the MIT License.
| Library | License | Purpose |
|---|---|---|
| Solid.js | MIT | UI Framework |
| @heroicons/react | MIT | Icon Components |
Full license texts are available in the LICENSES/ directory.
Have ideas for project improvements?
git clone https://github.com/PiesP/xcom-enhanced-gallery.git
cd xcom-enhanced-gallery
# Build userscript bundle (includes quality checks)
deno task build
# Development build
deno task build:dev
# Quick build (skip quality checks)
deno task build:fast
# Individual quality checks
deno task check # TypeScript
deno task lint # Deno lint
deno task fmt:check # Format check
Prerequisites: Deno 2.x is required. No npm install needed.
GitHub Actions runs a subset of these commands for continuous integration and security. See .github/workflows/ for details.