Skip to content

electerm/electerm-sync-server-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b4a1e70 · Feb 26, 2025

History

16 Commits
Jun 18, 2023
Jun 18, 2023
Feb 22, 2025
Nov 17, 2024
Feb 22, 2025
Feb 22, 2025
Feb 26, 2025
Jun 18, 2023

Repository files navigation

Electerm sync server rust

Build Status

A simple rust electerm data sync server.

Use

git clone git@github.com:electerm/electerm-sync-server-rust.git
cd electerm-sync-server-rust

# create env file, then edit .env
cp sample.env .env

cargo 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

Test

cargo test -- --test-threads=1

Write your own data store

Just take src/file-store.rs as an example, write your own read/write method

Sync server in other languages

License

MIT

About

A simple rust electerm data sync server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published