Stasharr EN
Mick Mawse · Firefox
Stasharr is a browser extension that augments StashDB with Whisparr and Stash: add/search/monitor scenes, bulk actions, status indicators, and quick links. Configure via options; background-only networking.
简介
Stasharr — StashDB Extension
A browser extension that augments StashDB with Whisparr and Stash integrations.
Repository Layout
src/— Extension source (content scripts + background services)scripts/— Build/pack scriptsmanifest/— Chrome/Firefox manifestsdocs/— Architecture and development notes
Features
- Scene card actions: add to Whisparr, trigger search for missing files, monitor/unmonitor, exclude/include
- Status indicators on scene cards (in library, missing file, excluded, error)
- Bulk actions on list pages (Add All / Search All / Add Missing) with progress modal feedback
- Scene details panel with status, quality profile selection, tags editing, and monitor/exclude toggles
- Performer and studio panels with status, add/check, monitor toggle, tags/quality editing, and Whisparr links
- Copy StashDB scene IDs from scene cards and the scene details panel
- Direct links to Whisparr and Stash scenes (when configured)
- Options UI with validation and discovery for quality profiles, root folders, and tags
- Background-only networking for LAN services (Firefox-safe)
Installation (local build)
From repo root:
npm ci
npm run build
Build outputs:
dist/chromedist/firefox
Load unpacked in Chrome
- Open
chrome://extensions/. - Enable Developer mode.
- Click Load unpacked.
- Select
dist/chrome.
Load temporary add-on in Firefox
- Open
about:debugging#/runtime/this-firefox. - Click Load Temporary Add-on.
- Select
dist/firefox/manifest.json.
Configuration
- Open the extension’s options page.
- Configure Whisparr: base URL (include protocol) and API key, then validate and refresh lists.
- Configure Stash (optional): base URL (include protocol) and API key.
- Choose whether external links open in a new tab.
The extension will request host permissions for configured domains. Grant access
for Whisparr/Stash to enable API calls.
Usage
Scene list pages
- Each scene card gets a status indicator and action row.
- Actions include Add, Search (for missing files), Monitor/Unmonitor, Exclude/Include.
- View buttons jump directly to Whisparr or Stash scenes when configured.
- Bulk actions are available on list pages and show progress in a modal.
Scene details pages
- A fixed extension panel shows scene status and actions.
- Update quality profile and tags directly from the panel.
- Copy the StashDB scene ID from the panel.
Performer and studio pages
- A fixed extension panel shows status and actions.
- Add/Check, Monitor toggle, update quality profile and tags, and open in Whisparr.
Troubleshooting
- Buttons not appearing: Reload StashDB and confirm the extension is enabled.
- Permission errors: Ensure the configured domains were granted host permissions.
- Validation failures: Base URLs must include
http://orhttps://.
Development
From repo root:
npm run lint
npm run build
npm run tripwire
License
This project is released under the GNU General Public License v3.0.
See LICENSE for details.
Credits
Created by enymawse
Original inspiration from randybudweiser's stash2whisparr
Stasharr 是做什么的
Stasharr 是一款面向 Firefox 的搜索增强类扩展,主要用来补充搜索结果、切换搜索引擎、过滤无效结果。官方对它的介绍是:Stasharr is a browser extension that augments StashDB with Whisparr and Stash: add/search/monitor scenes, bulk actions, status indicators, and quick links. Configure via options; background-only networking.在Firefox 附加组件商店(AMO)上,它当前版本 0.3.0,约 62 名用户。
适合什么人用
从功能定位看,Stasharr 更适合每天大量搜索、希望结果更干净准确的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 Stasharr
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
Stasharr 是免费的吗?
Stasharr 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
Stasharr 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
Stasharr 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 Stasharr?
在扩展管理页找到 Stasharr,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 1
storage