{"id":51353749,"url":"https://github.com/xjanova/hivedownload","last_synced_at":"2026-07-02T18:01:27.060Z","repository":{"id":368663482,"uuid":"1286128430","full_name":"xjanova/hivedownload","owner":"xjanova","description":"Hive Download — Smart Media Downloader. WPF/.NET 9 app to browse, download, stream \u0026 play Chinese short-drama series (rongyok.com). MVVM + SQLite, resumable downloads, built-in player, RGB theme.","archived":false,"fork":false,"pushed_at":"2026-07-01T16:59:21.000Z","size":896,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-01T17:26:02.367Z","etag":null,"topics":["csharp","dotnet","media-player","mvvm","sqlite","video-downloader","wpf"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xjanova.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-01T13:24:07.000Z","updated_at":"2026-07-01T16:59:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/xjanova/hivedownload","commit_stats":null,"previous_names":["xjanova/hivedownload"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/xjanova/hivedownload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjanova%2Fhivedownload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjanova%2Fhivedownload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjanova%2Fhivedownload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjanova%2Fhivedownload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xjanova","download_url":"https://codeload.github.com/xjanova/hivedownload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjanova%2Fhivedownload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35057450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","media-player","mvvm","sqlite","video-downloader","wpf"],"created_at":"2026-07-02T18:01:02.552Z","updated_at":"2026-07-02T18:01:27.045Z","avatar_url":"https://github.com/xjanova.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/xjanova/hivedownload/main/logo.png\" alt=\"Hive Download\" width=\"150\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eHive Download\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cb\u003eSmart Media Downloader\u003c/b\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003eโปรแกรมเดสก์ท็อปสำหรับ \u003cb\u003eเรียกดู · ดาวน์โหลด · สตรีม · จัดระเบียบ · เปิดดู\u003c/b\u003e ซีรี่ส์/หนังสั้นจีนจาก \u003ca href=\"https://rongyok.com\"\u003erongyok.com (โรงหยก)\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\".NET 9\" src=\"https://img.shields.io/badge/.NET-9.0-512BD4?logo=dotnet\u0026logoColor=white\" /\u003e\n  \u003cimg alt=\"WPF\" src=\"https://img.shields.io/badge/WPF-Windows%2010%2F11-0078D6?logo=windows\u0026logoColor=white\" /\u003e\n  \u003cimg alt=\"SQLite\" src=\"https://img.shields.io/badge/SQLite-Dapper-003B57?logo=sqlite\u0026logoColor=white\" /\u003e\n  \u003cimg alt=\"MVVM\" src=\"https://img.shields.io/badge/MVVM-CommunityToolkit-6E56CF\" /\u003e\n  \u003cimg alt=\"license\" src=\"https://img.shields.io/badge/use-personal%20%2F%20educational-lightgrey\" /\u003e\n\u003c/p\u003e\n\n---\n\n\u003e ⚠️ **สำหรับการเรียนรู้และรับชมส่วนตัว (offline) เท่านั้น** — ผู้ใช้มีหน้าที่ปฏิบัติตามกฎหมายลิขสิทธิ์และเงื่อนไขการให้บริการของเว็บไซต์ต้นทาง โปรดเคารพผู้สร้างผลงาน\n\u003e\n\u003e *For personal / educational use only. Respect copyright and the source site's Terms of Service.*\n\n\u003cbr/\u003e\n\n## ✨ ฟีเจอร์\n\n- **🗂️ คลังซีรี่ส์** — ดึงรายการทั้งหมด (~2,300+ เรื่อง) มาแสดงเป็นตารางปก ค้นหา · กรอง (พากย์ไทย/ซับไทย) · จัดเรียง (ล่าสุด/ยอดนิยม/ชื่อเรื่อง)\n- **🔍 สแกนหาของใหม่** — ปุ่มเดียวเทียบกับฐานข้อมูล แจ้ง **ซีรี่ส์ใหม่** + **ตอนใหม่** (เรื่องที่เคยโหลด) กดโหลดได้ทันที\n- **⬇️ ดาวน์โหลดหลายไฟล์พร้อมกัน** — เลือกทีละตอน / เฉพาะที่ยังไม่มี / ทั้งเรื่อง · ปรับจำนวนพร้อมกัน 1–8 · แถบความคืบหน้า/ความเร็ว · **หยุด–เล่นต่อ (resume)** · ลองใหม่เมื่อพลาด\n- **📁 จัดระเบียบอัตโนมัติ** — แยกโฟลเดอร์ตามเรื่อง `ชื่อเรื่อง (พากย์ไทย)/ชื่อ - EP01.mp4` พร้อม `poster.jpg` และ **สารบัญ `index.html`**\n- **🎬 เครื่องเล่นในตัว**\n  - เล่นต่อเนื่องตามลำดับตอนเป๊ะ ๆ (รอโหลดตอนถัดไปให้ถ้าจำเป็น)\n  - **โหมดสตรีม** — ดูได้เลยไม่ต้องเก็บไฟล์ · **โหมดโหลดล่วงหน้า (prefetch)**\n  - แตะตอนที่ยังไม่มี = โหลดทันที · ดับเบิลคลิก = สตรีมทันที\n  - คอนโทรล **auto-hide** ขณะดู\n- **🖼️ พื้นหลังพรีวิวแบบ Netflix** — หน้ารายละเอียดเล่น EP.1 (โหลดไว้ก่อน) วนลูป มีเสียง วิดีโอตั้งคมชัดกลางจอ + พื้นหลังเบลอสลัว ขอบเฟดเนียน\n- **🎨 ธีม RGB นีออน** — ไฟสีรุ้งไล่หมุนวนบนพื้นดำ, toggle switch, สกรอลบาร์บางทันสมัย\n- **💾 SQLite** — จำรายการ · สถานะการโหลด · การตั้งค่า\n\n\u003cbr/\u003e\n\n## 🚀 เริ่มใช้งาน\n\n**สิ่งที่ต้องมี:** Windows 10/11 · [.NET 9 SDK](https://dotnet.microsoft.com/download/dotnet/9.0) · Visual Studio 2022 (17.12+) / 2026 หรือ VS Code / Rider\n\n```bash\ngit clone https://github.com/xjanova/hivedownload.git\ncd hivedownload\n\n# build \u0026 run\ndotnet run --project src/RongYokDownloader\n```\n\nหรือดับเบิลคลิก `RongYokDownloader.sln` แล้วกด **F5** ใน Visual Studio\n\n\u003e ครั้งแรกที่เปิด แท็บ **คลังซีรี่ส์** จะดึงรายการจากเว็บอัตโนมัติ\n\n\u003cbr/\u003e\n\n## 🧩 โครงสร้างโปรเจกต์ (MVVM)\n\n```\nsrc/RongYokDownloader/\n├─ Models/        Series, Episode, ScanResult, enums\n├─ Data/          Db.cs            → SQLite (Dapper): schema + CRUD\n├─ Services/\n│   ├─ RongYokClient.cs   → ตัวคุยกับเว็บ (3 endpoint)\n│   ├─ JsonExtract.cs     → ดึง JSON ที่ฝังในหน้าเว็บ\n│   ├─ DownloadManager.cs → คิว + ดาวน์โหลดพร้อมกัน + resume\n│   ├─ FileNamer.cs · TocGenerator.cs · SettingsStore.cs\n├─ ViewModels/    Catalog / SeriesDetail / Downloads / Library / Player / Settings / Main / WhatsNew\n├─ Views/         ไฟล์ .xaml + code-behind ของแต่ละหน้า\n├─ Converters/    UrlToImage · ImageLoader · สถานะ ฯลฯ\n└─ Themes/        Theme.xaml — ธีม RGB นีออน + toggle/scrollbar\n```\n\n**ที่เก็บข้อมูล:** `%LocalAppData%\\RongYokDownloader\\rongyok.db`\n**ที่เก็บวิดีโอ (เริ่มต้น):** `%UserProfile%\\Videos\\RongYok` (เปลี่ยนได้ในหน้าตั้งค่า)\n\n\u003cbr/\u003e\n\n## 🔌 เว็บทำงานอย่างไร\n\n| จุดประสงค์ | Endpoint | ผลลัพธ์ |\n|---|---|---|\n| รายการทั้งหมด | `GET /category?category=all` | JS ฝัง `seriesData = [...]` (id, title, description, poster) |\n| รายชื่อตอน | `GET /watch/?series_id={id}` | `episodes_count` + `episodes[]` |\n| ลิงก์วิดีโอ | `GET /watch/get_video.php?series_id={id}\u0026ep={n}` | `{\"ok\":true,\"video_url\":\"…mp4…\"}` |\n\nไฟล์วิดีโอเป็น **MP4** โฮสต์บน CDN (ลิงก์เซ็นชื่อ หมดอายุ ~24 ชม. โปรแกรมจึงขอลิงก์ใหม่ทุกครั้งที่เริ่มโหลด) — ไม่มีแคปช่า ไม่มี DRM\n\n\u003cbr/\u003e\n\n## 🎞️ หมายเหตุเรื่องการเล่นไฟล์\n\nเครื่องเล่นในตัวใช้ WPF `MediaElement` ซึ่งพึ่งตัวถอดรหัสของ Windows:\n- **H.264/AAC** เล่นได้ทันที\n- **HEVC/H.265** อาจต้องติดตั้ง *HEVC Video Extensions* จาก Microsoft Store\n- ต้องการรองรับทุกโคเดก + สตรีมลื่นทุกไฟล์ → เปลี่ยนไปใช้ **LibVLCSharp.WPF** ได้\n\n\u003cbr/\u003e\n\n## 🛠️ Tech Stack\n\n`.NET 9` · `WPF` · `CommunityToolkit.Mvvm` · `Microsoft.Data.Sqlite` + `Dapper` · `HttpClient`\n\n\u003cbr/\u003e\n\n## ⚖️ Disclaimer\n\nโปรแกรมนี้จัดทำเพื่อการศึกษาและการรับชมส่วนตัว (offline) เท่านั้น ผู้พัฒนาไม่ได้มีส่วนเกี่ยวข้องกับ rongyok.com และไม่รับผิดชอบต่อการนำไปใช้ผิดวัตถุประสงค์ ผู้ใช้ต้องรับผิดชอบการปฏิบัติตามกฎหมายลิขสิทธิ์และเงื่อนไขการให้บริการของเว็บไซต์ต้นทางด้วยตนเอง\n\n*This project is for educational and personal (offline) use only. It is not affiliated with rongyok.com. Users are solely responsible for complying with copyright law and the source site's Terms of Service.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjanova%2Fhivedownload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjanova%2Fhivedownload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjanova%2Fhivedownload/lists"}