{"id":18664611,"url":"https://github.com/electerm/electerm-sync-server-rust","last_synced_at":"2025-06-23T00:03:29.365Z","repository":{"id":176218734,"uuid":"655128976","full_name":"electerm/electerm-sync-server-rust","owner":"electerm","description":"A simple rust electerm data sync server.","archived":false,"fork":false,"pushed_at":"2025-04-06T02:16:23.000Z","size":43,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-12T22:11:11.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electerm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-06-18T01:32:47.000Z","updated_at":"2025-04-06T02:16:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b48440d3-7d53-49fb-8c51-344863e476df","html_url":"https://github.com/electerm/electerm-sync-server-rust","commit_stats":null,"previous_names":["electerm/electerm-sync-server-rust"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/electerm/electerm-sync-server-rust","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerm%2Felecterm-sync-server-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerm%2Felecterm-sync-server-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerm%2Felecterm-sync-server-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerm%2Felecterm-sync-server-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electerm","download_url":"https://codeload.github.com/electerm/electerm-sync-server-rust/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerm%2Felecterm-sync-server-rust/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261386707,"owners_count":23150866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T08:24:14.646Z","updated_at":"2025-06-23T00:03:24.339Z","avatar_url":"https://github.com/electerm.png","language":"Rust","readme":"# Electerm sync server rust\n\n[![Build Status](https://github.com/electerm/electerm-sync-server-rust/actions/workflows/linux.yml/badge.svg)](https://github.com/electerm/electerm-sync-server-rust/actions)\n\nA simple rust electerm data sync server.\n\n## Use\n\n\n```bash\ngit clone git@github.com:electerm/electerm-sync-server-rust.git\ncd electerm-sync-server-rust\n\n# create env file, then edit .env\ncp sample.env .env\n\ncargo run\n\n# would show something like\n# server running at http://127.0.0.1:7837\n\n# in electerm sync settings, set custom sync server with:\n# server url: http://127.0.0.1:7837\n# Then you can use http://127.0.0.1:7837/api/sync as API Url in electerm custom sync\n\n\n# JWT_SECRET: your JWT_SECRET in .env\n# JWT_USER_NAME: one JWT_USER in .env\n```\n\n## Test\n\n```sh\ncargo test -- --test-threads=1\n```\n\n## Write your own data store\n\nJust take [src/file-store.rs](src/file-store.rs) as an example, write your own read/write method\n\n## Sync server in other languages\n\n- [electerm-sync-server-kotlin](https://github.com/electerm/electerm-sync-server-kotlin)\n- [electerm-sync-server-vercel](https://github.com/electerm/electerm-sync-server-vercel)\n- [electerm-sync-server-rust](https://github.com/electerm/electerm-sync-server-rust)\n- [electerm-sync-server-cpp](https://github.com/electerm/electerm-sync-server-cpp)\n- [electerm-sync-server-java](https://github.com/electerm/electerm-sync-server-java)\n- [electerm-sync-server-node](https://github.com/electerm/electerm-sync-server-node)\n- [electerm-sync-server-python](https://github.com/electerm/electerm-sync-server-python)\n- [electerm-sync-server-deno](https://github.com/electerm/electerm-sync-server-deno)\n- [electerm-sync-server-go](https://github.com/electerm/electerm-sync-server-go)\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felecterm%2Felecterm-sync-server-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felecterm%2Felecterm-sync-server-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felecterm%2Felecterm-sync-server-rust/lists"}