# TOMATOX Player **Repository Path**: yubovip/tomatox ## Basic Information - **Project Name**: TOMATOX Player - **Description**: 一个精致的在线视频播放器,日剧,韩剧,美剧一网打尽!PC端全平台支持(Windows、MacOS、Linux),移动端正在规划中 - **Primary Language**: TypeScript - **License**: WTFPL - **Default Branch**: master - **Homepage**: https://github.com/yanjiaxuan/TOMATOX - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2021-06-20 - **Last Updated**: 2021-07-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![TOMATOX](docs/img/logo.png)](https://github.com/yanjiaxuan/TOMATOX) # TOMATOX github地址: https://github.com/yanjiaxuan/TOMATOX ### A Online video player with TypeScript, React, and Electron. - 🎞 全网在线VIP视频解析 - 🎨 贯彻精致简洁的设计风格 - 👑 PC全平台支持(Windows, Linux, MacOS) - ✨ 新功能陆续上线中... ### About Project [![React](docs/img/react.png)](https://reactjs.org/) [![Webpack](docs/img/webpack.png)](https://webpack.js.org/) [![TypeScript](docs/img/ts.png)](https://www.typescriptlang.org/) [![Electron](docs/img/electron.png)](https://electronjs.org/) [Electron](https://electronjs.org/) application boilerplate based on [React](https://reactjs.org/) and [Webpack](https://webpack.js.org/) for rapid application development using [TypeScript](https://www.typescriptlang.org/). ## Screenshot ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-1.png) ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-2.png) ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-3.png) ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-4.png) ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-5.png) ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-6.png) ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-7.png) ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-8.png) ![image](https://gitee.com/yanjiaxuan/tomatox/raw/master/docs/product/TOMATOX-9.png) ## Install Clone the repository with Git: ```bash git clone --depth=1 git@github.com:yanjiaxuan/TOMATOX.git ``` And then install the dependencies: ```bash cd npm install ``` ## Usage Both processes have to be started **simultaneously** in different console tabs: ```bash npm run start-renderer-dev npm run start-main-dev ``` This will start the application with hot-reload so you can instantly start developing your application. You can also run do the following to start both in a single process: ```bash npm run start-dev ``` ## Packaging We use [Electron builder](https://www.electron.build/) to build and package the application. By default you can run the following to package for your current platform: ```bash npm run dist ``` This will create a installer for your platform in the `releases` folder. You can make builds for specific platforms (or multiple platforms) by using the options found [here](https://www.electron.build/cli). E.g. building for all platforms (Windows, Mac, Linux): ```bash npm run dist -- -mwl ``` ## Husky and Prettier This project comes with both Husky and Prettier setup to ensure a consistent code style. To change the code style, you can change the configuration in `.prettierrc`. In case you want to get rid of this, you can removing the following from `package.json`: 1. Remove `precommit` from the `scripts` section 1. Remove the `lint-staged` section 1. Remove `lint-staged`, `prettier`, `eslint-config-prettier`, and `husky` from the `devDependencies` Also remove all mentions of Prettier from the `extends` section in `.eslintrc.json`. ### 版权声明 本人发布的所有资源或软件均来自网络,与本人没有任何关系,只能作为私下交流、学习、研究之用,版权归原作者及原软件公司所有。 本人发布的所有资源或软件请在下载后24小时内自行删除。如果您喜欢这个资源或软件,请联系原作者或原软件公司购买正版。与本人无关! 本人仅仅提供一个私下交流、学习、研究的环境,将不对任何资源或软件负法律责任! 任何涉及商业盈利性目的的单位或个人,均不得使用本人发布的资源或软件,否则产生的一切后果将由使用者自己承担! ## License MIT © [yanjiaxuan](https://github.com/yanjiaxuan)