JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q66256F
  • License SEE LICENSE IN LICENSE.md

TPHIM - Ultimate Video Pipeline: Download, Transcode HLS, AI Subtitles, and Cloud Upload.

Package Exports

  • tphim
  • tphim/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tphim) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

💎 TXA NEON CORE 2030

TXA Neon Core là bộ công cụ tối thượng để xây dựng hệ thống VOD (Video on Demand) chuyên nghiệp. Hỗ trợ tự động hóa từ khâu tải video, transcode HLS đa chất lượng, tạo phụ đề AI và upload lên Cloud (S3/Tebi).

🚀 Tính năng vượt trội

  • Batch Pipeline: Xử lý hàng loạt phim chỉ với 1 dòng lệnh.
  • AI Subtitles: Tự động tạo phụ đề Tiếng Việt/Tiếng Anh bằng công cụ AI (Whisper) chạy offline.
  • Neon Hybrid Player: Trình phát V5 hỗ trợ tận răng cho cả Desktop và Mobile với cử chỉ vuốt cực xịn.
  • Cloud Ready: Upload trực tiếp lên Tebi.io hoặc bất kỳ S3-compatible storage nào.

🛠️ Hướng dẫn cài đặt (VPS Ubuntu / Google Cloud / Linux)

Để chạy được bộ công cụ này trên Linux/VPS, bạn cần cài đặt các "vũ khí" sau:

1. Cài đặt Node.js

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs

2. Cài đặt FFmpeg & Python

sudo apt update
sudo apt install -y ffmpeg python3 python3-pip

3. Cài đặt yt-dlp (Để tải video)

sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
sudo chmod a+rx /usr/local/bin/yt-dlp

4. Cài đặt thư viện AI (faster-whisper)

pip3 install faster-whisper

📱 Hướng dẫn trên Android (Termux)

Bạn hoàn toàn có thể chạy Pipeline này ngay trên điện thoại:

  1. Cài đặt môi trường:
    pkg update && pkg upgrade
    pkg install nodejs ffmpeg python python-pip wget
  2. Cài đặt yt-dlp:
    pip install yt-dlp
  3. Cài đặt thư viện AI: (Lưu ý: faster-whisper trên Termux có thể cần cấu hình thêm tùy dòng máy Android).

📦 Sử dụng như một Thư viện (Library)

Cài đặt vào dự án của bạn:

npm install txa-neon-core

Trong code Node.js:

import { runPipeline } from 'txa-neon-core';

await runPipeline({
  input: "https://link-phim.com/phim.m3u8",
  slug: "phim-hay-2030",
  title: "Phim Hay 2030",
  langArg: "both"
});

🎬 Tích hợp TXAPlayer vào Website

Link trực tiếp mã nguồn trình phát: node_modules/txa-neon-core/TXAPlayer.js

<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<script src="path/to/TXAPlayer.js"></script>

<div id="player-container"></div>

<script>
  new TXAPlayer("player-container", "https://s3.tebi.io/.../master.m3u8");
</script>

⌨️ Sử dụng CLI (Terminal)

Sau khi cài đặt gói globally (npm install -g), bạn có thể dùng lệnh:

ntxa "titile phim"
# Hoặc chạy batch mode
ntxa

Sản phẩm được phát triển bởi Antigravity AI Engine v2030. 🍿🎬