9 Star 84 Fork 47

Gitee 极速下载/douyin-vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/zyronon/douyin
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Douyin-Vue

English | Spanish | German | French | 简体中文 | 日本語

License

douyin-vueis a parody抖音|TikTokmobile short video project.Vue"Best practices" on the mobile side, comparable to nativeApp 丝滑流畅的使用体验。使用了最新的 Vuetechnology stack, based onVue3Vite5Piniaaccomplish. The data is saved locally in the project throughaxios-mock-adapterThe library intercepts the API and returns local json data to simulate real backend requests.

Online access

Github Pages:https://dy.ttentau.top/

Link

[Imitation Douyin Series] 1:200 lines of code to implement a carousel component similar to Swiper.js
[Imitation Douyin Series] 2:Realize the "infinite sliding video" effect on Douyin
[Imitation Douyin Series] Three:Introduction to using Vue routing and adding transition animations
[Imitation Douyin Series] Four:Vue conditional route caching, just like traditional news sites
[Imitation Douyin Series] Five:Github Actions deploy Pages, synchronize to Gitee, translate README, package docker image

run

Note: This project is only suitable for study and research, not for commercial use

Quickly deploy to Vercel

Deploy with Vercel

Deploy to Docker

# 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

local development

Note: The git command must be cloned to run. Downloading the zip package cannot run. If the clone speed is too slow, it is recommended to use the gitee address

git clone https://gitee.com/zyronon/douyin.git (中国使用)
          https://github.com/zyronon/douyin.git 
cd douyin
npm install
npm run dev

Open your browser and visit:http://127.0.0.1:3000

注意:需要将浏览器切至手机模式,先按 F12To bring up the console, pressCtrl+Shift+Mto preview normally

Data Sources

The video comes from the following Douyin celebrities

Picture from Xiaohongshu public notes

The above content is all public information on the Internet

Features and suggestions

The project is currently in the early stages of development and new features are being added continuously. If you have any features or suggestions for the software, please feel free to contact us.Issuesraised in If you also like the design ideas of this software, please submit itPR, thank you very much for your support!

contact me

You can contact my emailzyronon@163.com

Share my other open source projects:

Typing Word- Vocabulary memorization software that can be used on the web~
Web Scripts- Some useful Grease Monkey scripts~

agreement

GPL

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/mirrors/douyin-vue.git
git@gitee.com:mirrors/douyin-vue.git
mirrors
douyin-vue
douyin-vue
master

搜索帮助