{"id":26193084,"url":"https://github.com/benwr/logseq-mochi-sync","last_synced_at":"2025-10-12T11:49:05.016Z","repository":{"id":280253944,"uuid":"941424677","full_name":"benwr/logseq-mochi-sync","owner":"benwr","description":"One-way synchronization of flashcards from Logseq to Mochi","archived":false,"fork":false,"pushed_at":"2025-05-23T07:05:48.000Z","size":1353,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T16:33:16.972Z","etag":null,"topics":["logseq","logseq-plugin","mochi","spaced-repetition","srs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benwr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"zenodo":null}},"created_at":"2025-03-02T09:00:47.000Z","updated_at":"2025-08-29T00:39:13.000Z","dependencies_parsed_at":"2025-03-02T10:23:00.197Z","dependency_job_id":"2b8d0c57-f182-42be-a62f-108440804af5","html_url":"https://github.com/benwr/logseq-mochi-sync","commit_stats":null,"previous_names":["benwr/logseq-mochi-sync"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/benwr/logseq-mochi-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwr%2Flogseq-mochi-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwr%2Flogseq-mochi-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwr%2Flogseq-mochi-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwr%2Flogseq-mochi-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benwr","download_url":"https://codeload.github.com/benwr/logseq-mochi-sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benwr%2Flogseq-mochi-sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011188,"owners_count":26084900,"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-10-12T02:00:06.719Z","response_time":53,"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":["logseq","logseq-plugin","mochi","spaced-repetition","srs"],"created_at":"2025-03-12T01:34:24.001Z","updated_at":"2025-10-12T11:49:05.010Z","avatar_url":"https://github.com/benwr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logseq → Mochi Sync\n\n One-way synchronization of flashcards from Logseq to Mochi\n\n ![](./logseq_thermodynamics.png)\n\n ↓\n\n ![](./mochi_thermodynamics.png)\n\n ## Features\n\n - Syncs Logseq blocks tagged `#card` to Mochi\n - Converts Logseq clozes (`{{cloze}}`) to Mochi format\n - Supports`mochi-deck` and `mochi-template` properties, for specifyng a custom\n deck or template (or falls back to a default deck)\n - Supports media attachments (with a 5MB limit imposed by Mochi)\n - Multi-sided cards (just add extra children to the card block)\n - Optionally:\n   - Include page titles in cards\n   - Include ancestor block context\n   - Delete orphaned Mochi cards\n\n## Property Handling \u0026 Configuration\n\nLogseq Mochi Sync uses [Logseq\nProperties](https://docs.logseq.com/#/page/properties) to pass structured\ninformation, like deck selection, tags, and template fields, to Mochi.\nProperties can be defined on the card itself, or on the card's ancestors, or at\nthe page level.\n\n### Property Cascade Hierarchy\nProperties are merged in this order (later entries override earlier ones):\n1. Page properties (if \"Include Page Properties\" enabled)\n2. Ancestor block properties\n3. Current block properties (highest priority)\n4. Automatically injected `mochi-id` property (don't edit this one; it's used to\nensure that Mochi remembers the card identity and memorization state, even if\nthe content changes)\n\n### Supported Special Properties\n\n| Property            | Format             | Description                                                                 |\n|---------------------|--------------------|-----------------------------------------------------------------------------|\n| `mochi-deck`        | Deck name string   | Specifies which Mochi deck to use for the card                              |\n| `mochi-tags`        | Comma-separated list | Sets extra tags for the card in Mochi (#tags, other than #card, also work) |\n| `mochi-template`    | Template name string | Uses specified Mochi template for the card                                 |\n| `mochi-field-*`     | Field values       | Populates template fields (replace * with the field name from your template) |\n| `mochi-include-page-title` | true/false | Overrides the global \"render page title\" setting for this card                |\n| `mochi-include-ancestors` | true/false | Overrides the global \"render ancestors\" setting for this card                  |\n\n\n### Examples\n\n**Basic usage:**\n```org\n- Card content\n  mochi-deck:: Chemistry 101\n  mochi-tags:: important, exam-material\n```\n\n**Template usage:**\n```org\n- What's the capital of France?\n  mochi-template:: Capital City\n  mochi-field-City:: Paris\n  mochi-field-Population:: 2.1 million\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenwr%2Flogseq-mochi-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenwr%2Flogseq-mochi-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenwr%2Flogseq-mochi-sync/lists"}