{"id":20128751,"url":"https://github.com/nriver/anki-web-server","last_synced_at":"2025-04-09T15:51:08.429Z","repository":{"id":39832187,"uuid":"176698426","full_name":"Nriver/anki-web-server","owner":"Nriver","description":"A mini Anki web server based on Flask, works with anki-sync-server.","archived":false,"fork":false,"pushed_at":"2023-05-04T07:24:13.000Z","size":173,"stargazers_count":36,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T18:05:49.505Z","etag":null,"topics":["anki","flask","python","web"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Nriver.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}},"created_at":"2019-03-20T09:24:03.000Z","updated_at":"2024-10-18T17:11:03.000Z","dependencies_parsed_at":"2024-11-13T20:31:38.814Z","dependency_job_id":"82b8d102-0dea-4036-ba26-53c51f201226","html_url":"https://github.com/Nriver/anki-web-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fanki-web-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fanki-web-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fanki-web-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nriver%2Fanki-web-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nriver","download_url":"https://codeload.github.com/Nriver/anki-web-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248063942,"owners_count":21041854,"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","flask","python","web"],"created_at":"2024-11-13T20:29:21.149Z","updated_at":"2025-04-09T15:51:08.404Z","avatar_url":"https://github.com/Nriver.png","language":"Python","readme":"# anki-web-server\n\n!!! The project is no longer being maintained due to the constant changes and code refactoring of Anki. Adapting to each update has become too exhausting. !!!\n\nWarning. The software is in a early stage, backup your data before use\n\n[anki](https://apps.ankiweb.net/) is a great website. It's supposed to be a life saver for people want to learn with flash cards. However, their sever is too slow and often fail to sync data from my iPhone.\n\nThis project is a personal web server replacement for the official ankiweb with limited functions. Inspired by [anki-sync-server](https://github.com/ankicommunity/anki-sync-server).\n\n# Docker install\nFor a quick start, you can use docker. Please check [anki-web-server-docker](https://github.com/Nriver/anki-web-server-docker), it will start both snyc server and web server for you.\n\n\n# Manual install Requirements\nanki-web-server runs on Python 3(3.8 is preferred). It needs the [anki-sync-server](https://github.com/ankicommunity/anki-sync-server) from ankicommunity for data server.\n\n# Manual Install\n\nUse anki 2.1.40 for better compatibility.\n\n1. Build up a [anki-sync-server](https://github.com/ankicommunity/anki-sync-server). Make sure you have already enabled user authentication and add some cards to the sync server.\n\n2. Install requirements for anki-web-server.\n\n```\npip install -r requirements.txt\n```\n\n3. Rename ankiweb.conf.sample to ankiweb.conf. You need to modify `anki_sync_server_path` to the location where you put the anki-sync-server while the program will look for `collections` folder in the path.\n\n4. Run anki-web-server. \n\n```\npython app.py\n```\n\n5. Open [http://127.0.0.1:27702/](http://127.0.0.1:27702/) in your browser. Enjoy!\n\n(If you have set `context_path=ankiweb` in ankiweb.conf, the url would be [http://127.0.0.1:27702/ankiweb/](http://127.0.0.1:27702/ankiweb/).)\n\n# vue api\n[http://127.0.0.1:27702/api/](http://127.0.0.1:27702/api/)\n\ntest the api with\n```\ncurl http://127.0.0.1:27702/api/status/\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnriver%2Fanki-web-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnriver%2Fanki-web-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnriver%2Fanki-web-server/lists"}