Prompt-Hub is a centralized place to create, manage, and share prompts for AI models. It helps you build complex prompts, organize them, and collaborate with others.
This is a Kotlin Multiplatform project targeting both Web and Server.
-
/server - Ktor server application.
-
/shared - Shared code between all targets.
- commonMain - Shared logic for all platforms.
- Platform-specific folders for additional code.
To build and run the development version of the server:
macOS/Linux:
./gradlew :server:runWindows:
.\gradlew.bat :server:run-
Install Node.js (includes
npm) -
Build Kotlin/JS shared code:
macOS/Linux:
./gradlew :shared:jsBrowserDevelopmentLibraryDistribution
Windows:
.\gradlew.bat :shared:jsBrowserDevelopmentLibraryDistribution -
Build and run the web app:
npm install npm run start
Learn more about Kotlin Multiplatform.
