{"id":13928884,"url":"https://github.com/logseq/capacitor-file-sync","last_synced_at":"2025-08-20T15:33:21.642Z","repository":{"id":167095369,"uuid":"537111431","full_name":"logseq/capacitor-file-sync","owner":"logseq","description":"Logseq Sync capacitor plugin for iOS and Android","archived":false,"fork":false,"pushed_at":"2024-01-25T07:49:10.000Z","size":82350,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-21T03:31:24.169Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/logseq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2022-09-15T16:23:07.000Z","updated_at":"2024-09-21T15:27:14.000Z","dependencies_parsed_at":"2024-02-09T01:15:27.900Z","dependency_job_id":null,"html_url":"https://github.com/logseq/capacitor-file-sync","commit_stats":{"total_commits":57,"total_committers":2,"mean_commits":28.5,"dds":0.03508771929824561,"last_synced_commit":"f4f96335f0117756fd7f4e3de5227bf6ea0b6870"},"previous_names":["logseq/capacitor-file-sync"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/logseq/capacitor-file-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fcapacitor-file-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fcapacitor-file-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fcapacitor-file-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fcapacitor-file-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logseq","download_url":"https://codeload.github.com/logseq/capacitor-file-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logseq%2Fcapacitor-file-sync/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267791706,"owners_count":24144922,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-07T18:01:58.336Z","updated_at":"2025-08-02T12:09:14.601Z","avatar_url":"https://github.com/logseq.png","language":"Swift","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# @logseq/capacitor-file-sync\n\nLogseq Sync for mobile platforms.\n\n## Local Development\n\n```bash\n# run the following in capacitor-file-sync/ folder\nyarn link\n\n# run the following in logseq/ folder\nyarn link @logseq/capacitor-file-sync\n```\n\n## Install\n\n```bash\nnpm install @logseq/capacitor-file-sync\nnpx cap sync\n```\n\n## API Doc\n\n\u003cdocgen-index\u003e\n\n* [`keygen()`](#keygen)\n* [`setEnv(...)`](#setenv)\n* [`encryptFnames(...)`](#encryptfnames)\n* [`decryptFnames(...)`](#decryptfnames)\n* [`getLocalFilesMeta(...)`](#getlocalfilesmeta)\n* [`getLocalAllFilesMeta(...)`](#getlocalallfilesmeta)\n* [`deleteLocalFiles(...)`](#deletelocalfiles)\n* [`fetchRemoteFiles(...)`](#fetchremotefiles)\n* [`updateLocalFiles(...)`](#updatelocalfiles)\n* [`updateLocalVersionFiles(...)`](#updatelocalversionfiles)\n* [`deleteRemoteFiles(...)`](#deleteremotefiles)\n* [`updateRemoteFiles(...)`](#updateremotefiles)\n* [`encryptWithPassphrase(...)`](#encryptwithpassphrase)\n* [`decryptWithPassphrase(...)`](#decryptwithpassphrase)\n* [`cancelAllRequests(...)`](#cancelallrequests)\n\n\u003c/docgen-index\u003e\n\n\u003cdocgen-api\u003e\n\u003c!--Update the source file JSDoc comments and rerun docgen to update the docs below--\u003e\n\n### keygen()\n\n```typescript\nkeygen() =\u003e Promise\u003c{ secretKey: string; publicKey: string; }\u003e\n```\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ secretKey: string; publicKey: string; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### setEnv(...)\n\n```typescript\nsetEnv(options: { graphUUID: string; env: string; secretKey: string; publicKey: string; }) =\u003e Promise\u003cvoid\u003e\n```\n\n| Param         | Type                                                                                   |\n| ------------- | -------------------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; env: string; secretKey: string; publicKey: string; }\u003c/code\u003e |\n\n--------------------\n\n\n### encryptFnames(...)\n\n```typescript\nencryptFnames(options: { graphUUID: string; filePaths: string[]; }) =\u003e Promise\u003c{ value: string[]; }\u003e\n```\n\n| Param         | Type                                                     |\n| ------------- | -------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; filePaths: string[]; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ value: string[]; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### decryptFnames(...)\n\n```typescript\ndecryptFnames(options: { graphUUID: string; filePaths: string[]; }) =\u003e Promise\u003c{ value: string[]; }\u003e\n```\n\n| Param         | Type                                                     |\n| ------------- | -------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; filePaths: string[]; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ value: string[]; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### getLocalFilesMeta(...)\n\n```typescript\ngetLocalFilesMeta(options: { graphUUID: string; basePath: string; filePaths: string[]; }) =\u003e Promise\u003c{ result: any[]; }\u003e\n```\n\n| Param         | Type                                                                       |\n| ------------- | -------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; basePath: string; filePaths: string[]; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ result: any[]; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### getLocalAllFilesMeta(...)\n\n```typescript\ngetLocalAllFilesMeta(options: { graphUUID: string; basePath: string; }) =\u003e Promise\u003c{ result: any[]; }\u003e\n```\n\n| Param         | Type                                                  |\n| ------------- | ----------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; basePath: string; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ result: any[]; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### deleteLocalFiles(...)\n\n```typescript\ndeleteLocalFiles(options: { graphUUID: string; basePath: string; filePaths: string[]; }) =\u003e Promise\u003cvoid\u003e\n```\n\n| Param         | Type                                                                       |\n| ------------- | -------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; basePath: string; filePaths: string[]; }\u003c/code\u003e |\n\n--------------------\n\n\n### fetchRemoteFiles(...)\n\n```typescript\nfetchRemoteFiles(options: { graphUUID: string; basePath: string; filePaths: string[]; token: string; }) =\u003e Promise\u003cvoid\u003e\n```\n\n| Param         | Type                                                                                      |\n| ------------- | ----------------------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; basePath: string; filePaths: string[]; token: string; }\u003c/code\u003e |\n\n--------------------\n\n\n### updateLocalFiles(...)\n\n```typescript\nupdateLocalFiles(options: { graphUUID: string; basePath: string; filePaths: string[]; token: string; }) =\u003e Promise\u003cvoid\u003e\n```\n\n| Param         | Type                                                                                      |\n| ------------- | ----------------------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; basePath: string; filePaths: string[]; token: string; }\u003c/code\u003e |\n\n--------------------\n\n\n### updateLocalVersionFiles(...)\n\n```typescript\nupdateLocalVersionFiles(options: { graphUUID: string; basePath: string; filePaths: string[]; token: string; }) =\u003e Promise\u003cvoid\u003e\n```\n\n| Param         | Type                                                                                      |\n| ------------- | ----------------------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; basePath: string; filePaths: string[]; token: string; }\u003c/code\u003e |\n\n--------------------\n\n\n### deleteRemoteFiles(...)\n\n```typescript\ndeleteRemoteFiles(options: { graphUUID: string; filePaths: string[]; token: string; txid: number; }) =\u003e Promise\u003c{ txid: number; }\u003e\n```\n\n| Param         | Type                                                                                  |\n| ------------- | ------------------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; filePaths: string[]; token: string; txid: number; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ txid: number; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### updateRemoteFiles(...)\n\n```typescript\nupdateRemoteFiles(options: { graphUUID: string; basePath: string; filePaths: string[]; token: string; txid: number; }) =\u003e Promise\u003c{ txid: number; }\u003e\n```\n\n| Param         | Type                                                                                                    |\n| ------------- | ------------------------------------------------------------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ graphUUID: string; basePath: string; filePaths: string[]; token: string; txid: number; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ txid: number; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### encryptWithPassphrase(...)\n\n```typescript\nencryptWithPassphrase(options: { passphrase: string; content: string; }) =\u003e Promise\u003c{ data: string; }\u003e\n```\n\n| Param         | Type                                                  |\n| ------------- | ----------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ passphrase: string; content: string; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ data: string; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### decryptWithPassphrase(...)\n\n```typescript\ndecryptWithPassphrase(options: { passphrase: string; content: string; }) =\u003e Promise\u003c{ data: string; }\u003e\n```\n\n| Param         | Type                                                  |\n| ------------- | ----------------------------------------------------- |\n| **`options`** | \u003ccode\u003e{ passphrase: string; content: string; }\u003c/code\u003e |\n\n**Returns:** \u003ccode\u003ePromise\u0026lt;{ data: string; }\u0026gt;\u003c/code\u003e\n\n--------------------\n\n\n### cancelAllRequests(...)\n\n```typescript\ncancelAllRequests(options: unknown) =\u003e Promise\u003cvoid\u003e\n```\n\n| Param         | Type                 |\n| ------------- | -------------------- |\n| **`options`** | \u003ccode\u003eunknown\u003c/code\u003e |\n\n--------------------\n\n\u003c/docgen-api\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogseq%2Fcapacitor-file-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogseq%2Fcapacitor-file-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogseq%2Fcapacitor-file-sync/lists"}