[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-110866":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":27,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":31,"lastSyncTime":32,"discoverSource":33},110866,"dalibre","djyde\u002Fdalibre","djyde","A lightweight Calibre alternative","https:\u002F\u002Fdalibre.randynamic.org",null,"Go",419,23,1,14,0,7,59,257,30,85.14,false,"main",[25,26],"calibre","ebook","2026-11-23 12:36:29","2026-11-23 14:58:43","# Dalibre\n\nA calm, fast desktop library for e-books that reads and writes **calibre\nlibraries**. Written in Go with [MyGo](https:\u002F\u002Fgithub.com\u002Fegoist\u002Fmygo)'s native\nUI: no webview, no cgo, one binary.\n\n\u003Cimg width=\"3038\" height=\"2176\" alt=\"CleanShot 2026-11-09 at 19 18 34@2x\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F6439498c-3d99-4ac8-b446-7c3b2a39d0c1\" \u002F>\n\nDesign: [Figma — Dalibre](https:\u002F\u002Fwww.figma.com\u002Fdesign\u002FtZg6AMrNXoz9VYoa1xZoCo\u002FDalibre)\n\n## Develop\n\n```sh\ngo tool mygo dev .\u002Fcmd\u002Fdalibre        # run with live reload\ngo test .\u002F...                         # unit + view tests (no window needed)\ngo run .\u002Fcmd\u002Fseed \"testdata\u002FSample Library\"   # a sample library to play with\n```\n\nPoint the app at a library with `DALIBRE_LIBRARY` (PowerShell:\n`$env:DALIBRE_LIBRARY=\"C:\\path\\to\\Library\"`); otherwise it opens the last one\nused, then the one calibre itself uses.\n\nView tests can save screenshots: `DALIBRE_SHOTS=\u003Cfolder> go test .\u002Finternal\u002Fapp`.\n\nBuild a release (exe + installer in `cmd\u002Fdalibre\u002Fbuild`):\n\n```sh\ngo tool mygo build .\u002Fcmd\u002Fdalibre\n```\n\n### Release\n\nDalibre updates itself from this repository's GitHub releases. Releases\nare signed with the update key of `go tool mygo keygen`, which is the\n`MYGO_UPDATER_PRIVATE_KEY` secret of the repository; keep a copy in a\npassword manager, as installed apps only accept updates it signs.\n\n1. Bump `version` in `cmd\u002Fdalibre\u002Fmygo.json`, and add its `## \u003Cversion>`\n   section to [CHANGELOG.md](CHANGELOG.md): the update window shows it.\n2. Commit, then tag and push: `git tag v0.2.0 && git push origin v0.2.0`.\n3. The [Release workflow](.github\u002Fworkflows\u002Frelease.yml) builds every\n   platform into a draft release. Publish the draft, and installed apps\n   update to it.\n\nThe workflow signs the macOS app with the Developer ID and notarizes it,\nfrom the `MACOS_CERTIFICATE` and `MACOS_CERTIFICATE_PASSWORD` secrets, and\nan App Store Connect API key in `APPLE_API_KEY`, `APPLE_API_KEY_ID` and\n`APPLE_API_ISSUER` (see the top of the workflow). `mygo.json`\nleaves signing out, so local builds are signed ad hoc.\n\n## Layout\n\n```\ncmd\u002F\n  dalibre\u002F            the app: main.go, mygo.json, resources\u002Ficon.png\n  seed\u002F               creates a sample calibre library for development\n  dalibre-plugin\u002F     CLI for plugin authors (npm: dalibre-plugin): init, check, dev, docs, pack, install\nplugins\u002F\n  gutenberg\u002F          Project Gutenberg, built into the app (dalibre.gutenberg)\n  googlebooks\u002F        Google Books metadata lookup, built into the app (dalibre.googlebooks)\n  neodb\u002F              NeoDB metadata lookup, built into the app (dalibre.neodb)\nsdk\u002F                  for plugin authors: dalibre.d.ts, plugin.schema.json, template\ninternal\u002F\n  calibre\u002F            calibre library access: schema, SQL functions its\n                      triggers need, naming rules, CRUD, OPF\n  ebookmeta\u002F          title\u002Fauthors\u002Fcover from EPUB, MOBI\u002FAZW3 and file names\n  catalog\u002F            search, filters, sorting and sidebar counts (no UI)\n  plugin\u002F             plugins: manifest, sandboxed JS runtime, consent, packages\n  mcp\u002F                the MCP server: tools, call log, stdio bridge\n  settings\u002F           user settings persisted as JSON\n  thumbs\u002F             on-disk cover thumbnails\n  app\u002F                state, actions and views of the window\n    theme\u002F            design tokens (Radix Colors, spacing, radii) and fonts\n    icons\u002F            Lucide icons\n    widgets\u002F          the Figma library's components\n```\n\n## Plugins\n\nGet books (in the sidebar) searches and browses book sources and adds\nwhat you pick to your library. Project Gutenberg is built in; anyone can\nadd a source as a plugin: a `plugin.json` and a JavaScript file, run\nsandboxed inside Dalibre. See\n[Writing Dalibre plugins](docs\u002Fplugins\u002FREADME.md), also in the CLI\n(`npx dalibre-plugin@latest docs`), and the\n[design](docs\u002Fplugins\u002Fdesign.md).\n\n## MCP\n\nYour own agents (Claude Code, Claude Desktop, Cursor…) can use the open\nlibrary over MCP: search it, edit metadata, add books, and convert\nformats with their own tools. See\n[Using Dalibre with your agents](docs\u002Fmcp\u002FREADME.md) and the\n[design](docs\u002Fmcp\u002Fdesign.md).\n\n## Compatibility with calibre\n\n- New libraries use calibre's own `metadata.db` schema (user_version 28).\n- Dalibre registers the SQL functions calibre's triggers call (`title_sort`,\n  `uuid4`, …), so writes behave as calibre's do.\n- Book folders and files follow calibre's naming (`Author\u002FTitle (id)\u002FTitle -\n  Author.ext`, transliterated to ASCII), and move when the title or first\n  author changes.\n- Edits write `metadata.opf` and mark the book in `metadata_dirtied`, so\n  calibre refreshes it next time.\n- Removed books go to the system Recycle Bin.\n\n## Licenses\n\n`internal\u002Fcalibre\u002Fmetadata_sqlite.sql` comes from calibre (GPL-3.0). Fonts\n(Inter, Geist Mono) are under the SIL Open Font License; icons\nare Lucide (ISC); colors are Radix Colors (MIT).\n","Dalibre 是一个轻量级的 Calibre 替代桌面电子书管理工具，专为高效浏览、组织和编辑 Calibre 格式电子书库而设计。它原生支持 Calibre 数据库（SQLite）与元数据结构，可直接读写 Calibre 库文件；采用 Go 编写，基于 MyGo 框架实现纯本地 GUI（无 WebView、无 cgo），单二进制分发，启动快、资源占用低。适合追求简洁界面、快速响应和本地隐私保护的电子书爱好者及 Calibre 用户迁移使用。",2,"2026-11-24 04:39:50","CREATED_QUERY"]