For developers / yiyangbyts

TwinText for Zotero

github.com/yiyangbyts/twintext-releases
Public grade · v2.0.35BUse with care
To reach A
Downloads and runs a Python translation engine (about 460 MB) the first time you translate a PDF; we haven't checked what's inside itcontent/scripts/core/engine-installer.js · line 163for(let attempt=0;attempt<3;attempt++){try{await Zotero.File.download(prefix+manifest.archive,archive);break;}catch(error){check(job);if(attempt===2||!retryableDownloadError(error))throw error;uReply
Watches Zotero's network trafficcontent/scripts/core/license-transport.js · line 30service.registerChannelFilter(value,0xffffffff);proxyService=service;filter=value;return true;Reply
Installs and runs software packages from npm or PyPIcontent/engines/babeldoc/install.py · line 41subprocess.run([str(python), '-m', 'pip', 'install', '-r', str(root/'requirements.txt'), '-c', str(constraint)], check=True)Reply
Launches programs on your computercontent/scripts/core/engine-installer.js · line 321const {Subprocess}=ChromeUtils.importESModule('resource://gre/modules/Subprocess.sys.mjs');Reply
✓Readable code; not yet checked against the published source
✓Only contacts services we could identify
✓Works with Zotero 10
Then A+
Pass the live test in Zotero 10We install it in a fresh Zotero and record what it does. Every plugin at A is tested.
README badgeZotero Plugins grade B[![Zotero Plugins grade](https://zoteroplugins.org/badge/twintext-releases.svg)](https://zoteroplugins.org/p/twintext-releases)Updates itself when the grade changes.
Disagree with a finding?Respond on GitHub from an account that maintains the repository. Your response is published next to the card, with our reply.Respond to the card
See the public plugin page