Codebase Uploader

An elegant, zero-dependency userscript that packages directories and codebases for AI chats. Features smart markdown chunking, customizable ignore patterns, binary file uploads, and a premium Liquid Glass interface.

2026/08/08のページです。最新版はこちら

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
quantavil
評価
0 0 0
バージョン
1.4.0
作成日
2026/06/27
更新日
2026/08/08
大きさ
83.8KB
ライセンス
MIT
対象サイト

⚡ Codebase Uploader

Version License Tests

Zero-dependency Tampermonkey userscript that packages directories and codebases into structured markdown chunks and raw binary attachments for AI chats. Features a Swiss Industrial Telemetry & CRT Command Matrix interface, live ASCII context meters, dual-pane command layout, SVG icon consolidation, and full WCAG AA accessibility.


⚡ Supported Platforms

Optimized and tested for major AI web interfaces:

  • ChatGPT (chatgpt.com)
  • Claude (claude.ai)
  • Gemini & Google AI Studio (gemini.google.com, aistudio.google.com)
  • DeepSeek (deepseek.com)
  • Perplexity (perplexity.ai)
  • Meta AI (meta.ai)
  • Chatbot Arena (arena.lmsys.org, arena.ai)
  • Grok (grok.com)
  • Mistral Chat (chat.mistral.ai)
  • Microsoft Copilot (copilot.microsoft.com)
  • Hugging Chat (huggingface.co/chat)
  • Qwen (qwen.ai)
  • Kimi (kimi.com)
  • Z.ai (z.ai)
  • OpenRouter (openrouter.ai)
  • Groq (groq.com)
  • Xiaomi MiMo AI Studio (aistudio.xiaomimimo.com)
  • MiniMax Agent (agent.minimax.io)

✨ Features

  • Swiss Industrial Telemetry & CRT Command Matrix: Matte Onyx background substrate (#08090d), monospaced JetBrains font stack, Cyber Cyan (#00E5FF) focus rings, Aviation Red (#FF3333) execute CTAs, and sharp 90-degree industrial borders.
  • Single Phosphor Focus Ring: Enforces outline: none !important globally and uses a single high-contrast Cyber Cyan border glow (#00E5FF) to eliminate double-ring focus glitches.
  • Consolidated SVG Icon System: 100% SVG icon system (src/icons.ts) using createElementNS with zero emoji dependency for strict anti-slop frontend standards.
  • Spatial Dual-Pane Command Layout: 2-column workspace featuring a left Telemetry HUD (live ASCII context meter [||||||||....] 42%, file breakdown stats, quick preset chips [ALL], [CODE], [DOCS], industrial dropzone) and a right Tree Matrix workspace.
  • Trusted Types & Zero Dependencies: Pure imperative DOM construction (createElementNS and native helpers) with zero innerHTML usage to run safely under Google Trusted Types policies (gemini.google.com, aistudio.google.com).
  • Dynamic Filtering & Ingestion: Retains all ingested files in memory while dynamically applying ignore lists, hidden file rules, and binary settings during render/upload.
  • Unicode-Safe Markdown Chunking: Auto-splits large codebases into structured markdown chunks (codebase_part_N.md), prepends a master codebase_manifest.md with custom prompt instructions, and prevents UTF-16 surrogate pair splitting.

🚀 Installation

  1. Install a userscript manager such as Tampermonkey or Violentmonkey.
  2. Install or update the compiled userscript from dist/codebase-uploader.user.js.

⌨️ Shortcuts & Usage

  • Toggle Panel: Alt+Shift+U (or ⌥⇧U on macOS). Hotkey letter can be customized in Settings.
  • User Script Menu: Trigger via Tampermonkey extension menu (Toggle Codebase Uploader).

🛠️ Development

Powered by Bun.

bun install     # Install dependencies
bun run test    # Run Vitest unit test suite (31 tests across 5 test files)
bun run tsc     # Typecheck codebase
bun run build   # Build distribution bundle (dist/codebase-uploader.user.js)

📄 License

MIT License