{"id":20489281,"url":"https://github.com/sentclose/sentc","last_synced_at":"2025-04-23T01:58:56.176Z","repository":{"id":166534829,"uuid":"514523799","full_name":"sentclose/sentc","owner":"sentclose","description":"End-to-end encryption sdk with user management.","archived":false,"fork":false,"pushed_at":"2025-01-11T13:17:34.000Z","size":20727,"stargazers_count":45,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T01:58:49.351Z","etag":null,"topics":["encryption","end-to-end-encryption","flutter","group-management","javascript","rust","sdk","sentc","sentclose","user-management"],"latest_commit_sha":null,"homepage":"https://sentc.com/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sentclose.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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}},"created_at":"2022-07-16T08:39:16.000Z","updated_at":"2025-01-11T13:17:38.000Z","dependencies_parsed_at":"2023-11-21T14:47:58.642Z","dependency_job_id":"1a28f821-c1c4-4dfe-83cd-cd1ba81a4eb5","html_url":"https://github.com/sentclose/sentc","commit_stats":null,"previous_names":["sentclose/sentc"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentclose%2Fsentc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentclose","download_url":"https://codeload.github.com/sentclose/sentc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354301,"owners_count":21416751,"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":["encryption","end-to-end-encryption","flutter","group-management","javascript","rust","sdk","sentc","sentclose","user-management"],"created_at":"2024-11-15T17:12:08.631Z","updated_at":"2025-04-23T01:58:56.160Z","avatar_url":"https://github.com/sentclose.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentc\n\nfrom Sentclose\n\nAn end-to-end encryption sdk for developer with user management.\n\nAvailable in:\n\n- Javascript for the web\n- Dart with flutter\n- Rust\n\n## Contains\n\n- User management: Register, login, authentication, authorisation\n- Group management: Invite or add member, role management, group encryption\n- Handling large files in browser and native\n\n## Build from source\n\n#### Requirements:\n\n- Rust MRV 1.75.0\n- For flutter:\n    - flutter_rust_bridge_codegen (`cargo install flutter_rust_bridge_codegen`)\n    - cargo-ndk\n    - llvm\n    - flutter ffi (`dart pub global activate ffigen`)\n- For Javascript:\n    - wasm-pack\n    - node js min. version 14 lts\n\n### Build for rust\n\nBuild rust in the current workspace.\n\n````shell\ncargo build --release\n````\n\n### Build javascript (wasm)\n\n1. Build with wasm pack in `implementation/js/sentc_wasm`\n\n````shell\ncd ./implementation/js/sentc_wasm\n````\n\n````shell\nwasm-pack build --target web \n````\n\n2. Build typescript code in `implementation/js/sentc_wasm`\n\n````shell\ncd ./implementation/js/sentc_wasm\n````\n\n````shell\nnpm run build\n````\n\n### Build flutter\n\nBuild with flutter rust bridge and cargo-ndk.\n\n1. In the current workspace, generate the flutter code\n\n````shell\nflutter_rust_bridge_codegen --rust-input implementation/dart/sentc_flutter_rust/src/sentc.rs --dart-output implementation/dart/sentc/lib/generated.dart --llvm-path \u003cpath-to-your-llvm\u003e\n````\n\n2. build the android code with cargo-ndk in `implementation/dart/sentc_flutter_rust`\n\n````shell\ncd ./implementation/dart/sentc_flutter_rust\n````\n\n````shell\ncargo ndk -t armeabi-v7a -t arm64-v8a -t x86 -t x86_64 -o ../sentc/android/src/main/jniLibs build --release\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentclose%2Fsentc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentclose%2Fsentc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentclose%2Fsentc/lists"}