Skip to content

Add a Gisoo preset (Custom API) on top of v2.9.30 - #3

Open
netarz wants to merge 1 commit into
mobinbiback:release/2.9.30from
netarz:add-gisoo-provider
Open

netarz wants to merge 1 commit into
mobinbiback:release/2.9.30from
netarz:add-gisoo-provider

Conversation

@netarz

@netarz netarz commented Oct 31, 2026 •

Copy link
Copy Markdown

What this adds (rebased on v2.9.30)

A small change that makes Gisoo (https://gisoo.pro) easy to use in Subify. It is rebuilt on release/2.9.30 as requested; the earlier version, which was based on the old main, is kept in the fork as add-gisoo-provider-old-main for reference only.

Gisoo is OpenAI-compatible (base URL https://gisoo.pro/api/v1, 400+ models, one key), and v2.9.30 already has a Custom API. So this PR adds no new provider code: Gisoo is a Custom API with a ready-made name, URL and model.

Disclosure: we are NetArz, the company behind Gisoo. This PR is sent by us, not by an independent contributor. Please review it like any other.

Changes

  • options.html / options.js: a "پر کردن با گیسو" (Fill with Gisoo) button next to "+ سرویس جدید". It prefills name Gisoo, base URL https://gisoo.pro/api/v1 and model gemini-3.1-flash-lite; the user pastes the key and saves. The existing permission prompt asks for access to gisoo.pro only.
  • background.js: in Auto mode a saved Custom API becomes the last link of the subtitle chain (OpenRouter, OpenAI, Gemini, Custom). It takes over only after the others fail with a quota or temporary error, or when it is the only provider set up. The "no key saved" guard counts it too. With a Custom API selected by hand nothing changes.
  • PRIVACY.md (fa + en): the wording you sent, that when Gisoo is active the subtitle text and the words selected for explanation are sent to gisoo.pro, and nothing is sent when it is not.
  • README.md / README.En.md: one line in the provider lists.

Notes

  • No change to manifest.json, no version bump, no changelog entry: both left to you.
  • node --check passes for the changed scripts. I did not run the extension in Chrome with a live key; please try "Fill with Gisoo", save, then "تست اتصال".
  • Not covered on purpose: page translation in Auto mode with only a Custom API (it still needs a Gemini, OpenRouter or OpenAI key), dubbing, and speech to text. Those can come in a later PR once you have decided.
  • The new button label is Persian only; the other UI languages fall back to it.

Tell me if anything should change or be dropped.

@netarz

netarz commented Oct 31, 2026

Copy link
Copy Markdown
Author

Thanks for the review. Both points are fixed in the latest commit.

  1. Auto mode: order is now OpenRouter, then OpenAI, then Gemini. Gisoo is used only when Gemini errors or runs out of quota (the same check the existing OpenRouter/OpenAI fallback uses), or when Gisoo is the only key saved. Picking "Gisoo" by hand still uses it directly. The popup hint says the same.
  2. Privacy: there is no separate PRIVACY file in the repo, so I changed the "Privacy" section of README.md and README.En.md. It now says that when Gisoo handles a request, the subtitle text and the words you pick for explanation are sent to gisoo.pro, and that nothing is sent there otherwise. If you keep the policy somewhere else (for example on sub-ify.site), tell me where and I will send the same wording for it.

One extra change: Gisoo requests now time out after 45 s and retry once on a timeout, network error, 429 or 5xx, so a slow moment does not stall the subtitles. A bad key or an empty balance still fails at once. node --check passes and the retry logic was run against a mocked fetch.

Gisoo (gisoo.pro) is OpenAI-compatible, so it needs no new provider code: it is a
Custom API with a ready-made name, base URL and model.

- Options > Custom API: a "Fill with Gisoo" button prefills name, base URL
  (https://gisoo.pro/api/v1) and model; the user only pastes the key.
- Auto mode: a saved Custom API is now the last link of the subtitle chain
  (OpenRouter, OpenAI, Gemini, Custom). It takes over only after the others fail
  with a quota or temporary error, or when it is the only provider set up.
- PRIVACY.md (fa + en): states that when Gisoo is active the subtitle text and
  the words selected for explanation are sent to gisoo.pro.
- README (fa + en): Gisoo added to the provider lists.
@netarz netarz changed the title Add Gisoo as a translation provider Add a Gisoo preset (Custom API) on top of v2.9.30 Oct 31, 2026
@netarz
netarz changed the base branch from main to release/2.9.30 October 31, 2026 20:28
@netarz
netarz force-pushed the add-gisoo-provider branch from 0df1331 to 75fa7f7 Compare October 31, 2026 20:28
@netarz

netarz commented Oct 31, 2026

Copy link
Copy Markdown
Author

Rebuilt on release/2.9.30 as you asked, and simplified: since v2.9.30 already has a Custom API, Gisoo is now a preset for it instead of a separate provider. Details are in the updated description above.

Your two earlier points are kept: in Auto mode Gisoo (as the saved Custom API) is the last link after OpenRouter, OpenAI and Gemini, and PRIVACY.md carries your wording in Persian and English.

Please test: Options > Custom API > "پر کردن با گیسو", paste a Gisoo key, save, then "تست اتصال". Ping me after the next release and I will rebase again.

@netarz
netarz force-pushed the add-gisoo-provider branch 2 times, most recently from 4c2dd95 to 75fa7f7 Compare November 2, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant