A simple electerm data sync server with kotlin.
git clone [email protected]:electerm/electerm-sync-server-kotlin.git
cd electerm-sync-server-kotlin
# create env file, then edit .env
cp sample.env .env
## build
gradlew build
## run
gradlew run
# would show something like
# server running at http://127.0.0.1:7837
# in electerm sync settings, set custom sync server with:
# server url: http://127.0.0.1:7837
# JWT_SECRET: your JWT_SECRET in .env
# JWT_USER_NAME: one JWT_USER in .env
gradlew test
Just take src/main/kotlin/ElectermSync/FileStore.kt as an example, write your own read/write method
- electerm-sync-server-kotlin
- electerm-sync-server-vercel
- electerm-sync-server-rust
- electerm-sync-server-cpp
- electerm-sync-server-java
- electerm-sync-server-node
- electerm-sync-server-python
MIT