<h1 align="center">
Douyin-Vue
</h1>
<p align="center">
<a href="docs/README.en.md">English</a> | <a href="docs/README.es.md">Spanish</a> | <a href="docs/README.de.md">German</a> |
<a href="docs/README.fr.md">French</a> | <a href="README.md">简体中文</a> | <a href="docs/README.ja.md">日本語</a>
</p>
<p align="center">
<a href="https://github.com/zyronon/douyin/blob/master/LICENSE"><img src="https://img.shields.io/github/license/zyronon/douyin" alt="License"></a>
<a><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"/></a>
<a><img src="https://img.shields.io/badge/Powered%20by-Vue-blue"/></a>
</p>
`douyin-vue` 是一个模仿 `抖音|TikTok` 的移动端短视频项目。`Vue` 在移动端的"最佳实践",媲美原生 `App` 丝滑流畅的使用体验。使用了最新的 `Vue` 技术栈,基于 [`Vue3`](https://cn.vuejs.org/)、[`Vite5`](https://cn.vitejs.dev/)
、[`Pinia`](https://pinia.vuejs.org/)实现。数据保存在项目本地,通过 [`axios-mock-adapter`](https://github.com/ctimmerm/axios-mock-adapter) 库拦截Api 并返回本地json数据,模拟真实后端请求
<div>
<img width="150px" src='docs/imgs/1.gif' />
<img width="150px" src='docs/imgs/2.gif' />
<img width="150px" src='docs/imgs/3.gif' />
<img width="150px" src='docs/imgs/4.gif' />
<img width="150px" src='docs/imgs/5.gif' />
</div>
## 在线访问
[//]: # (Gitee Pages: [https://zyronon.gitee.io/douyin/](https://zyronon.gitee.io/douyin/)(中国地区推荐访问这个地址) )
[//]: # (注意:Gitee Pages现在无法更新,代码不是最新的。如果你能翻墙推荐访问下面地址 )
Github Pages: [https://dy.ttentau.top/](https://dy.ttentau.top/)
[//]: # (Gitee pages: [https://dy.ttentau.top/](https://dy.ttentau.top/) (中国地区推荐访问这个地址) )
[//]: # (Github pages: [https://zyronon.github.io/douyin/](https://zyronon.github.io/douyin/) )
[//]: # (Netlify: [https://douyins.netlify.app/](https://douyins.netlify.app/))
[//]: # (Vercel: [https://douyins.vercel.app](https://douyins.vercel.app))
[//]: # (Android Apk: https://github.com/zyronon/douyin/releases)
[//]: # (**注意**:`PC` 必须将浏览器切到手机模式,先按 `F12` 调出控制台,再按 `Ctrl+Shift+M`才能正常预览)
[//]: # (**注意**:手机请用 [Via 浏览器](https://viayoo.com/zh-cn/) 或 Chrome 浏览器预览。其它浏览器可能会强制将视频全屏,导致无法正常显示)
## 链接
【模仿抖音系列】一:[200行代码实现类似Swiper.js的轮播组件](https://juejin.cn/post/7360512664317018146)
【模仿抖音系列】二:[实现抖音 “视频无限滑动“效果](https://juejin.cn/post/7361614921519054883)
【模仿抖音系列】三:[Vue 路由使用介绍以及添加转场动画](https://juejin.cn/post/7362528152777130025)
【模仿抖音系列】四:[Vue 有条件路由缓存,就像传统新闻网站一样](https://juejin.cn/post/7365334891473240101)
【模仿抖音系列】五:[Github Actions 部署 Pages、同步到 Gitee、翻译 README 、 打包 docker 镜像](https://juejin.cn/post/7365757742381957161)
【模仿抖音系列】六:[使用rem、动态vh自适应移动端](https://juejin.cn/post/7374452765273538595)
## 运行
注意:本项目仅适用于学习和研究,不得用于商业使用
### 快速部署至 Vercel
[](https://vercel.com/new/clone?repository-url=https://github.com/zyronon/douyin)
### 部署到 Docker
```bash
# pull Docker image
docker pull ghcr.io/zyronon/douyin-vue:latest
# start container, nginx reverse proxy custom port, for example: docker run -d -p 80:80 ghcr.io/zyronon/douyin-vue:latest
docker run -d -p 80:80 ghcr.io/zyronon/douyin-vue:latest
```
### 本地开发
**注意:必须 git 命令 clone 下来才能运行,下载 zip 包是无法运行的。如果 clone 速度太慢,推荐使用 gitee 地址**
```bash
git clone https://gitee.com/zyronon/douyin.git (中国使用)
https://github.com/zyronon/douyin.git
cd douyin
npm install
npm run dev
```
打开浏览器并访问: [http://127.0.0.1:3000](http://127.0.0.1:3000)
**注意:需要将浏览器切至手机模式,先按 `F12` 调出控制台,再按 `Ctrl+Shift+M` 才能正常预览**
## 数据来源
视频来源于以下抖音网红
- `我是香秀 🐂🍺`: [https://v.douyin.com/iYRAPA2L/](https://v.douyin.com/iYRAPA2L/)
- `杨老虎 🐯(磕穿下巴掉牙版)`: [https://v.douyin.com/iYRA56de/](https://v.douyin.com/iYRA56de/)
- `条子`: [https://v.douyin.com/iYRAaqjr/](https://v.douyin.com/iYRAaqjr/)
- `达莎 Digi`:[https://v.douyin.com/iYRA6rwT/](https://v.douyin.com/iYRA6rwT/)
- `小橙子`: [https://v.douyin.com/iYRAnudw/](https://v.douyin.com/iYRAnudw/)
- `南恬`: [https://v.douyin.com/iYRAbKm3/](https://v.douyin.com/iYRAbKm3/)
- `小霸宠牛排 🥩`:[https://v.douyin.com/iYRSosVB/](https://v.douyin.com/iYRSosVB/)
- `奶茶妹 ◕🌱`: [https://v.douyin.com/iYRACKhP/](https://v.douyin.com/iYRACKhP/)
- `我才是岚岚`: [https://v.douyin.com/iYRAQM1C/](https://v.douyin.com/iYRAQM1C/)
- `周憬艺 ziran`: [https://v.douyin.com/iYRAQs4h/](https://v.douyin.com/iYRAQs4h/)
- `刘思瑶 nice`: [https://v.douyin.com/iYRAaERn/](https://v.douyin.com/iYRAaERn/)
- `彭十六 elf`: [https://v.douyin.com/iYRAHrVG/](https://v.douyin.com/iYRAHrVG/)
- `李子柒`: [https://v.douyin.com/iYRA5B88/](https://v.douyin.com/iYRA5B88/)
图片来自于小红书公开笔记
以上内容均是互联网公开信息
## 功能与建议
目前项目处于开发初期,新功能正在持续添加中,如果你对软件有任何功能与建议,欢迎在 `Issues` 中提出
如果你也喜欢本软件的设计思想,欢迎提交 `PR`,非常感谢你对我们的支持!
## 联系我
您可以联系我的邮箱 <a href="mailto:[email protected]">[email protected]</a>
> 分享我其他开源项目:
>
>_[**Typing Word
** - 可在网页上使用的背单词软件~](https://github.com/zyronon/typing-word) <img src="https://img.shields.io/github/stars/zyronon/typing-word.svg?style=flat-square&label=Star&color=4285dd&logo=github" height="16px" />_
> _[**Web Scripts
** - 一些好用的油猴脚本~](https://github.com/zyronon/web-scripts) <img src="https://img.shields.io/github/stars/zyronon/web-scripts.svg?style=flat-square&label=Star&color=4285dd&logo=github" height="16px" />_
## 许可协议
[GPL](LICENSE)

赵闪闪168
- 粉丝: 1746
最新资源
- COMSOL模拟中二氧化碳地质封存与盖层密封性的两相流固耦合研究
- 基于ASP-NET框架开发的学生成绩与课程管理系统-学生信息管理-成绩录入与查询-课程安排与选课-教师管理模块-数据统计分析功能-用户权限控制-数据库备份与恢复-用于高校或中小学教.zip
- 西门子Smart200 PLC 485通讯与Modbus RTU协议控制多设备的新手指南
- 电-气-热综合能源系统耦合优化调度仿真研究:基于MATLAB YALMIP与CPLEX的精准建模与调度策略分析
- 扩展有限元XFEM模型在Abaqus中的二维、三维裂纹扩展模拟及JC源程序实现
- 从安卓QQ数据库提取聊天记录的Python工具-2020年安卓QQ830版本聊天记录数据提取与解析脚本-通过ROOT权限获取Sqlite3数据库文件并解码Base64编码的聊天.zip
- 基于 STM32 控制器的私有项目激光器指标检测平台
- COMSOL模拟二维轴对称模型下冻土水热力三场耦合问题 冻土工程
- 污水池液位智能控制程序:基于三菱FX3G与中达优控触摸屏的解决方案
- Some Useful Tools for Object Detection in Remote Sensing Imagery. 一些遥感图像目标检测的实用代码及工具,不断更新中
- 西门子S7-1200 PLC双轴算法控制程序:灵活高效的电池焊接解决方案 · HMI 实用版
- 基于红外、可见光双光源的车辆目标检测
- 威纶通触摸屏定时锁屏程序:宏指令控制,注释清晰,方便理解,适用于所有型号触摸屏,具有学习价值和借鉴意义。
- 基于PLC与博途1200仿真的全自动洗衣机控制系统设计及其实现
- 英语词汇表格式化工具-爱词霸API调用-音标提取-单词释义格式化-Excel导出-中文学习者友好界面-教师备课辅助-自动排版美化-批量处理功能-支持自定义模板-云端同步存储-多格式.zip
- 密歇根大学PEMFC模型:基于MatlabSimulink平台的燃料电池系统建模与仿真
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


