{"id":15017310,"url":"https://github.com/archenoth/clj-anki","last_synced_at":"2025-04-12T11:43:18.120Z","repository":{"id":62431429,"uuid":"76706797","full_name":"Archenoth/clj-anki","owner":"Archenoth","description":"An Anki library to read and write .anki2 and .apkg files in Clojure","archived":false,"fork":false,"pushed_at":"2023-05-09T18:55:23.000Z","size":37,"stargazers_count":31,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T18:19:41.969Z","etag":null,"topics":["anki","anki-packages"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Archenoth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-17T05:53:43.000Z","updated_at":"2024-02-25T12:46:58.000Z","dependencies_parsed_at":"2022-11-01T20:45:39.168Z","dependency_job_id":null,"html_url":"https://github.com/Archenoth/clj-anki","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fclj-anki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fclj-anki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fclj-anki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fclj-anki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Archenoth","download_url":"https://codeload.github.com/Archenoth/clj-anki/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564032,"owners_count":21125404,"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":["anki","anki-packages"],"created_at":"2024-09-24T19:50:17.540Z","updated_at":"2025-04-12T11:43:18.094Z","avatar_url":"https://github.com/Archenoth.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clj-anki\nA Clojure library designed to allow programmatic interaction\nwith [Anki](http://ankisrs.net/) packages.\n\n[![Build Status](https://github.com/Archenoth/clj-anki/actions/workflows/clojure.yml/badge.svg)](https://github.com/Archenoth/clj-anki/actions/workflows/clojure.yml)\n[![Clojars Project](https://img.shields.io/clojars/v/clj-anki.svg)](https://clojars.org/clj-anki)\n\ndeps.edn\n```clojure\nclj-anki {:mvn/version \"0.0.4\"}\n```\n\nLeiningen/Boot\n\n```clojure\n[clj-anki \"0.0.4\"]\n```\n\nGradle\n\n```\ncompile \"clj-anki:clj-anki:0.0.4\"\n```\n\nMaven\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003eclj-anki\u003c/groupId\u003e\n  \u003cartifactId\u003eclj-anki\u003c/artifactId\u003e\n  \u003cversion\u003e0.0.4\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\nAfter including this library\n\n```clojure\n(require '[clj-anki.core :as anki])\n```\n\nYou can write questions, answers, and tags to Anki packages. For\nexample, to write some math questions with the tag \"`math`\" to a file\ncalled \"`math.apkg`\", you could:\n\n```clojure\n(let [cards [\"3 + 4\" \"7\"\n             \"4 + 5\" \"9\"]\n  (anki/notes-to-package! cards \"math.apkg\"))\n```\n\nThe resulting package you can import into Anki.\n\nYou can also read notes from Anki packages:\n\n```clojure\n(anki/read-notes \"math.apkg\")\n```\n\nWhich after the above returns:\n\n```clojure\n({:question \"4 + 5\", :answers [\"9\"], :tags #{\"math\"}}\n {:question \"3 + 4\", :answers [\"7\"], :tags #{\"math\"}})\n```\n\n*Slightly* more in-depth documentation can be\nfound [here](doc/intro.md).\n\n## License\n\nCopyright © 2016-2017 Archenoth\n\nDistributed under the Eclipse Public License version 1.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchenoth%2Fclj-anki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchenoth%2Fclj-anki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchenoth%2Fclj-anki/lists"}