ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว เข้าสู่ระบบ

guessit-js

✓ opensubtitles.com

โดย opensubtitlesรุ่น 5.3.2i★ 14iบนเครื่องหรือคลาวด์เว็บทางการ ↗

วิธีติดตั้ง

ใช้ทำอะไรได้

guessit-js เป็นไลบรารีสำหรับแยกข้อมูลจากชื่อไฟล์หนังและซีรีส์ เช่น ชื่อเรื่อง ปี ซีซัน ตอน ตัวแปลงรหัสวิดีโอ ภาษา และกลุ่มผู้ปล่อยไฟล์

แปลอัตโนมัติจากคำอธิบายของผู้ทำ · ทีมยังไม่ได้ตรวจ

  • ต่อแบบ คลาวด์หรือติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด เกม กีฬา อาหาร และการเรียน
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Parse movie and TV filenames: title, year, season, episode, codecs, languages, release group.

ทำไมอยู่อันดับนี้

ตัวนี้อยู่ในแท็บ "แอปที่ต่อกับ AI" ซึ่งเรียงโดยไม่ใช้ดาว ตามลำดับเหล่านี้

1. อยู่ในสมุด connector ของ 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 แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรัน

คัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน

ผลตรวจผ่าน 5/5 · สิ่งที่คุณถามผ่านเซิร์ฟเวอร์ของผู้ทำ (guessit.opensubtitles.com) · ✓ ตรวจคำสั่งแล้ว 22 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม · ตั้งครั้งเดียวที่ claude.ai หรือแอปบนคอม แล้วใช้ในแชตได้ · บัญชีฟรีเพิ่มได้ 1 ตัว · แผน Team/Enterprise ให้เจ้าของ (Owner) เป็นคนเพิ่ม

  1. กดปุ่มนี้ Claude จะเปิดหน้าเพิ่ม connector ที่กรอกไว้ให้แล้ว

    เพิ่ม guessit-js ใน Claude ↗

    ชื่อกับที่อยู่ถูกกรอกให้แล้ว ตรวจแล้วกด Add · ถ้ายังไม่ได้ล็อกอิน Claude จะให้ล็อกอินก่อน

    กด Continue ผ่านหน้าตรวจการล็อกอินที่ Claude ตรวจเจอ · หัวข้อ 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 บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ guessit-js หรือมีชื่อเครื่องมือของ guessit-js ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ ChatGPT ได้ ขึ้นกับแผน

MCP แบบเต็ม: ChatGPT Business, Enterprise หรือ Edu บนเว็บ · Pro: ต่อได้ด้วยสิทธิ์อ่านและดึงข้อมูล เครื่องมือที่แก้ข้อมูลอาจใช้ไม่ได้ · Plus: เอกสารยังไม่ยืนยัน ถ้าเห็นเมนูเพิ่ม MCP แบบกำหนดเองในหน้าปลั๊กอิน ลองตามขั้นตอนได้ · ใช้บนเว็บเท่านั้น

  1. เปิดหน้าเพิ่ม MCP ของ ChatGPT บนเว็บ

    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 บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า ChatGPT บอกว่ากำลังใช้ guessit-js หรือมีชื่อเครื่องมือของ guessit-js ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ OpenAI เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Claude Code ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  2. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --transport http --scope user guessit-js https://guessit.opensubtitles.com/mcp
  3. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น guessit-js ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  4. ลองเลย

    ใช้ guessit-js บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ guessit-js หรือมีชื่อเครื่องมือของ guessit-js ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  2. เปิดแชตของ AI ใน Cursor โหมด Agent

  3. ลองเลย

    ใช้ guessit-js บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ guessit-js หรือมีชื่อเครื่องมือของ guessit-js ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ · ประมาณ 2 นาที

ไม่ต้องใช้คีย์ ไม่ต้องลงโปรแกรม

  1. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  2. เปิดแชตของ AI ใน VS Code โหมด Agent

  3. ลองเลย

    ใช้ guessit-js บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ guessit-js หรือมีชื่อเครื่องมือของ guessit-js ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ที่อยู่สำหรับโปรแกรมที่ต่อผ่านเว็บ

ที่อยู่https://guessit.opensubtitles.com/mcp

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ guessit-js อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ต่อผ่านเว็บ

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"
      ]
    }
  }
}

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ชื่อใน registry
com.opensubtitles/guessit-js
ดาวน์โหลดต่อสัปดาห์i
1,373/สัปดาห์
โดเมนที่ยืนยัน
✓ opensubtitles.com
licensei
LGPL-3.0
การเชื่อมต่อ
บนเครื่องหรือคลาวด์
รุ่นล่าสุดi
5.3.2
ส่งเข้า registryi
22 พ.ย. 2569
แก้โค้ดล่าสุดi
22 พ.ย. 2569
ตรวจล่าสุดเมื่อ
23 พ.ย. 2569
ผู้ทำ
opensubtitles
แพ็กเกจ
npm: guessit-js
mcpb: …/guessit-js.mcpb
เว็บผู้ทำ
opensubtitles.github.io
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ต่อผ่านคลาวด์ได้ใน

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

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

ชื่อและคำอธิบายเครื่องมือตามที่ server ตอบมาเมื่อ 23 พ.ย. 2569 ผู้ทำเป็นคนเขียน ไม่ใช่เรา แสดงเป็นข้อความล้วน

  • 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

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 23 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันโดเมน opensubtitles.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด เมื่อวาน

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ LGPL-3.0

  • ✓ ผ่าน

    endpoint ตอบ

    ตอบกลับใน 51 ms (HTTP 200)

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ไม่ต้องล็อกอิน

  • ✓ ผ่าน

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    อ่านคำอธิบายเครื่องมือ 3 ตัวแล้ว ไม่พบคำสั่งแอบแฝงถึง AI

ช่องโหว่ที่เปิดเผยแล้ว (OSV.dev)

ยังไม่ได้ตรวจ

เราตรวจอะไรบ้าง → · JSON

ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README

ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้

[![แนะนำบน PopNx MCP](https://mcp.popnx.com/badge/opensubtitles-guessit-js.svg?lang=th)](https://mcp.popnx.com/th/servers/opensubtitles-guessit-js)

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบเพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบเพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด เกม กีฬา อาหาร และการเรียนi

  • ดาวมากกว่า 97% ของอีก 1751 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 96% ของอีก 1751 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 99% ของอีก 1751 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

guessit-js ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 5 จาก 5 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (5.3.2) เข้า registry เมื่อวาน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT บนเว็บ (แบบเต็มในแผน Business ขึ้นไป · Pro แบบอ่านอย่างเดียว)

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี LearnHouse, Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft

ตัวอื่นที่ทำงานคล้ายกัน

หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

LearnHouse

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

โดย learnhouseใช้กันมาก★ 2.5Kอัปเดต 4 วันที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · learnhouse.app

WilmAI

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

โดย aikarjalกำลังโต↓ 1.4K/สัปดาห์★ 89 ดาวรวมทั้งรีโปอัปเดต 14 วันที่ผ่านมา

รันบนเครื่อง✓ เจ้าของบริการ · wilm.ai

Lumify Sports Intelligence

Schedules, scores, odds, splits & explainable AI bet confidence — 8+ sports, free instant key.

โดย lumifyaiเริ่มต้น★ 15อัปเดต 4 เดือนที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · lumify.ai

Savecraft

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

โดย joshsymondsเริ่มต้น★ 13อัปเดต 7 เดือนที่ผ่านมา

รันบนคลาวด์repo ถูกเก็บถาวร✓ เจ้าของบริการ · 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

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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,

ตัดมาแค่ช่วงต้น อ่านต่อใน repo