Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 1.61 KB

README.md

File metadata and controls

73 lines (46 loc) · 1.61 KB

Linkie Web

View mod dependencies; Search up mappings; All in one place!

About the Project

backend

This subfolder contains the backend JVM server, connecting linkie-core.

This project uses Ktor as the HTTP server.

frontend

This subfolder contains the frontend Vue website. The frontend runs independently from the backend and is entirely client sided and static. The official instance is in fact ran from GitHub Pages.

frontend/src-tauri

This subfolder contains the experimental tauri application for a local Linkie experience.

The application fires a JRE process of the backend and connects to it, the frontend is the Vue website.

Due to the nature of the project, with a JRE VM, it uses quite a lot of memory. There are goals to turn the underlying backend into a Kotlin/Native project in the future.

Running the Project

backend

Compiling the backend:

cd backend
./gradlew build

The compiled artifact is at ./backend/build/libs/linkie-web-backend.jar, run it using JRE8+.

frontend

Testing the frontend:

npm install
npm run dev

Compiling the frontend: (Resultant HTML at /dist)

npm install
npm run build

frontend/tauri

First, we need to build a custom JRE to bundle along: (Use Java 17)

cd backend
./gradlew customJre

The custom jre is in build/libs/. Now, also compile the backend. (Instructions above)

Build the tauri project: (Requires Rust)

npm install
npm run tauri build

Compiled file is at /frontend/src-tauri/target/release/.
Bundled installer/app is at /frontend/src-tauri/target/release/bundle.