Tipitaka.app
New Chatta Sangayana Tipitaka web app and software
Install / Use
/learn @pnfo/Tipitaka.appREADME
tipitaka.app - Chatta Sangayana Tipitaka
Building the Website (Frontend)
npm run build will build the frontend application into the dist directory (referenced by index.html).
npm run dev to run the frontend in development mode with hot reload.
Building Apps for Windows, Mac, and Linux
Prerequisites
- Go 1.22+
- GCC (MinGW for Windows cross-compilation on Linux/Mac)
Build Process
The desktop applications are built using a Go server that serves the frontend and handles database queries.
Run the build script:
bash ./server/build-all.sh
This script will cross-compile the application for Linux, Windows, and macOS. The binaries will be output to server/bin.
Running Locally
To run the server locally for development or testing:
- Navigate to the
serverdirectory. - Run the Go server pointing to the project root:
go run main.go -root-path=../-root-path=../tells the server to look fordistandserver-datain the parent directory.- Use
-no-opento prevent the browser from opening automatically.
Distribution
To create a distribution package, include:
- The compiled binary (e.g.,
tipitaka_app_windows_intel.exe) distdirectory (frontend build)server-datadirectory (databases)- Note:
server-data/db/dict-all.db(Full Text Search DB) is large and not included in the repository. It must be downloaded separately and placed inserver-data/db/.
- Note:
- The following script can create these zip files for all supported OS'es with the above files included
./server/create-zips.sh
Setting up the Online Website (https://tipitaka.app)
The same Linux binary is used to serve requests for the online website.
- Clone this repository.
- Build the frontend:
npm run build - Build the Go server for Linux (most droplets use Linux)
- Ensure
server-datais populated, includingdict-all.db(copy from existing deployment or download). - Copy the
dist, Go server (tipitaka_app_linux_intel) andserver-datafolder to the droplet - Run the server:
chmod +x tipitaka_app_linux_intel ./tipitaka_app_linux_intel -root-path=. -no-open - Use a process manager like
pm2orsystemdto keep it running.
Building Apps for Android
The Android app uses a WebView to display the content and serves data via a local server setup within the app.
Files to Include
- Frontend: Run
npm run build. Copy the contents of thedistdirectory toAndroid/app/src/main/assets/dist.- (
distdirectory should be insideassets)
- (
- Data: Copy the
server-datadirectory (ensuredict-all.dbis included) toAndroid/server_data/src/main/assets/server-data.- The Android project uses the
:server_datamodule as an Asset Pack to manage large data files.
- The Android project uses the
Build Process
- Open the
Androidrepository in Android Studio. - Build the release APK/Bundle as usual.
License
Attribution-ShareAlike CC BY-SA https://creativecommons.org/licenses/by-sa/4.0/ You must give appropriate credit, provide a link to the license, and indicate if changes were made.
The VRI texts in the static/texts directory are copyrighted to VRI (https://www.vridhamma.org/).
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
