Giter VIP home page Giter VIP logo

kizunaai-web's Introduction

KizunaAI-Web

基于uni-app的绊爱主题日历,兼容H5,支持PWA。

上游项目仓库

Demo地址:https://kizuna-ai-web.vercel.app/

此修改版仅支持H5,且着重于使用npm指令构建Web App。如有构建其他平台应用的需要,请使用上游项目。

版权声明

绊爱(Kizuna AI)是版权所属Kizuna AI Inc.(Kizuna AI株式会社)的虚拟形象,本项目及开发者与Kizuna AI Inc.无关。

KizunaAI-Web是基于哔哩哔哩用户灰暗江原开发的KizunaAI的Web兼容版并提供一定的修改。

特性

  • 基于跨平台框架uni-app
  • 基于哔哩哔哩嵌入的早安视频
  • 日历和日期标签
  • 生日彩蛋
  • 支持Node.js命令行构建

开发和构建

目前仅支持HBuilder X,详见uni-app文档

HBuilder X打开

HBuilder X-文件-导入-从本地目录导入-选择项目文件夹中的src文件夹

关于src/index.html和public/index.html

它们是index.html模板,应该保持内容一致。

src/index.html也就是最初的index.html是由HBuilder X创建的,采用上面的方法打开项目就会默认使用它。

public/index.html是在去除HBuilder X并向Node.js命令行构建模式迁移时创建的,在项目根目录下构建时会默认使用它。

Node.js命令行构建H5(Beta)

安装Node.js版本14(开发环境v14.19.1)

npm install

建议不要使用cnpm指令,它在开发环境中造成了问题,如果需要使用镜像则 npm install --registry=https://registry.npmmirror.com

npm run dev:h5

npm run build:h5

CI/自动化构建设置

以Vercel为例

  • 框架预设(framework preset)为Vue.js
  • 构建指令(build command)为npm run build:h5
  • 输出目录(output directory)为dist/build/h5
  • 安装指令(install command)为npm install

Vercel已不再支持Node.js 14.x

开源许可

GPLv3

参考资料

http://www.jmblog.com.cn/article/6210be047ca2731bb9b639c8

https://www.zklighting.ltd/?p=1214

https://ask.dcloud.net.cn/question/89143

已知问题

  • 在Apple设备上,离线UWP功能似乎工作不正常。

kizunaai-web's People

Contributors

sunsetmkt avatar

Stargazers

glzxm avatar Mayuu酱重症患者 avatar zepeng avatar  avatar AGony avatar  avatar Bardon avatar Souza G S avatar Lumine Zhao avatar  avatar

Watchers

 avatar

Forkers

yj-liuzepeng

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.