プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説 ログイン

guessit-js

✓ opensubtitles.com

作者:opensubtitlesバージョン 5.3.2i★ 14iパソコンでもクラウドでも公式サイト ↗

インストール方法

できること

映画やテレビ番組のファイル名から、タイトル、年、シーズン、エピソード、コーデック、言語、リリースグループを解析します。

作者の説明を自動翻訳 · チーム未確認

  • 接続方法 パソコンでもクラウドでも
  • アカウントまたはキー キー不要
  • カテゴリ ゲーム・スポーツ・料理・学習
作者の元の説明
Parse movie and TV filenames: title, year, season, episode, codecs, languages, release group.

この順位の理由

これは「AI につながるアプリ」タブにあり、スターを使わず次の順で並びます

1. Claude のコネクタディレクトリにあるいいえ
2. チームが実際に試したいいえ
3. タイのユーザー向けいいえ
4. スターを除いた利用状況44/100人気 24 · 新しさ 12 · 応答中 8 · ユーザーのいいね +0
5. 登録日2026-11-22

ユーザーのいいね: 0 · 順位に最大 5 点(1 人 1 点)加算。お金では買えません。

品質: 基本チェック 5/5 項目に合格(表示のみ、並び順には不使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

guessit-js をインストールして。https://mcp.popnx.com/i/opensubtitles-guessit-js.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 5/5 合格 · 質問内容は提供元のサーバー(guessit.opensubtitles.com)を通ります · ✓ コマンド確認済み 2026年11月22日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげます · 約 2 分

キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加

  1. このボタンを押すと、Claude が入力済みの connector 追加画面を開きます

    guessit-js を Claude に追加 ↗

    名前と URL は入力済みです。確認して Add を押します · ログインしていなければ、先にログインを求められます

    Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します

    ボタンが動かない?手動で入力する

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4

    「Add」→「Custom」→「Web」を押し、この 2 つを入力

    ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します

    Name · 名前guessit-js
    Remote MCP server URL · アドレスhttps://guessit.opensubtitles.com/mcp
  2. チャットで有効にする

    +Connectorsguessit-js

  3. 試してみる

    guessit-js を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が guessit-js を使っていると言うか、回答に guessit-js のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT との接続はプランしだい

フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ

  1. Web 版 ChatGPT で MCP の追加ページを開く

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 名前とアドレスを入力

    名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します

    Name · 名前guessit-js
    Connection · アドレスhttps://guessit.opensubtitles.com/mcp
  3. チャットで guessit-js を選ぶ

    新しいチャットを開き、入力前にプラグインの一覧から guessit-js を選びます

  4. 試してみる

    guessit-js を使って、私に何ができるか教えて、1 つやってみせて

    ✓ ChatGPT が guessit-js を使っていると言うか、回答に guessit-js のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Claude Code につなげます · 約 2 分

キー不要、インストール不要

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  2. このコマンドを貼り付けて Enter

    claude mcp add --transport http --scope user guessit-js https://guessit.opensubtitles.com/mcp
  3. Claude Code で /mcp と入力

    guessit-js が一覧にあり、接続済みと表示されれば OK です

  4. 試してみる

    guessit-js を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が guessit-js を使っていると言うか、回答に guessit-js のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  2. Cursor の AI チャットを Agent モードで開く

  3. 試してみる

    guessit-js を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が guessit-js を使っていると言うか、回答に guessit-js のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  2. VS Code の AI チャットを Agent モードで開く

  3. 試してみる

    guessit-js を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が guessit-js を使っていると言うか、回答に guessit-js のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://guessit.opensubtitles.com/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?guessit-js を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

Claude Code

claude mcp add --transport http --scope user guessit-js https://guessit.opensubtitles.com/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "guessit-js": {
      "url": "https://guessit.opensubtitles.com/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "guessit-js": {
      "type": "http",
      "url": "https://guessit.opensubtitles.com/mcp"
    }
  }
}

パソコンにインストール

Claude Code

claude mcp add --scope user guessit-js -- npx -y guessit-js --mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "guessit-js": {
      "command": "npx",
      "args": [
        "-y",
        "guessit-js",
        "--mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "guessit-js": {
      "command": "npx",
      "args": [
        "-y",
        "guessit-js",
        "--mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "guessit-js": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "guessit-js",
        "--mcp"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

レジストリ名
com.opensubtitles/guessit-js
週あたりのダウンロードi
1,373/週
確認済みドメイン
✓ opensubtitles.com
接続方法
パソコンでもクラウドでも
最新バージョンi
5.3.2
レジストリ公開日i
2026年11月22日
コードの最終更新i
2026年11月22日
最終確認
2026年11月23日
作者
opensubtitles
パッケージ
npm: guessit-js
mcpb: …/guessit-js.mcpb
ウェブサイト
opensubtitles.github.io
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

インターネット経由でつなげるアプリ

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

ツールの名前と説明は、サーバーが2026年11月23日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。

  • guessit

    Extract metadata from one movie or TV episode filename or release name: title, year, season, episode, episode_title, screen_size, source, video_codec, audio_codec, language, subtitle_language, release_group, streaming_service, container, type (movie or episode) and more (56 prope

  • guessit_batch

    Parse up to 100 filenames in one call with the same options. Returns one entry per name, in order: {input_string, result} or {input_string, error}. Faster than calling guessit repeatedly.

  • guessit_properties

    List every property guessit can return with its possible values (enum values such as source: ["Blu-ray", "Web", ...]; [null] for free-form ones such as title).

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月23日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名はドメイン opensubtitles.com で確認済みです(レジストリがドメインの所有を確認しています)

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    LGPL-3.0を使用

  • ✓ 合格

    エンドポイントが応答する

    51ミリ秒で応答(HTTP 200)

  • – 対象外

    OAuthでサインイン

    サインイン不要

  • ✓ 合格

    ツールの説明に隠れた指示がない

    3件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした

公開済みの脆弱性(OSV.dev)

まだ確認していません

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/opensubtitles-guessit-js.svg)](https://mcp.popnx.com/en/servers/opensubtitles-guessit-js)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

ゲーム・スポーツ・料理・学習のほかのサーバーとの比較i

  • このカテゴリのほかの1751件のうち97%よりスターが多い
  • このカテゴリのほかの1751件のうち96%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1751件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

guessit-jsは安全ですか?

当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は昨日、最新バージョン(5.3.2)がレジストリに届いたのは昨日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。

代わりに使えるものは?

同じカテゴリには:LearnHouse, Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

LearnHouse

Build, edit and run courses, learning paths and communities in your LearnHouse academy.

作者:learnhouse広く使われている★ 24914 日前更新

クラウドで動く✓ 提供元 · learnhouse.app

WilmAI

Finland's Wilma school system for parents and students: schedule, homework, exams and messages.

作者:aikarjal成長中↓ 1399/週★ 89 リポジトリ全体のスター14 日前更新

パソコンで動く✓ 提供元 · wilm.ai

Savecraft

Savecraft serves real save game data and expert game knowledge to AI assistants.

作者:joshsymonds初期★ 137 か月前更新

クラウドで動くリポジトリはアーカイブ済み✓ 提供元 · savecraft.gg
似たものと比べる
これ
guessit-js
LearnHouseAnime GardenWilmAILumify Sports IntelligenceSavecraft
動く場所クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえはいいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック5/55/54/43/34/43/4
ライセンスLGPL-3.0AGPL-3.0AGPL-3.0MITMITApache-2.0
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

guessit-js

Extract metadata (title, year, season, episode, codec, language, etc.) from media filenames — TypeScript port of Python guessit.

[Live Demo](https://opensubtitles.github.io/guessit-js) · [API Docs](https://opensubtitles.github.io/guessit-js/docs) · [npm](https://www.npmjs.com/package/guessit-js)

Features

  • Runs 2191 of the 2229 cases in Python guessit's own test suite (upstream 4.5.1, its corpus *and* its per-rule files) — and is more correct: fixes for 32 historical upstream bugs, Python's still-open #877, and 114 of the 276 cross-parser cases Python admits failing (see Differences from Python)
  • Drop-in output: results use Python guessit's own notation ("language": "French", "country": "UNITED STATES", "date": "2024-03-15") in the library, CLI, REST API and WASM; guessit-js only *parses* better. Richer codes are opt-in with output: 'codes'
  • AI-agent ready: an MCP server (npx -y guessit-js --mcp, or the hosted https://guessit.opensubtitles.com/mcp) and an llms.txt
  • ~2x faster than Python per parse (measured)
  • 56 properties detected: title, year, season, episode, resolution, codec, language, ids, and more — with a machine-readable schema
  • Batch parsing: guessitMany() in-process, or one POST for up to 100 names
  • Zero runtime dependencies (rebulk-js is bundled at build time)
  • Dual format: ESM and CommonJS
  • TypeScript: full, precise type definitions (typed GuessItResult, enum'd value fields)
  • WASM: runs in any WASI-compatible runtime, bit-identical to the JS build

Install

npm install guessit-js

CLI

Drop-in replacement for the Python guessit command — same flags, same output formats, byte-compared against the real Python CLI in CI on every push. The one field excluded from that comparison is mimetype: Python reads it from the operating system's MIME table, so the same .mkv is video/matroska on a GitHub runner and video/x-matroska on macOS, while this port returns the conventional x- spelling everywhere. Installs both guessit-js and guessit binaries:

npx guessit-js "The.Dark.Knight.2008.1080p.BluRay.x264-GROUP.mkv"

title: The Dark Knight

year: 2008

...

npx guessit-js -j "Mob Psycho 100 - 09.mkv" # JSON (-y YAML, --jsonl streaming) npx guessit-js -P title "Movie.2020.mkv" # single property npx guessit-js -t episode "ambiguous.file.mkv" # force type npx guessit-js @list.txt # filenames from file (also -f list.txt) find . -name '*.mkv' | npx guessit-js --jsonl # from stdin, one JSON per line npx guessit-js -a "Movie.2020.mkv" # advanced: value/raw/start/end npx guessit-js -p # list detectable properties (-V with values)

Parsing options match the Python CLI: -n name-only, -Y/-D date order, -L/-C allowed languages/countries, -E episode-prefer-number, -T/-G expected title/group, --includes/--excludes, -s single-value, -v verbose. User config is auto-loaded from ~/.guessit/options.json and ~/.config/guessit/options.json (.yaml/.yml too; disable with --no-user-config), plus explicit -c . See npx guessit-js --help.

Extras beyond the Python CLI:

npx guessit-js --serve 3847            # instant REST API (see below)

npx guessit-js --benchmark 1000 "Movie.2020.1080p.mkv" # throughput report eval "$(npx guessit-js --completion bash)" # shell completion (bash/zsh)

Usage

import { guessit } from 'guessit-js';

const result = guessit('The.Dark.Knight.2008.1080p.BluRay.x264-GROUP.mkv'); // { // title: 'The Dark Knight', // year: 2008, // screen_size: '1080p', // source: 'Blu-ray', // video_codec: 'H.264', // release_group: 'GROUP', // container: 'mkv', // type: 'movie' // }

// Short titles are handled correctly too: guessit('X2.2003.720p.DSNP.WEB-DL.DDP5.1.H.264-EVO.mkv'); // { title: 'X2', year: 2003, screen_size: '720p', // streaming_service: 'Disney+', source: 'Web', ... }

Output notation

Results are a drop-in for Python guessit: the same keys and the same notation Python's guessit --json prints, so code written against Python guessit keeps working. guessit-js parses many names better (see Differences); it never formats differently by default.

Valuedefault (output: 'python')output: 'codes'
language, subtitle_language"French", ["German", "Multiple languages"]{ alpha3: 'fra' }, [{ alpha3: 'deu' }, { alpha3: 'mul' }]
region / scriptdropped, as in Python: "Portuguese"kept: { alpha3: 'por', country: 'BR' }
country"UNITED STATES""US"
date"2024-03-15"Date (JSON: "2024-03-15T00:00:00.000Z")
guessit('Movie.2020.PT-BR.1080p.mkv');

// { title: 'Movie', year: 2020, language: 'Portuguese', ... } guessit('Movie.2020.PT-BR.1080p.mkv', { output: 'codes' }); // { title: 'Movie', year: 2020, language: { alpha3: 'por', country: 'BR' }, ... }

The same switch exists everywhere: ?output=codes or "options": {"output": "codes"} on the REST API, --output-codes on the CLI, {"options": {"output": "codes"}} for WASM. The names are generated from babelfish, the library Python guessit uses (scripts/python-names.py). toPythonNotation(), pythonLanguageName() and pythonCountryName() are exported for converting codes yourself.

Batch

guessitMany() parses a list in one pass. guessit() re-parses the options and re-merges them with the whole config on every call — more work than matching a short name — so hoisting that out of the loop is the point. Each entry carries the input_string plus either a result or the error that name produced, so one unparseable name cannot abort the rest, and entries can be correlated without relying on array position.

import { guessitMany } from 'guessit-js';

guessitMany(['A.2020.1080p.mkv', 'B.S01E02.mkv'], { type: 'episode' }); // [ // { input_string: 'A.2020.1080p.mkv', result: { title: 'A', year: 2020, ... } }, // { input_string: 'B.S01E02.mkv', result: { title: 'B', season: 1, ... } } // ]

In-process there is no cap — pass the whole library. The 100-name cap applies only to the HTTP surfaces, where it bounds one request's shape.

CommonJS
const { guessit } = require('guessit-js');

const result = guessit('Breaking.Bad.S01E02.720p.BluRay.x264-DEMAND.mkv'); console.log(result.title); // 'Breaking Bad' console.log(result.season); // 1 console.log(result.episode); // 2

Options
guessit('file.mkv', { type: 'episode' });

guessit('my 720p show S01E02', { expected_title: ['my 720p show'] }); guessit('file.mkv', { allowed_languages: ['en', 'fr'] }); guessit('file.mkv', { excludes: ['release_group'] }); guessit('file.mkv', { output: 'codes' }); // guessit-js codes instead of Python names

import { version } from 'guessit-js';  // package version string

Detected Properties

All 56, the same set properties() advertises:

CategoryProperties
Titletitle, alternative_title, episode_title, film_title, bonus_title
Episodeseason, episode, episode_details, episode_count, season_count, episode_format, absolute_episode, credits_number, disc, part, version, cd, cd_count
Dateyear, date, week
Videoscreen_size, aspect_ratio, frame_rate, video_codec, video_profile, video_api, video_bit_rate, color_depth
Audioaudio_codec, audio_profile, audio_channels, audio_bit_rate
Sourcesource, streaming_service, website
Releaserelease_group, edition, other, proper_count, film, bonus, volume, another
Idsimdb_id, tmdb_id, tvdb_id, uuid, crc32
Filecontainer (video / subtitle / archive / image / nfo / torrent / nzb), mimetype, size
Metadatalanguage, subtitle_language, country, type
Output schema

The result is fully typed — import GuessItResult for autocomplete and type-checking:

import { guessit, properties, GUESSIT_SCHEMA, type GuessItResult } from 'guessit-js';

const r: GuessItResult = guessit('The.Dark.Knight.2008.1080p.BluRay.x264-GRP.mkv'); r.source; // typed as the closed enum: "Blu-ray" | "Web" | "HDTV" | …

properties(); // { source: ["Blu-ray", "Web", …], type: ["episode","movie"], … } for all 56 properties GUESSIT_SCHEMA.source.enum; // the allowed values, programmatically

  • `properties()` — returns every emittable property with its possible values (value-constrained props list their full enum; free/computed props list [null]), mirroring Python guessit's properties().
  • `GUESSIT_SCHEMA` — the machine-readable schema (type, cardinality, enum) for all properties.
  • [`docs/output-schema.json`](docs/output-schema.json) — a JSON Schema (draft-07) of the output, for validating results or generating clients in other languages.

Regenerate the schema (after parsing changes) with npm run schema. A test (test/schema.test.ts) guarantees it never goes stale — every value emitted across the corpus must be in the schema.

REST API

Hosted demo (testing only):

curl "https://guessit.opensubtitles.com/api/guessit?filename=Movie.2024.1080p.mkv"

curl -X POST https://guessit.opensubtitles.com/api/guessit \ -H 'Content-Type: application/json' \ -d '{"filenames": ["A.2020.mkv", "B.S01E02.mkv"]}'

⚠️ For testing and evaluation only — never use in production. It runs on

a free Cloudflare Workers tier with a hard daily request cap and no uptime

guarantee; it can be throttled, rate-limited, or removed at any time. For

production, self-host (npx guessit-js --serve, one command) or better,

call the library in-process (~1.5 ms per parse, no HTTP at all).

Runs on Cloudflare Workers at the edge, CORS enabled, batch up to 100 filenames per POST, redeployed automatically with every release.

Self-hosted — no install needed beyond the package itself:

npx guessit-js --serve                 # port 3847 (or --serve 8080 / PORT env)

curl "http://localhost:3847/api/guessit?filename=Movie.2024.1080p.mkv" curl -X POST http://localhost:3847/api/guessit \ -H 'Content-Type: application/json' \ -d '{"filenames": ["A.2020.mkv", "B.S01E02.mkv"], "options": {"type": "episode"}}'

CLI parsing flags become server defaults: guessit-js --serve -t episode -L en. Every surface answers in Python guessit's notation; add ?output=codes (GET) or "options": {"output": "codes"} (POST) for guessit-js codes (Output notation). Any other output value is a 400. The repo also ships a fuller dev server (npm start) with the demo page, Swagger UI at /docs, and static WASM serving.

Batch contract, identical on all three HTTP surfaces (hosted worker,

冒頭だけを表示しています。続きはリポジトリで読めます