SHARE CODE SERVER UPLOAD HLS M3U8 tự làm server riêng trên website

Xin chào các bạn =))
Lại là mình đây, lâu lâu share tí cho có không khí vui vẻ.

1756911881600.png


Tính năng cơ bản ver free:
📌upload các file video phổ biến.
📌Lưu trữ file: ổ local/ ổ mount Drive/ FTP
📌Tự load các file video có sẵn storage vps, ftp,cloud hoặc file upload thông qua vps tự đưa vào panel admin tạo link hls hoặc lấy link gốc.
📌Convert HLS ra link domain riêng ko lo hàng ngày bị fix như Tiktok, lh3.
📌On off watermark file m3u8 hls
📌Phân trang sll, tìm kiếm, thông tin tệp, tạo user upload riêng.
📌Import link video public
Ai có nhu cầu bổ sung thêm tính năng inbox tele e nha: @lorenkidkubi

Bản Private Nhiều storage hơn, load nhanh hơn, embed vip, api, lựa server player,bypass google drive v.v.v.... update ver new 12T
Code Private VIP Full tải tại đây >

Changelog ver new
* Fix các lỗi trước đó Report
* Thêm up file sub
* Thêm API tạo thuyết minh AI từ TTSGG/ EventLab
* Thêm Bot thông báo hoạt động gửi đến Tele Admin
* Thêm Bypass link player Google Drive qua domain thứ 3. Ko limit
* Thêm Login Google OAuth
* Thêm Anti-leech domain qua player

Beta update log tháng 10
* Thay đổi embed player
* Băm segment mặc định là image
* Segment lấy path domain từ mysql change domain cực mạnh bypass block domain, giữ data khi thay domain.
* Tester fix các lỗi phiên bản trước nếu có rp
* Thay đổi giá source 200U(MR) thành 499U(MR)
* Thêm trả link data Multi Domain
Cảm ơn các bác đã ủng hộ ^^

1756685673481.png


Convert hls chỉ vài giây không logo, có logo thì render theo sức mạnh của vps.
1756685683969.png

PANEL: domain.com/login.php
admin/123456
Down code ver free: Click here
Sửa config tại file config.php

Bản Private Nhiều storage hơn, load nhanh hơn, embed vip, api, lựa server player,bypass google drive v.v.v.... update ver new 12T
Code Private VIP Full tải tại đây >

1756695059856.png


1756912152167.png


VPS Cấu hình tối thiểu
2CPU
2G Ram
OS UBUNTU / AAPANEL
Apache 2.4
Php 7.4
MariaDB 10.11
FFmpeg 6.1.1
max_execution_time >= 9000s
install gói yt-dlp

NGINX CONFIG:
# MIME types cho file .m3u8 và .ts
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}

server {
listen 80;
listen 443 ssl http2 ;
server_name yourdomain.com; # Sửa thành tên miền của bạn
root /www/wwwroot/yourdomain; # Sửa lại đường dẫn đến thư mục web chính
# Cho phép body lớn (upload file lớn)
client_max_body_size 2048M; # hoặc 4G, hoặc lớn hơn tuỳ nhu cầu
# (nếu dùng fastcgi, tăng timeout)
fastcgi_read_timeout 9000s;
# Đặt lại MIME types nếu nginx không nhận diện, hoặc để trong http {} cũng được
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
}

# CORS cho stream video (.m3u8/.ts)
location ~ \.(m3u8|ts)$ {
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, OPTIONS';
add_header Access-Control-Allow-Headers 'Range';
if ($request_method = 'OPTIONS') {
add_header Access-Control-Max-Age 1728000;
add_header Content-Type 'text/plain charset=UTF-8';
add_header Content-Length 0;
return 204;
}
try_files $uri =404;
}

# Error page chuyển hướng về blank.html
error_page 403 /blank.html;
error_page 404 /blank.html;
location = /blank.html {
internal;
}
}
Các bạn tự chỉnh các limit liên quan upload, timeout, process nếu có trên vps apache, nginx của bạn.

Update 01/09/2025 Ver Share Free
📌Chunk upload tự động chia nhỏ file upload 30MB, Bypass limit upload 100MB proxy Cloudflare.
📌Thêm Storage ver free
📌Thêm Api: domaincuaban/api.php?api_key=2jkKZgvTvcT3f9oc8x6fn53XWsJMsxl6(key mặc định, tự sửa lại trong file api.php)
📌Tối ưu load phân trang video sll
📌Bổ sung lấy link embed cho HLS
📌Tối ưu import link

Bản Private Nhiều storage hơn, load nhanh hơn, embed vip, api, lựa server player,bypass google drive v.v.v.... update ver new 12T
Code Private VIP Full tải tại đây >
 
Last edited:
Joined
Aug 18, 2025
Messages
1
Reactions
0
MR
0.012
Xin chào các bạn =))
Lại là mình đây, lâu lâu share tí cho có không khí vui vẻ.

Tính năng cơ bản:
📌upload các file video phổ biến.
📌Lưu trữ file: ổ local/ ổ mount Drive/ FTP
📌Tự load các file video có sẵn storage vps, ftp,cloud hoặc file upload thông qua vps tự đưa vào panel admin tạo link hls hoặc lấy link gốc.
📌Convert HLS ra link domain riêng ko lo hàng ngày bị fix như Tiktok, lh3.
📌On off watermark file m3u8 hls
📌Phân trang sll, tìm kiếm, thông tin tệp, tạo user upload riêng.
📌Import link từ Gg drive

Convert hls chỉ vài giây không logo, có logo thì render theo sức mạnh của vps.
View attachment 289747
View attachment 289835
View attachment 289836
PANEL: domain.com/login.php
admin/123456
Down code: Link

VPS Cấu hình tối thiểu
2CPU 1.5Ghz
2G Ram
OS UBUNTU / AAPANEL
Apache 2.4
Php 7.4
MariaDB 10.11
FFmpeg 6.1.1
max_execution_time >= 9000s

NGINX CONFIG:

Các bạn tự chỉnh các limit liên quan upload, timeout, process nếu có trên vps apache, nginx của bạn.
Cloudflare mặc định limit 100MB HTTP/S POST/PUT, các bạn tắt proxy đám mây vàng là không bị lỗi upload file nặng hoặc up thông qua scp ftp hoặc trực tiếp trên vps.
Phiên bản update sau mình sẽ bypass không bị limit 100MB khi bật proxy đám mây vàng Cloudflare.

Tính năng update phiên bản sau:
📌Import link từ faphouse, xvideos.
📌Thêm lưu trữ Amazon S3, Digitalocean Spaces, Google Cloud Bucket.
📌API
📌Chunk upload bypass proxy Cloudflare limit 100MB.
tự động chia nhỏ file thành 30MB lách hạn chế file lớn Cloudflare qua proxy.

Bạn nào cần cloud lưu trữ có thể donate nhận acc.
MS 365 E5 onedrive 1TB acctive office 5 thiết bị (Lifetime 100k)
GGdrive 60TB (Lifetime 900k)
Acc 2TB AI pay 1 năm (200k)
Hi
 

Announcements

Forum statistics

Threads
433,958
Messages
7,316,227
Members
185,270
Latest member
alienmoew
Back
Top Bottom