1

Citadel, a Calibre-compatible eBook management app

 5 months ago
source link: https://github.com/every-day-things/citadel
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Repository files navigation

Citadel

Manage your ebook library with Citadel. Backwards compatible with Calibre.

Citadel.overview.mp4

Project goals

  • Backwards compatible with Calibre: Calibre must be able to read any library that Citadel has edited.
  • Good UX: Citadel should be easy to use and look good.
  • Performant: Citadel should feel just as fast as Calibre.

Non-goals

  • E-book reader: Citadel is not an e-book reader, there are many other tools that do a much better job than we could do.
  • ...or editor: If you're using Calibre's CLI tools to edit your ebooks, open a discussion. Let's see if we can build a better solution.
  • 100% feature parity: Primarily around Plugins, but there are some advanced features of Calibre we'll likely never build.

Developing

As a prerequisite, you'll need to install Bun.

bun install

bun run dev
# or just bun dev

To view the app without Tauri, which will have errors as the Rust backend is missing, run:

bun dev:app

To run the backend in server mode for development, run

bun dev -- -- -- -- --server --calibre-library=/path/to/calibre/library

Yes, that is 4 pairs of --s. This is because Bun will pass the first pair to another bun run command, the second will go to tauri dev, the third will go to vite dev, and finally the last set will go to Cargo when running the backend. It's a mess!

To run the backend in server mode for production, run

/Applications/Citadel.app/Contents/MacOS/Citadel --server --calibre-library=/path/to/calibre/library

Building

To create a production version of Citadel:

bun run build

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK