{"id":18913779,"url":"https://github.com/archenoth/jisho-link-fetcher","last_synced_at":"2025-06-25T02:36:28.064Z","repository":{"id":150483200,"uuid":"75713001","full_name":"Archenoth/jisho-link-fetcher","owner":"Archenoth","description":"From Jisho links to Anki decks","archived":false,"fork":false,"pushed_at":"2016-12-17T22:14:46.000Z","size":145,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-01T05:34:30.399Z","etag":null,"topics":[],"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-12-06T08:54:50.000Z","updated_at":"2016-12-17T22:23:24.000Z","dependencies_parsed_at":"2023-04-18T13:49:09.811Z","dependency_job_id":null,"html_url":"https://github.com/Archenoth/jisho-link-fetcher","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Archenoth/jisho-link-fetcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fjisho-link-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fjisho-link-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fjisho-link-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fjisho-link-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Archenoth","download_url":"https://codeload.github.com/Archenoth/jisho-link-fetcher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Archenoth%2Fjisho-link-fetcher/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261791962,"owners_count":23210232,"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-08T10:08:55.005Z","updated_at":"2025-06-25T02:36:28.049Z","avatar_url":"https://github.com/Archenoth.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jisho-link-fetcher\n\nIn a nutshell, this project turns files like this:\n\n![Org Mode](doc/org.png)\n\nInto reviews like this:\n\n![Anki](doc/anki.png)\n\nThis project is primarily to help with the creation of Anki decks for\n[Pokemon Japanese School](https://github.com/Archenoth/Pokemon-Japanese-School).\nIt is a Clojure library made specifically to extract links in the following\nform:\n\n    [jisho:かわいい]\n\nThis is most common in [Org files](http://orgmode.org/): particularly\nwith a header argument like the following:\n\n    #+LINK: jisho http://jisho.org/search?utf8=%E2%9C%93\u0026keyword=\n\nWhich would make links like this automagically search Jisho for the\nterm:\n\n    [[jisho:かわいい][かわいい]]\n\nThis library extracts all such links from a file, fetches the Kanji\nrepresentations and the definitions of the words, and then writes them\ninto a .apkg file that Anki can then import.\n\nThere is also a functions to pull the definition of a word right from\nJisho.\n\n## Usage\nTo use this from the repository, you can dump a list of definitions\nlike so:\n\n```bash\nlein run /path/to/file/with/jisho/links jisho.apkg\n```\n\nYou can also make yourself a jar to use anywhere by running:\n\n```bash\nlein uberjar\n```\n\nWhich then can be run like so:\n\n```bash\njava -jar output.jar /path/to/file.org output.apkg\n```\n\nTo use this as a library to pull Jisho definitions for Japanese words,\nyou can use the `jisho-definition` function in\n`jisho-link-fetcher.core`:\n\n```clojure\n(jisho-definition \"かわいい\")\n```\n\nWhich would return:\n\n```clojure\n{:word \"可愛い\", :furigana \"可愛[かわい]い\", :definition \"cute; adorable; charming; lovely; pretty\"}\n```\n\nOr from English:\n```clojure\n(jisho-definition \"Puppy\")\n```\n\nWhich returns:\n\n```clojure\n{:word \"子犬\", :furigana \"子[こ]犬[いぬ]\", :definition \"puppy\"}\n```\n\n## License\n\nCopyright © 2016 Archenoth\n\nDistributed under the Eclipse Public License version 1.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchenoth%2Fjisho-link-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchenoth%2Fjisho-link-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchenoth%2Fjisho-link-fetcher/lists"}