mqenergy / chatcat Goto Github PK
View Code? Open in Web Editor NEWChatCat a Purer OpenAI-Based Client
Home Page: https://chat.yippai.com
License: MIT License
ChatCat a Purer OpenAI-Based Client
Home Page: https://chat.yippai.com
License: MIT License
在windows上启动测试的,可能出现的部分问题如下
Node number must be between 0 and 1023
参考MQEnergy/go-websocket#1filepath.Join处理
// 异常路径https://github.com/MQEnergy/chatcat/blob/main/backend/pkg/csqlite/sqlite.go#L26
// 参考修改的代码如下
databasePath = filepath.Join(runtimeDir, conf.App.AppName, conf.App.DbName)
if !chelp.IsPathExist(databasePath) {
// 创建文件夹和文件
err := os.MkdirAll(filepath.Join(runtimeDir, conf.App.AppName), os.ModePerm)
if err != nil {
panic(err)
}
_, err = os.Create(databasePath)
if err != nil {
panic(err)
}
// 初始化数据库
db, err = gorm.Open(sqlite.Open(databasePath), &gorm.Config{})
....
版本v0.1.3,系统Win11,点击全屏按钮后接着退出全屏,窗体的 border 消失,此时全屏按钮失效并且无法手动调整窗体的大小
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.