{"id":17168009,"url":"https://github.com/mikachu2333/sc_starter","last_synced_at":"2026-02-20T17:03:57.699Z","repository":{"id":240553197,"uuid":"802917914","full_name":"Mikachu2333/sc_starter","owner":"Mikachu2333","description":"A starter for ScreenCapture","archived":false,"fork":false,"pushed_at":"2025-12-17T17:11:32.000Z","size":137909,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T01:56:49.861Z","etag":null,"topics":["rust","screencapture","screenshot"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mikachu2333.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":"2024-05-19T15:57:52.000Z","updated_at":"2025-12-17T17:09:41.000Z","dependencies_parsed_at":"2024-06-07T05:44:39.436Z","dependency_job_id":"684fc0c5-1820-4880-ba59-8aaf48be6a14","html_url":"https://github.com/Mikachu2333/sc_starter","commit_stats":null,"previous_names":["mikachu2333/sc_starter"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/Mikachu2333/sc_starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mikachu2333%2Fsc_starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mikachu2333%2Fsc_starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mikachu2333%2Fsc_starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mikachu2333%2Fsc_starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mikachu2333","download_url":"https://codeload.github.com/Mikachu2333/sc_starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mikachu2333%2Fsc_starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29658167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["rust","screencapture","screenshot"],"created_at":"2024-10-14T23:10:52.727Z","updated_at":"2026-02-20T17:03:57.691Z","avatar_url":"https://github.com/Mikachu2333.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SC_Starter\n\n本软件是 [ScreenCapture](https://github.com/xland/ScreenCapture) 的启动器\n\nA launcher and manager for ScreenCapture with global hotkeys and tray integration.\n\n## 功能说明 / Features\n\n### 核心功能 / Core Features\n\n- **内置截图程序** / Embedded ScreenCapture exe - 无需额外安装，一键运行\n- **全局快捷键** / Global Hotkeys - 系统级快捷键，任意位置触发\n- **托盘菜单** / Tray Menu - 快速访问截图功能和配置选项\n- **启动应用程序** / Launch Applications - 快速启动常用程序，支持进程管理和窗口置顶\n- **路径管理** / Path Management - 支持多种保存方式和自定义路径\n- **文件保护机制** / File Protection - 自动监控和恢复核心文件\n- **单例运行** / Singleton Mode - 防止程序多开造成冲突\n- **托盘集成** / System Tray Integration - 便捷的托盘操作界面\n\n### 托盘操作 / Tray Operations\n\n- **左键双击** / Left Double Click: 普通截图 / Normal screenshot\n- **右键单击** / Right Click: 唤出菜单 / Show menu\n\n### 自启动支持 / Auto Startup\n\n- **开机自启** / Boot Startup - 可配置的开机自动启动\n- **配置管理** / Configuration Management - 自动创建和管理启动项\n\n## 使用方法 / Usage Guide\n\n### 1. 快捷键操作 / Hotkey Operations\n\n#### 默认快捷键 / Default Hotkeys\n\n| 功能 / Function          | 快捷键 / Hotkey      | 说明 / Description                                     |\n| ------------------------ | -------------------- | ------------------------------------------------------ |\n| 普通截图 / Screenshot    | `Ctrl+Win+Alt+P`     | 矩形区域截图 / Rectangular area capture                |\n| 长截图 / Long Screenshot | `Ctrl+Win+Alt+L`     | 滚动截图 / Scrolling capture                           |\n| 钉图 / Pin Image         | `Ctrl+Win+Alt+T`     | 将剪贴板图片钉到屏幕 / Pin clipboard image to screen   |\n| 启动应用 / Launch App    | `Ctrl+Win+Alt+A`     | 启动配置的外部应用程序 / Launch configured application |\n| 打开配置 / Open Config   | `Ctrl+Win+Alt+O`     | 打开配置文件编辑 / Open config file for editing        |\n| 退出程序 / Exit          | `Win+Ctrl+Shift+Esc` | 完全退出程序 / Exit application completely             |\n\n### 2. 配置自定义 / Configuration Customization\n\n#### 修改配置步骤 / Configuration Steps\n\n1. 按 `Ctrl+Win+Alt+O` 打开配置文件 / Press `Ctrl+Win+Alt+O` to open config file\n2. 根据需要修改设置 / Modify settings as needed\n3. 保存并关闭配置文件 / Save and close the config file\n4. 按 `Win+Ctrl+Shift+Esc` 退出程序 / Press `Win+Ctrl+Shift+Esc` to exit\n5. 重新启动程序加载新配置 / Restart program to load new settings\n\n## 配置详解 / Configuration Details\n\n配置文件位于：`%LOCALAPPDATA%\\SC_Starter\\config.toml`\n\n### [hotkey] 快捷键配置 / Hotkey Configuration\n\n#### 格式说明 / Format Description\n\n```toml\n功能名 = \"修饰键1+修饰键2+...@目标键\"\nfunction = \"Modifier1+Modifier2+...@TargetKey\"\n```\n\n#### 支持的修饰键 / Supported Modifiers\n\n- `Win` / `Windows` / `Super`: Windows键\n- `Ctrl` / `Control`: Ctrl键\n- `Alt`: Alt键\n- `Shift`: Shift键\n\n#### 支持的目标键 / Supported Target Keys\n\n- **字母键** / Letters: `A-Z`\n- **数字键** / Numbers: `0-9`\n- **功能键** / Function Keys: `F1-F24`\n- **特殊键** / Special Keys: `VK_ESCAPE`, `VK_SPACE`, `VK_TAB` 等\n\n#### 配置要求 / Requirements\n\n- **至少两个修饰键** / Minimum 2 modifiers required\n  - `Fn` 系列快捷键可以直接使用，配置文件形式类似 `@F7`\n  - `Fn` keys can be used directly, config format like `@F7`\n- **避免系统快捷键冲突** / Avoid system hotkey conflicts\n\n### [path] 路径配置 / Path Configuration\n\n#### 截图保存路径 / Screenshot Save Path\n\n| 设置值 / Value   | 功能 / Function              | 说明 / Description       |\n| ---------------- | ---------------------------- | ------------------------ |\n| `\u0026`              | 手动选择 / Manual Selection  | 每次截图时弹出保存对话框 |\n| `@`              | 桌面 / Desktop               | 自动保存到桌面           |\n| `*`              | 图片文件夹 / Pictures Folder | 自动保存到用户图片文件夹 |\n| `D:/Screenshots` | 自定义路径 / Custom Path     | 保存到指定文件夹         |\n\n#### 启动应用程序配置 / Launch Application Configuration\n\n**应用程序路径 / Application Path:**\n\n- 支持可执行文件：`.exe`, `.bat`, `.cmd`, `.com`, `.msi`\n- 支持文档文件：`.html`, `.txt`, `.pdf`, `.docx` 等（通过默认程序打开）\n- 可执行文件支持进程管理和窗口置顶功能\n- 文档文件每次都会重新打开\n\n**命令行参数 / Command Line Arguments:**\n\n- 多个参数用制表符（Tab）分隔\n- 支持路径参数和开关参数\n- 示例：`-fullscreen\t--config=custom.ini`\n\n**行为说明 / Behavior Description:**\n\n- **可执行文件**：首次启动记录进程ID，再次按快捷键时检测进程状态\n  - 如果进程运行中 → 窗口置顶显示\n  - 如果进程已退出 → 启动新进程\n- **文档文件**：每次都通过系统默认程序打开，不进行进程管理\n\n#### 路径格式要求 / Path Format Requirements\n\n- 使用正斜杠: `D:/Screenshots`\n- 使用双反斜杠: `D:\\\\Screenshots`\n- **不要**使用单反斜杠: `D:\\Screenshots`\n\n### [sundry] 杂项 / Advanced Settings\n\n- **auto_start**: 开机自启动 (`true`/`false`)\n- **comp_level**: 压缩级别 (0-100)\n- **scale_level**: 缩放级别 (0-100)\n- **lang**: 语言设置（中文 -\u003e 1，En -\u003e 0）\n\n### GUI 工具栏配置 / GUI Toolbar Configuration\n\n**可用工具 / Available Tools:**\n\n- `rect`: 矩形工具 / Rectangle tool\n- `ellipse`: 椭圆工具 / Ellipse tool\n- `arrow`: 箭头工具 / Arrow tool\n- `number`: 序号工具 / Number tool\n- `line`: 直线工具 / Line tool\n- `text`: 文本工具 / Text tool\n- `mosaic`: 马赛克工具 / Mosaic tool\n- `eraser`: 橡皮擦工具 / Eraser tool\n- `undo`/`redo`: 撤销/重做 / Undo/Redo\n- `pin`: 钉图功能 / Pin function\n- `clipboard`: 复制到剪贴板 / Copy to clipboard\n- `save`: 保存功能 / Save function\n- `close`: 关闭功能 / Close function\n- `|`: 分隔符 / Separator\n\n## 完整配置文件示例 / Complete Configuration Example\n\n```toml\n# 设置文件使用说明 / Configuration File Instructions:\n#\n# ①程序启动时会自动处理配置文件\n# ①The program will automatically process the configuration file when starting\n#   - 如果文件不存在，会创建默认配置\n#   - If the file does not exist, default settings will be created\n#   - 如果某项配置缺失，会自动补充默认值\n#   - If any setting is missing, default values will be added\n#\n# ②配置更改后需要重启程序才能生效\n# ②Program restart is required after configuration changes\n#   - 使用快捷键 Win+Ctrl+Shift+Esc 退出程序\n#   - Use Win+Ctrl+Shift+Esc to exit the program\n#   - 重新启动程序加载新配置\n#   - Restart the program to load new settings\n\n[hotkey]\n# 快捷键配置说明 / Hotkey Configuration:\n# 1. 格式：控制键+控制键+...@实际键\n# 1. Format: Modifier+Modifier+...@Key\n# 2. 至少需要两个控制键，避免冲突，Fn系列可以不需要控制键\n#    注：Fn键配置类似 `@F1`\n# 2. At least two modifiers required to avoid conflicts, Fn series keys may not require modifiers\n#    Note: Fn key configuration is like `@F1`\n# 3. 支持的控制键 / Supported modifiers:\n#    - WIN/WINDOWS/SUPER\n#    - CTRL/CONTROL\n#    - ALT\n#    - SHIFT\n# 4. 支持的实际键 / Supported keys:\n#    - A-Z：字母键 / Letters\n#    - 0-9：数字键 / Numbers\n#    - F1-F24：Fn键 / Fn keys\n#    - VK_系列：特殊键 / Special keys\n\n# 控制截屏 / Screen capture\nscreen_capture = \"Ctrl+Win+Alt@P\"\n\n# 控制截长屏 / Screen capture long\nscreen_capture_long = \"Ctrl+Win+Alt@L\"\n\n# 将剪贴板中的图像钉到屏幕 / Pin clipboard image to screen\npin_to_screen = \"Ctrl+Win+Alt@T\"\n\n# 退出软件 / Exit application\nexit = \"Win+Ctrl+Shift@VK_ESCAPE\"\n\n# 打开配置文件 / Open configuration file\nopen_conf = \"Ctrl+Win+Alt@O\"\n\n# 调用其它软件 / Launch other application\n# 该软件将自动置顶 / The application will be set to topmost\n# 软件路径在下方的 path 配置类别中指定\nlaunch_app = \"Ctrl+Win+Alt@A\"\n\n[path]\n# 设置图片的自动保存位置，可选以下几种：\n# Configure automatic save location for images, options:\n# \u0026         -\u003e 截图时手动选定（默认）/ Manual selection when capturing (default)\n# @         -\u003e 桌面 / Desktop\n# *         -\u003e 图片文件夹 / Pictures folder\n# D:/test   -\u003e 其他指定文件夹（支持目录中含有中文及空格，路径必须存在）\n#              Other specified folder (supports Chinese and spaces in path, must exist)\n# ⚠️警告/Warning⚠️\n# 路径必须使用斜杠『/』或双反斜杠『\\\\』\n# Path must use slashes \"/\" or double backslashes \"\\\\\"\ndir = \"\u0026\"\n\n# 需要启动的程序路径，要求同上\n# Process path you want to launch\nlaunch_app_path = \"C:/Windows/System32/notepad.exe\"\n# 启动参数，可以置空\n# 使用 Tab（打不出来可以复制这个\u003c\t\u003e）间隔每个参数\n# Process Args, blank is allowed\n# Use Tab to separate each argument (it may not be typed, you can copy this \u003c\t\u003e)\nlaunch_app_args = \"\"\n\n[sundry]\n# 设置是否开机自启\n# Configure whether to start automatically at boot\n# true-\u003e启用, false-\u003e禁用\nstartup = false\n\n# 图像压缩与缩放比例\n# Image compression and scaling ratio settings\n# 压缩等级：0-10（清晰-\u003e模糊），-1代表默认\n# 缩放：1%-100%，（模糊-\u003e清晰）\n# Compression level: 0-10 (clear-\u003eblur), -1 for default\n# Scale: 1%-100% (blur-\u003eclear)\ncomp_level  = -1\nscale_ratio = 100\n\n# 语言，中文为 1，英文为 0\n# Language, Chinese is 1, English is 0\nlang = 1\n\n[gui]\n# GUI配置，默认全部启用\n# rect：方框\n# ellipse：椭圆\n# arrow：箭头\n# number：标号\n# line：直线\n# text：文本\n# mosaic：马赛克\n# eraser：橡皮擦\n# undo/redo：撤销/重做\n# pin：钉图\n# clipboard：保存到剪贴板\n# save：保存\n# close：关闭\ngui_config = \"rect,ellipse,arrow,number,line,text,mosaic,eraser,|,undo,redo,|,pin,clipboard,save,close\"\n# 参数只少不多\n# Only fewer parameters are allowed\nlong_gui_config = \"pin,clipboard,save,close\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikachu2333%2Fsc_starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikachu2333%2Fsc_starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikachu2333%2Fsc_starter/lists"}