A UniApp wrapper for Casibase, the open-source RAG knowledge base platform. This app embeds the Casibase H5 web interface and can be published as a WeChat miniprogram or other mobile platforms.
- 📱 Cross-platform support (WeChat miniprogram, H5, App, etc.)
- 🔧 Configurable Casibase instance URL
- 🌐 WebView-based integration with Casibase web interface
- 🎨 Loading and error handling
- ⚡ Built with uni-app framework
The Casibase URL can be configured in src/config.js:
export const config = {
// The URL of the Casibase H5 page to be embedded
casibaseUrl: 'https://ai-admin.casibase.com/',
// App information
appName: 'Casibase',
appDescription: 'Open-source RAG knowledge base platform'
}To use a different Casibase instance, simply update the casibaseUrl value.
npm installFor H5:
npm run dev:h5For WeChat Miniprogram:
npm run dev:mp-weixinFor other platforms, see available scripts in package.json.
For H5:
npm run build:h5For WeChat Miniprogram:
npm run build:mp-weixinBefore publishing to WeChat:
- Update the
appidinsrc/manifest.jsonwith your WeChat miniprogram AppID - Ensure the domain
ai-admin.casibase.com(or your configured domain) is added to the whitelist in WeChat miniprogram settings - Set
urlCheck: falseinmp-weixin.settingfor development, or configure the business domain properly for production
├── src/
│ ├── pages/
│ │ └── index/
│ │ └── index.vue # Main page with webview
│ ├── static/ # Static assets
│ ├── App.vue # App entry component
│ ├── main.js # App entry file
│ ├── manifest.json # App configuration
│ ├── pages.json # Page routing configuration
│ └── config.js # Casibase URL configuration
├── package.json
└── vite.config.js
See LICENSE file for details.