• Stars
    star
    304
  • Rank 136,366 (Top 3 %)
  • Language
    TypeScript
  • License
    GNU General Publi...
  • Created over 1 year ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🐟 一个漂亮得不像实力派的跨平台视频播放器

🐟 飞鱼

一个漂亮得不像实力派的在线视频播放器 ✨

✨ 特性

  • 🌛 |亮暗色模式
  • 💅 |极简,高颜值
  • ✅ |开源免费无广告
  • 📱 |适配 PC、移动端
  • 🔍 |支持多源聚合搜索
  • 📃 |支持导入导出订阅配置
  • 📶 |支持 PWA ,可离线访问
  • 🕷️ |内置请求代理,无惧跨域
  • 💎 |使用去中心化存储(IPFS)

🔥 预览

⚙️ 配置

配置示例(JSON)

{
  "feiyu": "config",
  "httpProxy": "https://xxx.xxx.com/release/proxy",
  "movieSites": [
    {
      "key": "资源站1",
      "api": "https://api1.xxx.com/api.php/provide/vod/at/xml"
    },
    {
      "key": "资源站2",
      "api": "https://api2.xxx.com/api.php/provide/vod/at/xml"
    }
  ],
  "ipfs": {
    "gateway": "https://gateway.pinata.cloud/ipfs/{{cid}}",
    "token": "xxxxxxxx"
  },
  "randomEmojis": ["🐮", "🐰"],
  "recommendMovies": ["请回答1988", "东京爱情故事"],
  "hotMovies": [
    {
      "id": "26302614",
      "isNew": false,
      "title": "请回答1988",
      "cover": "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2272563445.jpg",
      "rate": "9.7"
    },
    {
      "id": "36036719",
      "isNew": false,
      "title": "快乐再出发 第二季",
      "cover": "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2885581294.jpg",
      "rate": "9.5"
    }
  ]
}

参数说明

请求代理 (httpProxy)

为了使飞鱼网页正常运转,你可能需要自行部署或使用第三方请求代理,详见飞鱼 Proxy

搜索源 (movieSites)

飞鱼理论上支持 苹果 CMS飞飞 CMS 等搜索 API,请自行百度了解更多。

注意:要想正常使用飞鱼,你可能需要先配置可用的「搜索源」。搜索源之于飞鱼,就好比光盘之于影碟机,磁带之于播放器。飞鱼只是一个在线视频播放器,没有内置任何数据。

IPFS(可选)

IPFS(InterPlanetary File System)是一种点对点分布式文件存储和传输系统,旨在创建一个更加开放、高效、安全的网络,使用户可以更轻松地共享和访问数据。飞鱼使用 IPFS 作为去中心化存储,使数据的存储和传输更加安全、私密和高效。

Gateway

为了访问 IPFS 中的数据,你需要先配置 IPFS Gateway,常见的 IPFS 公共网关有 ipfs.io、dweb.link 等,你可以在此处查看更多信息:https://ipfs.github.io/public-gateway-checker/

NFT.strorage

NFT.strorage 提供免费的去中心化存储服务,同时支持 IPFSFilecoin。飞鱼内部默认使用 NFT.strorage 向 IPFS 中写入数据。 当在导出或分享数据时,你需要先在 NFT.strorage注册账号并申请 API Key,然后到飞鱼设置页面填写 API Key。

⚡️ 部署

🐟 飞鱼主项目

# 切换到飞鱼主项目
cd packages/feiyu

# 安装依赖,打包项目(构建产物在 dist 目录下)
yarn && yarn build

🕷️ 飞鱼 Proxy

为了解决 Web 环境下,访问第三方资源跨域的问题,飞鱼内置了一个 Proxy 云函数,通过服务端转发网络请求。你可以将其部署至 腾讯云函数(付费)或 Vercel Serverless Functions(免费)。

SCF 👉 feiyu-proxy

# 安装/更新 SCF 最新版本
yarn global add serverless-cloud-framework@latest

# 安装依赖,部署项目
yarn && yarn deploy

Vercel 👉 feiyu-proxy-vercel

# 安装/更新 Vercel 最新版本
yarn global add vercel@latest

# 安装依赖,部署项目
yarn && yarn deploy

🔧 自定义配置

你可以在 packages/feiyu/src/data/default.ts ,修改飞鱼内置的默认配置,如代理地址,搜索源等。

配置参数示例如下:

export const kDefaultConfig = {
  feiyu: "config",
  /**
   * 代理请求接口(必填)
   */
  httpProxy: "https://xxx.xxx.com/release/proxy",
  /**
   * 资源站(必填)
   */
  movieSites: [
    {
      key: "资源站1",
      api: "https://api1.xxx.com/api.php/provide/vod/at/xml",
    },
    {
      key: "资源站2",
      api: "https://api2.xxx.com/api.php/provide/vod/at/xml",
    },
  ],
  /**
   * IPFS 配置(用于生成分享链接,导入导出配置文件)
   */
  ipfs: {
    gateway: "https://gateway.pinata.cloud/ipfs/{{cid}}",
    token: "xxxxxxxx", // 🔥 请到 https://nft.storage/ 自己申请 API key(免费)
  },
  /**
   * 随机表情列表
   */
  randomEmojis: ["🐰"],
  /**
   * 推荐电影列表
   */
  recommendMovies: ["请回答1988"],
  /**
   * 热门电影榜单
   */
  hotMovies: [
    {
      id: "26302614",
      isNew: false,
      title: "请回答1988",
      cover: "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2272563445.jpg",
      rate: "9.7",
    },
  ],
  // 也可以是返回JSON格式数据的接口,方便获取最新的热门榜单
  // hotMovies: 'https://xxx.xx/hotMovies.json',
};

💻 其他

本项目基于飞鱼 Flutter 版(iOS/Android),进一步扩展支持 Web 端和桌面端。

🚨 免责声明

本项目(飞鱼)仅供内部学习和交流使用,请勿用于商业用途。请在遵守当地法律的前提下使用本项目。本项目没有内置任何数据,用户使用本项目和自行维护的内容是在自己的意愿和责任下进行的,本项目对用户的行为不承担任何法律责任。

More Repositories

1

mi-gpt

🏠 将小爱音箱接入 ChatGPT 和豆包,改造成你的专属语音助手。
TypeScript
5,187
star
2

watermelon

🍉 Flutter版合成大西瓜
Dart
127
star
3

feiyu_flutter

A flutter video player that's too pretty to be a powerhouse. 一个漂亮得不像实力派的flutter视频播放器。
Dart
77
star
4

custom_nested_scroll_view

A Flutter NestedScrollView that supports outer scroller to top overscroll.
Dart
39
star
5

nested_scroll_view_plus

📜 An enhanced NestedScrollView with support for overscrolling for both the inner and outer scrollviews.
Dart
24
star
6

fallDown

FallDown is a game developed using Flutter+Flame+Box2D. 一个开源的 Flame 小游戏。
Dart
18
star
7

chuanying

Chuanying - what you see is what you get. 传影--所见即所得
Dart
17
star
8

flutter_neumorphic_calculator

A new neumorphic style calculator made by flutter. 一个新拟态风格的计算器
Dart
15
star
9

scroll_master

A Flutter example showcasing efficient resolution of scrolling conflicts.
Dart
14
star
10

wechat-gpt-web

🤖️ 一个仿微信聊天界面的网页版 ChatGPT 聊天机器人
TypeScript
14
star
11

Design-Patterns-Dart

23 Design Patterns in dart and 6 Design Principles. Dart中的23种设计模式和6大设计原则
Dart
12
star
12

reactflow-auto-layout

A demo showcasing the auto layout and Figma-like edge editing capabilities of ReactFlow.
TypeScript
11
star
13

Flutter_Amap_Marker

Using the Flutter Widget as amap markers. 使用 Flutter Widget 作为高德地图覆盖物
Java
10
star
14

auto_hide_keyboard

Automatically hides the keyboard in Flutter when tapping outside the TextField.
Dart
8
star
15

killer_flutter

一个通用教务系统选课助手,可以实现一键自动选课。
Dart
8
star
16

all-seeing-eye

👀 All-Seeing Eye: Arbitrary File Read Vulnerability in Chrome Versions Prior to 116
TypeScript
6
star
17

mi-gpt-tts

🔊 适用于 MiGPT 的 TTS 模块,支持火山引擎 21 款免费音色。
TypeScript
6
star
18

flip

一个有趣的小工具,可以把英文句子倒过来显示,示例:I Love China. → ˙ɐuıɥↃ ǝʌo⅂ I
Lua
4
star
19

xsta

⚡ An ultra-lightweight (<200 lines) React state management solution with zero learning curve and migration costs.
TypeScript
4
star
20

qfnuessay

A simple and elegant LaTeX template for a course paper (science) in Qufu Normal University. 一份符合曲阜师范大学本科生课程论文(理科)格式要求的 LaTeX 模板
TeX
3
star
21

NFT-Chocolate

🍬 NFT Chocolate offers a sweet, customizable, and secure NFT experience that is completely free to mint and own.
TypeScript
3
star
22

chatgpt-bot

A Typescript wrapper for ChatGPT client apis. For learning purposes only.
TypeScript
3
star
23

qz_killer

强智教务系统验证码识别,通过简单几步即可达到99.9%的识别率,理论上也支持其他可分割字符、无旋转变形的简单验证码的识别
Python
2
star
24

x-coze

帮你一键美化 Coze,让 Bot 调试更丝滑。
TypeScript
2
star
25

idootop

1
star
26

NFT-Chocolate-Contract

NFT chocolate smart contracts
TypeScript
1
star
27

qfnuthesis

A simple and elegant LaTeX template for an undergraduate thesis (science) in Qufu Normal University. 一份符合曲阜师范大学本科生毕业论文(理科)格式要求的 LaTeX 模板
TeX
1
star
28

http-x-inspector

HTTP X-Inspector is a diagnostic tool that captures and displays detailed information of raw HTTP requests, enabling developers to quickly identify and resolve issues with headers, methods, payloads, and more.
TypeScript
1
star
29

next-file-loader

A Webpack file loader that simplifies the import of video, audio, and other assets in Next.js applications.
TypeScript
1
star
30

x-proxy

Easily create a dynamic reverse proxy for any endpoint with just a simple URL prefix addition.
Dockerfile
1
star
31

armv7-prisma-engine

Building Prisma Engine for ARMv7
Dockerfile
1
star
32

tauri-plugin-cors-fetch

Enabling Cross-Origin Resource Sharing (CORS) for Fetch Requests within Tauri applications.
Rust
1
star
33

mi-note-export

一键批量备份小米云服务云便签(包含图片,录音等文件)
TypeScript
1
star
34

mint

薄荷的花语是:永不消逝的爱 ❤️
MDX
1
star
35

node-typescript-template

A tiny node typescript project template, includes eslint, dotenv-flow etc.
TypeScript
1
star
36

crypto-heatmap

A simple crypto heatmap widget
HTML
1
star
37

trash_sorting

A rubbish sorting application made with flutter + tflite.
Dart
1
star