神说

神说

Chrome MV3 extension for drafting less robotic Chinese ETH opportunity replies on X.

Features

  • Injects a 回复 button into each tweet.
  • Scores tweets by ETH relevance, opportunity value, freshness, engagement, commentability, and risk wording.
  • Generates Chinese reply candidates through the configured OpenAI-compatible API.
  • Clicking a tweet’s 回复 button automatically chooses the first candidate and fills the X reply box.
  • The side panel is only for base URL, model, and API key configuration.
  • Does not auto-publish replies.

Local Setup

  1. Create the ignored local configuration with cp src/local-config.example.js src/local-config.js, or run npm run sync:codex-config to generate it from ~/.codex/auth.json and ~/.codex/config.toml.
  2. Open Chrome and go to chrome://extensions.
  3. Enable Developer mode.
  4. Click Load unpacked and select this repository folder.
  5. Open https://x.com, search an ETH topic, and open the 神说 side panel if you need to change API settings.

The Chrome extension cannot read ~/.codex directly at runtime. The sync script copies the selected local Codex API base URL, model, and API key into the extension-local config file before you load or reload the unpacked extension.

src/local-config.js may contain an API key. It is ignored by Git and must never be committed, uploaded, or shared.

Usage

  • Click a tweet’s 回复 button to generate and fill a reply directly.
  • Use the side panel only to configure Base URL, Model, and API Key.
  • Review the text manually before posting on X.

Verification

npm test
npm run sync:codex-config
node -e "JSON.parse(require('fs').readFileSync('manifest.json','utf8')); JSON.parse(require('fs').readFileSync('package.json','utf8')); console.log('json ok')"
node --check src/core.js && node --check src/background.js && node --check src/content.js && node --check src/sidepanel.js && node --check src/options.js

Privacy

Read the bilingual Privacy Policy. This is the privacy-policy URL for the Chrome Web Store listing. The source document remains available in PRIVACY.md.