{"id":15539,"date":"2025-04-18T22:02:20","date_gmt":"2025-04-18T14:02:20","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/15539.html"},"modified":"2025-04-18T22:02:20","modified_gmt":"2025-04-18T14:02:20","slug":"koreader-%e5%90%8c%e6%ad%a5%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%bd%bf%e7%94%a8%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/15539.html","title":{"rendered":"KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b"},"content":{"rendered":"<h2>KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b<\/h2>\n<p> <span class=\"link-card-box\"><span class=\"link-title\">koreader-sync-server<\/span><span class=\"link-desc\">self hostable synchronization service for koreader devices<\/span><span class=\"link-link\">\u9879\u76ee\u5730\u5740:https:\/\/gitcode.com\/gh_mirrors\/ko\/koreader-sync-server<\/span><\/span> <\/p>\n<h3>\u9879\u76ee\u4ecb\u7ecd<\/h3>\n<p>KOReader \u540c\u6b65\u670d\u52a1\u5668\u662f\u4e00\u4e2a\u53ef\u81ea\u884c\u6258\u7ba1\u7684\u540c\u6b65\u670d\u52a1&#xff0c;\u4e13\u4e3a KOReader \u8bbe\u5907\u8bbe\u8ba1\u3002\u8be5\u9879\u76ee\u57fa\u4e8e Gin JSON-API \u6846\u67b6\u6784\u5efa&#xff0c;\u8fd0\u884c\u5728 OpenResty \u4e0a&#xff0c;\u5e76\u5b8c\u5168\u4f7f\u7528 Lua \u7f16\u5199\u3002\u7528\u6237\u53ef\u4ee5\u5c06\u4ed6\u4eec\u7684 KOReader \u8bbe\u5907\u6ce8\u518c\u5230\u540c\u6b65\u670d\u52a1\u5668&#xff0c;\u5e76\u4f7f\u7528\u540c\u6b65\u670d\u52a1\u5728\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u540c\u6b65\u9605\u8bfb\u8fdb\u5ea6\u3002<\/p>\n<h3>\u9879\u76ee\u5feb\u901f\u542f\u52a8<\/h3>\n<h4>\u73af\u5883\u51c6\u5907<\/h4>\n<p>\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86 Docker \u548c Docker Compose\u3002<\/p>\n<h4>\u514b\u9686\u9879\u76ee<\/h4>\n<p>git clone https:\/\/github.com\/koreader\/koreader-sync-server.git<br \/>\ncd koreader-sync-server<\/p>\n<h4>\u542f\u52a8\u670d\u52a1<\/h4>\n<p>\u4f7f\u7528 Docker Compose \u542f\u52a8\u670d\u52a1&#xff1a;<\/p>\n<p>docker-compose up -d<\/p>\n<h4>\u9a8c\u8bc1\u670d\u52a1<\/h4>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8bbf\u95ee http:\/\/localhost:8080&#xff0c;\u5982\u679c\u770b\u5230\u6b22\u8fce\u9875\u9762&#xff0c;\u8bf4\u660e\u670d\u52a1\u5df2\u6210\u529f\u542f\u52a8\u3002<\/p>\n<h3>\u5e94\u7528\u6848\u4f8b\u548c\u6700\u4f73\u5b9e\u8df5<\/h3>\n<h4>\u5e94\u7528\u6848\u4f8b<\/h4>\n<p>\u5047\u8bbe\u4f60\u6709\u4e24\u53f0 KOReader \u8bbe\u5907&#xff0c;\u4e00\u53f0\u5728\u5bb6&#xff0c;\u4e00\u53f0\u5728\u529e\u516c\u5ba4\u3002\u901a\u8fc7\u4f7f\u7528 KOReader \u540c\u6b65\u670d\u52a1\u5668&#xff0c;\u4f60\u53ef\u4ee5\u5728\u8fd9\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u540c\u6b65\u4f60\u7684\u9605\u8bfb\u8fdb\u5ea6&#xff0c;\u65e0\u8bba\u4f60\u5728\u54ea\u91cc&#xff0c;\u90fd\u53ef\u4ee5\u4ece\u4e0a\u6b21\u79bb\u5f00\u7684\u5730\u65b9\u7ee7\u7eed\u9605\u8bfb\u3002<\/p>\n<h4>\u6700\u4f73\u5b9e\u8df5<\/h4>\n<li>\u5b9a\u671f\u5907\u4efd\u6570\u636e&#xff1a;\u786e\u4fdd\u5b9a\u671f\u5907\u4efd\u540c\u6b65\u670d\u52a1\u5668\u7684\u6570\u636e&#xff0c;\u4ee5\u9632\u6570\u636e\u4e22\u5931\u3002<\/li>\n<li>\u4f7f\u7528 HTTPS&#xff1a;\u5728\u751f\u4ea7\u73af\u5883\u4e2d&#xff0c;\u786e\u4fdd\u4f7f\u7528 HTTPS \u6765\u4fdd\u62a4\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u3002<\/li>\n<li>\u76d1\u63a7\u670d\u52a1\u72b6\u6001&#xff1a;\u4f7f\u7528\u76d1\u63a7\u5de5\u5177\u6765\u76d1\u63a7\u540c\u6b65\u670d\u52a1\u5668\u7684\u72b6\u6001&#xff0c;\u786e\u4fdd\u670d\u52a1\u7a33\u5b9a\u8fd0\u884c\u3002<\/li>\n<h3>\u5178\u578b\u751f\u6001\u9879\u76ee<\/h3>\n<h4>KOReader<\/h4>\n<p>KOReader \u662f\u4e00\u4e2a\u4e3a\u7535\u5b50\u4e66\u9605\u8bfb\u5668\u548c Android \u8bbe\u5907\u8bbe\u8ba1\u7684\u6587\u6863\u548c\u7535\u5b50\u4e66\u9605\u8bfb\u5668\u3002\u5b83\u652f\u6301\u591a\u79cd\u6587\u4ef6\u683c\u5f0f&#xff0c;\u5e76\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u9605\u8bfb\u529f\u80fd\u3002<\/p>\n<h4>OpenResty<\/h4>\n<p>OpenResty \u662f\u4e00\u4e2a\u57fa\u4e8e Nginx \u548c Lua \u7684\u9ad8\u6027\u80fd Web \u5e73\u53f0&#xff0c;\u5e7f\u6cdb\u7528\u4e8e\u6784\u5efa\u52a8\u6001 Web \u5e94\u7528\u3001Web \u670d\u52a1\u548c\u52a8\u6001\u7f51\u5173\u3002<\/p>\n<h4>Gin JSON-API \u6846\u67b6<\/h4>\n<p>Gin \u662f\u4e00\u4e2a\u7528 Go \u7f16\u5199\u7684 HTTP Web \u6846\u67b6&#xff0c;\u4ee5\u5176\u9ad8\u6027\u80fd\u548c\u6613\u7528\u6027\u800c\u95fb\u540d\u3002\u867d\u7136 KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u7684\u662f Lua \u548c OpenResty&#xff0c;\u4f46 Gin \u6846\u67b6\u7684\u8bbe\u8ba1\u7406\u5ff5\u548c\u6027\u80fd\u7279\u70b9\u503c\u5f97\u501f\u9274\u3002<\/p>\n<p>\u901a\u8fc7\u8fd9\u4e9b\u751f\u6001\u9879\u76ee\u7684\u7ed3\u5408&#xff0c;KOReader \u540c\u6b65\u670d\u52a1\u5668\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5f3a\u5927\u4e14\u7075\u6d3b\u7684\u540c\u6b65\u89e3\u51b3\u65b9\u6848&#xff0c;\u9002\u7528\u4e8e\u5404\u79cd\u9605\u8bfb\u573a\u666f\u3002<\/p>\n<p> <span class=\"link-card-box\"><span class=\"link-title\">koreader-sync-server<\/span><span class=\"link-desc\">self hostable synchronization service for koreader devices<\/span><span class=\"link-link\">\u9879\u76ee\u5730\u5740:https:\/\/gitcode.com\/gh_mirrors\/ko\/koreader-sync-server<\/span><\/span> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf14\u6b21\u3002KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b koreader-sync-serverself hostable synchronization service for koreader devices\u9879\u76ee\u5730\u5740:https:\/\/gitcode.com\/gh_mirrors\/ko\/koreader-sync-server \u9879\u76ee\u4ecb\u7ecdKOReader \u540c\u6b65\u670d\u52a1\u5668\u662f\u4e00\u4e2a\u53ef\u81ea\u884c\u6258\u7ba1\u7684\u540c\u6b65\u670d\u52a1\uff0c\u4e13\u4e3a KORead&#8230;_koreader\u540c\u6b65<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-15539","post","type-post","status-publish","format-standard","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/15539.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf14\u6b21\u3002KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b koreader-sync-serverself hostable synchronization service for koreader devices\u9879\u76ee\u5730\u5740:https:\/\/gitcode.com\/gh_mirrors\/ko\/koreader-sync-server \u9879\u76ee\u4ecb\u7ecdKOReader \u540c\u6b65\u670d\u52a1\u5668\u662f\u4e00\u4e2a\u53ef\u81ea\u884c\u6258\u7ba1\u7684\u540c\u6b65\u670d\u52a1\uff0c\u4e13\u4e3a KORead..._koreader\u540c\u6b65\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/15539.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T14:02:20+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/15539.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/15539.html\",\"name\":\"KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T14:02:20+00:00\",\"dateModified\":\"2025-04-18T14:02:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/15539.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/15539.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/15539.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/15539.html","og_locale":"zh_CN","og_type":"article","og_title":"KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf14\u6b21\u3002KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b koreader-sync-serverself hostable synchronization service for koreader devices\u9879\u76ee\u5730\u5740:https:\/\/gitcode.com\/gh_mirrors\/ko\/koreader-sync-server \u9879\u76ee\u4ecb\u7ecdKOReader \u540c\u6b65\u670d\u52a1\u5668\u662f\u4e00\u4e2a\u53ef\u81ea\u884c\u6258\u7ba1\u7684\u540c\u6b65\u670d\u52a1\uff0c\u4e13\u4e3a KORead..._koreader\u540c\u6b65","og_url":"https:\/\/www.wsisp.com\/helps\/15539.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T14:02:20+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/15539.html","url":"https:\/\/www.wsisp.com\/helps\/15539.html","name":"KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T14:02:20+00:00","dateModified":"2025-04-18T14:02:20+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/15539.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/15539.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/15539.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"KOReader \u540c\u6b65\u670d\u52a1\u5668\u4f7f\u7528\u6559\u7a0b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/15539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=15539"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/15539\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=15539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=15539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=15539"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=15539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}