├── .dockerignore ├── .gitattributes ├── .github └── workflows │ └── deploy.yml ├── .gitignore ├── Dockerfile ├── LICENSE.txt ├── Markdown ├── DatabaseDownload.md ├── EbookDataTools.md ├── Pillory.md ├── README_EN.md ├── README_JP.md ├── README_ZH.md ├── UpdateLog.md ├── image │ ├── img.png │ ├── img_1.png │ ├── img_2.png │ ├── img_3.png │ └── img_4.png └── 数据库下载文档.md ├── README.md ├── config └── config.go ├── docs └── 更新日志.md ├── frontend ├── index.html ├── package-lock.json ├── package.json ├── postcss.config.js ├── public │ ├── about.svg │ ├── gitee-svgrepo-com.svg │ ├── github-mark.svg │ ├── setting_logo.svg │ └── settings-icon.svg ├── src │ ├── App.jsx │ ├── ProtectedRoute.jsx │ ├── assets │ │ └── styles │ │ │ └── main.css │ ├── components │ │ ├── AdvancedSearchForm.tsx │ │ ├── BasicSearchForm.jsx │ │ ├── BookItem.tsx │ │ ├── BookListItem.tsx │ │ ├── HeaderIcons.jsx │ │ ├── Layout.jsx │ │ ├── Pagination.jsx │ │ ├── RemoteAccess.jsx │ │ ├── ResultsList.tsx │ │ └── SearchTabs.jsx │ ├── main.jsx │ ├── pages │ │ ├── AdminPage.jsx │ │ ├── LoginPage.jsx │ │ ├── ResultsPage.tsx │ │ └── SearchPage.jsx │ ├── store │ │ └── useGlobalStore.ts │ ├── types │ │ ├── Book.ts │ │ └── Settings.ts │ └── utils │ │ ├── filename.ts │ │ └── format.ts ├── tailwind.config.js ├── tsconfig.json └── vite.config.js ├── go.mod ├── go.sum ├── instance └── 说明.txt ├── internal ├── adapters │ ├── calibre_adapter.go │ └── legacy_adapter.go ├── api │ ├── middleware.go │ ├── query_params.go │ ├── search_cache.go │ ├── search_merge.go │ └── server.go ├── core │ └── types.go ├── infra │ ├── db_manager.go │ ├── db_manager_test.go │ └── sqlitecfg │ │ └── sqlite.go └── tools │ └── deps.go ├── log └── 说明.txt ├── logger └── logger.go ├── main.go ├── models └── book.go ├── search ├── builder.go ├── builder_test.go ├── fts.go └── fts_test.go ├── static ├── about.svg ├── gitee-svgrepo-com.svg ├── github-mark.svg ├── setting_logo.svg ├── settings-icon.svg └── settings.json └── utils └── net.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.css linguist-generated=true 2 | -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/.github/workflows/deploy.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /Markdown/DatabaseDownload.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/DatabaseDownload.md -------------------------------------------------------------------------------- /Markdown/EbookDataTools.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/EbookDataTools.md -------------------------------------------------------------------------------- /Markdown/Pillory.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/Pillory.md -------------------------------------------------------------------------------- /Markdown/README_EN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/README_EN.md -------------------------------------------------------------------------------- /Markdown/README_JP.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/README_JP.md -------------------------------------------------------------------------------- /Markdown/README_ZH.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/README_ZH.md -------------------------------------------------------------------------------- /Markdown/UpdateLog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/UpdateLog.md -------------------------------------------------------------------------------- /Markdown/image/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/image/img.png -------------------------------------------------------------------------------- /Markdown/image/img_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/image/img_1.png -------------------------------------------------------------------------------- /Markdown/image/img_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/image/img_2.png -------------------------------------------------------------------------------- /Markdown/image/img_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/image/img_3.png -------------------------------------------------------------------------------- /Markdown/image/img_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/image/img_4.png -------------------------------------------------------------------------------- /Markdown/数据库下载文档.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/Markdown/数据库下载文档.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/README.md -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/config/config.go -------------------------------------------------------------------------------- /docs/更新日志.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/docs/更新日志.md -------------------------------------------------------------------------------- /frontend/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/index.html -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/postcss.config.js -------------------------------------------------------------------------------- /frontend/public/about.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/public/about.svg -------------------------------------------------------------------------------- /frontend/public/gitee-svgrepo-com.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/public/gitee-svgrepo-com.svg -------------------------------------------------------------------------------- /frontend/public/github-mark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/public/github-mark.svg -------------------------------------------------------------------------------- /frontend/public/setting_logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/public/setting_logo.svg -------------------------------------------------------------------------------- /frontend/public/settings-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/public/settings-icon.svg -------------------------------------------------------------------------------- /frontend/src/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/App.jsx -------------------------------------------------------------------------------- /frontend/src/ProtectedRoute.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/ProtectedRoute.jsx -------------------------------------------------------------------------------- /frontend/src/assets/styles/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/assets/styles/main.css -------------------------------------------------------------------------------- /frontend/src/components/AdvancedSearchForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/AdvancedSearchForm.tsx -------------------------------------------------------------------------------- /frontend/src/components/BasicSearchForm.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/BasicSearchForm.jsx -------------------------------------------------------------------------------- /frontend/src/components/BookItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/BookItem.tsx -------------------------------------------------------------------------------- /frontend/src/components/BookListItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/BookListItem.tsx -------------------------------------------------------------------------------- /frontend/src/components/HeaderIcons.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/HeaderIcons.jsx -------------------------------------------------------------------------------- /frontend/src/components/Layout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/Layout.jsx -------------------------------------------------------------------------------- /frontend/src/components/Pagination.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/Pagination.jsx -------------------------------------------------------------------------------- /frontend/src/components/RemoteAccess.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/RemoteAccess.jsx -------------------------------------------------------------------------------- /frontend/src/components/ResultsList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/ResultsList.tsx -------------------------------------------------------------------------------- /frontend/src/components/SearchTabs.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/components/SearchTabs.jsx -------------------------------------------------------------------------------- /frontend/src/main.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/main.jsx -------------------------------------------------------------------------------- /frontend/src/pages/AdminPage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/pages/AdminPage.jsx -------------------------------------------------------------------------------- /frontend/src/pages/LoginPage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/pages/LoginPage.jsx -------------------------------------------------------------------------------- /frontend/src/pages/ResultsPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/pages/ResultsPage.tsx -------------------------------------------------------------------------------- /frontend/src/pages/SearchPage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/pages/SearchPage.jsx -------------------------------------------------------------------------------- /frontend/src/store/useGlobalStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/store/useGlobalStore.ts -------------------------------------------------------------------------------- /frontend/src/types/Book.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/types/Book.ts -------------------------------------------------------------------------------- /frontend/src/types/Settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/types/Settings.ts -------------------------------------------------------------------------------- /frontend/src/utils/filename.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/utils/filename.ts -------------------------------------------------------------------------------- /frontend/src/utils/format.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/src/utils/format.ts -------------------------------------------------------------------------------- /frontend/tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/tailwind.config.js -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /frontend/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/frontend/vite.config.js -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/go.sum -------------------------------------------------------------------------------- /instance/说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/instance/说明.txt -------------------------------------------------------------------------------- /internal/adapters/calibre_adapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/adapters/calibre_adapter.go -------------------------------------------------------------------------------- /internal/adapters/legacy_adapter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/adapters/legacy_adapter.go -------------------------------------------------------------------------------- /internal/api/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/api/middleware.go -------------------------------------------------------------------------------- /internal/api/query_params.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/api/query_params.go -------------------------------------------------------------------------------- /internal/api/search_cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/api/search_cache.go -------------------------------------------------------------------------------- /internal/api/search_merge.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/api/search_merge.go -------------------------------------------------------------------------------- /internal/api/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/api/server.go -------------------------------------------------------------------------------- /internal/core/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/core/types.go -------------------------------------------------------------------------------- /internal/infra/db_manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/infra/db_manager.go -------------------------------------------------------------------------------- /internal/infra/db_manager_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/infra/db_manager_test.go -------------------------------------------------------------------------------- /internal/infra/sqlitecfg/sqlite.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/infra/sqlitecfg/sqlite.go -------------------------------------------------------------------------------- /internal/tools/deps.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/internal/tools/deps.go -------------------------------------------------------------------------------- /log/说明.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/log/说明.txt -------------------------------------------------------------------------------- /logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/logger/logger.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/main.go -------------------------------------------------------------------------------- /models/book.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/models/book.go -------------------------------------------------------------------------------- /search/builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/search/builder.go -------------------------------------------------------------------------------- /search/builder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/search/builder_test.go -------------------------------------------------------------------------------- /search/fts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/search/fts.go -------------------------------------------------------------------------------- /search/fts_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/search/fts_test.go -------------------------------------------------------------------------------- /static/about.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/static/about.svg -------------------------------------------------------------------------------- /static/gitee-svgrepo-com.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/static/gitee-svgrepo-com.svg -------------------------------------------------------------------------------- /static/github-mark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/static/github-mark.svg -------------------------------------------------------------------------------- /static/setting_logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/static/setting_logo.svg -------------------------------------------------------------------------------- /static/settings-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/static/settings-icon.svg -------------------------------------------------------------------------------- /static/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/static/settings.json -------------------------------------------------------------------------------- /utils/net.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Hellohistory/EbookDatabase/HEAD/utils/net.go --------------------------------------------------------------------------------