{"id":41824545,"url":"https://github.com/winrisef/ctxrun","last_synced_at":"2026-04-25T12:04:39.441Z","repository":{"id":325658772,"uuid":"1101956806","full_name":"WinriseF/CtxRun","owner":"WinriseF","description":"A tool that contains many tools","archived":false,"fork":false,"pushed_at":"2026-02-13T04:26:54.000Z","size":32007,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-13T12:34:20.939Z","etag":null,"topics":["ai","context-manager","developer-tools","llm","productivity","prompt-engineering","react","rust","spotlight","tauri","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WinriseF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-22T14:56:26.000Z","updated_at":"2026-02-09T02:01:33.000Z","dependencies_parsed_at":"2025-12-13T16:09:52.000Z","dependency_job_id":null,"html_url":"https://github.com/WinriseF/CtxRun","commit_stats":null,"previous_names":["winrisef/code-forge-ai","winrisef/codedev","winrisef/ctxrun"],"tags_count":45,"template":false,"template_full_name":null,"purl":"pkg:github/WinriseF/CtxRun","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinriseF%2FCtxRun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinriseF%2FCtxRun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinriseF%2FCtxRun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinriseF%2FCtxRun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WinriseF","download_url":"https://codeload.github.com/WinriseF/CtxRun/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WinriseF%2FCtxRun/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29438641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T05:24:35.651Z","status":"ssl_error","status_checked_at":"2026-02-14T05:24:34.830Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","context-manager","developer-tools","llm","productivity","prompt-engineering","react","rust","spotlight","tauri","typescript"],"created_at":"2026-01-25T08:06:51.420Z","updated_at":"2026-03-06T10:12:37.605Z","avatar_url":"https://github.com/WinriseF.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/WinriseF/CtxRun\"\u003e\n    \u003cimg src=\"images/banner.png\" alt=\"CtxRun Logo\" width=\"1536\" height=\"574\"\u003e\n  \u003c/a\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/WinriseF/CtxRun/actions\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/WinriseF/CtxRun/update-prompts.yml?style=flat-square\u0026logo=github\u0026label=build\" alt=\"Build Status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://tauri.app\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/built%20with-Tauri-24C8DB?style=flat-square\u0026logo=tauri\u0026logoColor=white\" alt=\"Built with Tauri\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://react.dev\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/frontend-React-61DAFB?style=flat-square\u0026logo=react\u0026logoColor=black\" alt=\"React\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.rust-lang.org\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/backend-Rust-000000?style=flat-square\u0026logo=rust\u0026logoColor=white\" alt=\"Rust\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"LICENSE\"\u003e\n      \u003cimg src=\"https://img.shields.io/github/license/WinriseF/CtxRun?style=flat-square\u0026color=blue\" alt=\"License\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n**CtxRun** is an AI-powered productivity tool designed for developers. It integrates code context assembly, code diff, prompt management, and a always-ready global AI terminal, seamlessly connecting your IDE with Large Language Models (LLMs).\n\n![alt text](images/ScreenShot_2025-11-28_185818_533.png)\n![alt text](images/ScreenShot_2025-11-28_185842_701.png)\n![alt text](images/ScreenShot_2025-11-28_185855_631.png)\n![alt text](images/ScreenShot_2025-11-28_185940_974.png)\n![alt text](images/ScreenShot_2025-11-28_185955_998.png)\n\n## ✨ Core Features\n\n*   **🚀 Context Forge (File Assembly)**: Intelligently package your project files into LLM-friendly formats with automatic comment removal, binary file filtering, and real-time token estimation. Supports configuration persistence and project memory.\n*   **💡 Spotlight (Global AI Terminal)**: Summon anytime with global hotkey (`Alt+S`). Quickly search and execute commands, or have streaming AI conversations from any application.\n    *   **Calculator**: Type `=1+1`, `=sin(pi)` for quick math\n    *   **Shell Commands**: Type `\u003els`, `\u003edir` to execute terminal commands\n    *   **Scope Search**: `/app` for apps, `/cmd` for commands, `/pmt` for prompts\n    *   **Template AI**: Configure prompts as chat templates for auto-application\n    *   **App Launcher**: Search and launch installed applications quickly\n*   **📚 Prompt Verse (Prompt Library)**: Efficiently manage your common commands and AI prompts. Supports variable templates, group management, and downloading offline prompt packs from the official library. Supports executable commands and chat template configuration.\n*   **🔄 Patch Weaver (AI Completer \u0026 Git Diff)**: Apply AI-generated code patches with smart fuzzy matching for precise modification location. Also a powerful Git Diff visualizer with Working Directory comparison, version comparison, and diverse export formats.\n*   **🛡️ Privacy Security Scan**: Built-in sensitive information detection engine with whitelist management to prevent API key and other secrets leakage.\n*   **📋 Refinery (Clipboard History)**: Comprehensive clipboard history manager supporting text and images. Features search/filtering, pinning important entries, note-taking, auto-cleanup, calendar view, and Spotlight quick paste integration.\n*   **🖱️ Automator (Workflow Automation)**: Visual workflow automation system with node graph orchestration and conditional branching. Integrates browser automation (headless_chrome), keyboard input simulation, mouse operations, color detection, loop control, and more. Features semantic UI element targeting via Windows UIAutomation API with physical input fallback.\n*   **⛏️ Model Miner (Web Content Mining)**: Intelligent web scraper that extracts clean content from web pages using Readability.js, converts to Markdown, and supports concurrent crawling with depth/page limits and hierarchical file storage.\n\n\u003e ### 🚀 Want to learn how to use it?\n\u003e\n\u003e 👉 **[Check out the Detailed Usage Guide](./USAGE_EN.md)**\n\n## 🛠️ Tech Stack\n\nBuilt with a modern **high-performance desktop application architecture**, balancing minimal resource usage with smooth user experience (~10MB install size, ~30MB memory footprint):\n\n*   **Core**: [Tauri 2](https://tauri.app/) (Rust + WebView2) - Native-level performance with minimal install size, multi-window support.\n*   **Frontend**: React 18 + TypeScript + Vite 6 - Modern frontend development experience.\n*   **State Management**: Zustand - Lightweight yet powerful state management.\n*   **Styling**: Tailwind CSS + tailwindcss-animate - Beautiful UIs built fast.\n*   **Icons**: Lucide React.\n*   **Database**: SQLite (rusqlite) + Refinery - Local data persistence and migration management.\n*   **Editor**: Monaco Editor - VSCode-level code editing experience.\n\n---\n\n## 📥 Download \u0026 Installation\n\nDownload installers for your OS from the [Releases](../../releases) page, or download the portable version (**CtxRun.exe**) - no installation required, click to run (data stored in `%localappdata%\\com.ctxrun`):\n\n*   **Windows**: `.msi` or `.exe`\n\n---\n\n## ⚠️ About Virus Alerts\n\nWhen launching the app, you may see a **\"Windows has protected your computer\" (Microsoft Defender SmartScreen)** blue warning window.\n\n**This is normal.** Since CtxRun is an open-source project maintained by an individual without an EV Code Signing Certificate, it will be flagged as \"unknown publisher\".\n\n**How to run:**\n1. In the blue warning window, click **\u003cu\u003eMore info\u003c/u\u003e**.\n2. Click the **Run anyway** button that appears below.\n\n\u003e 🔒 **Security Commitment**: This project is fully open-source, built automatically by GitHub Actions, and contains no malicious code. If you have concerns, feel free to review the source and build it yourself.\n![alt text](images/ScreenShot_2025-11-28_205723_002.png)\n\n## Credits \u0026 Open Source Notice\n\nSpecial thanks to the following projects for data support and inspiration:\n\n*   **[tldr-pages](https://github.com/tldr-pages/tldr)**: Command pack data partially sourced from this project.\n*   **[Awesome ChatGPT Prompts](https://github.com/f/awesome-chatgpt-prompts)**: Prompt pack data partially sourced from this project.\n*   **[gitleaks](https://github.com/gitleaks/gitleaks)**: Sensitive information detection logic and rules partially inspired by this project.\n\n---\n\n*CtxRun - Run with context, AI at your fingertips.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinrisef%2Fctxrun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinrisef%2Fctxrun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinrisef%2Fctxrun/lists"}