07-31-2010, 07:18 PM | #1 |
Member
Posts: 18
Karma: 12048
Join Date: Jul 2010
Device: kobo
|
calibre server and client synch?
I know this isn't a feature, to my knowledge, but would it be possible to have a central database running calibre, and have client versions synching to a server?
The reason I ask, is that I have calibre installed on a Macbook Pro, a Macbook, my Windows 7 machine I use as an office and gaming machine, and my linux server which will eventually be running all sorts of services using ESXi. I would LOVE to have calibre clients on either of the Macbooks and the Windows 7 machine to have access to a calibre install with all my recent additions, news feeds, etc. My kobo needs physical access to calibre to transfer the files over, so it becomes cumbersome for me to bring my kobo downstairs (where I don't hang out most often) when I could simply connect it to either of my Macbooks and then transfer the content I have on my linux server. I just like trying to centralize things because I'm geeky that way! Hell, I don't even go downstairs to turn on either of my computers, I use WoLAN! hehehe Thanks! |
08-01-2010, 02:06 AM | #2 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Calibre running in a client server mode is on the road map - but not currently a feature. Just do not expect it any time soon.
|
Advert | |
|
08-03-2010, 02:21 AM | #3 |
Member
Posts: 18
Karma: 12048
Join Date: Jul 2010
Device: kobo
|
It's nice to know it will eventually, maybe, show up.
|
08-04-2010, 10:24 AM | #4 |
Enthusiast
Posts: 45
Karma: 220
Join Date: Jul 2010
Device: none
|
Thanks for asking and answering this question -- I want to do the same! I want my server to download newspapers each day, and then when I turn on my laptop or desktop I want my local Calibre to sync with the server before I hook up my ereader.
So, add me to this feature request! ps Calibre is awesome! |
08-04-2010, 11:34 AM | #5 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Waiting for a client-server redesign is probably not the fastest way to do what you want. You may want to look at setting up the Content Server for remote access to all your books, or, look at a shared/replicated setup with DropBox or folder synchronization software.
|
Advert | |
|
08-06-2010, 11:53 AM | #6 |
Enthusiast
Posts: 45
Karma: 220
Join Date: Jul 2010
Device: none
|
The problem is that I want to have my newspapers automatically download to the server while my desktop computer is off. As far as I can tell, the content server (under linux) requires x.org. Is that correct?
Since my server is just a command line system, I can't run the content server. Is there another way of autodownloading newspapers and having them properly converted/formatted for my Kindle that can be run at the command line? |
08-06-2010, 01:02 PM | #7 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
It's odd that you say you can't run the content server because you have a command line system. I run an ancient Debian command line only server, and one of its few functions is to run Apache - a web server. That's all that the Calibre Content Server is - just a web server. Nonetheless, if you can't install Calibre, you can't run the content server portion or the news portion. Also, I have no idea how a client server design for Calibre might take shape, but it's quite possible that it will still require a full install of Calibre. |
|
08-06-2010, 02:47 PM | #8 |
Enthusiast
Posts: 45
Karma: 220
Join Date: Jul 2010
Device: none
|
Thanks for the feedback. Yes, I run a web server. The issue is really that I need a command line tool to download newspapers once each day. Once I did that, I could create a script to sync the directory my newspaper downloader downloads into with Calibre on my desktop machine and Calibre could then handle the conversion process for my Kindle.
The key here is that I really like how Calibre downloads the newspapers. If that is done with a script itself, all I would need is that and I could use cron to schedule it to run each day. |
08-06-2010, 03:09 PM | #9 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre has a full command line interface for all its functions, including news download. The command you need is ebook-convert
|
08-06-2010, 03:13 PM | #10 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
It's not done with a script - at least not as you're thinking of it. The news system uses "recipes" that refer to Python classes/methods deeply integrated into Calibre. All of the pieces of Calibre can be run from the command line, including the news fetching of recipes, but you need the other parts of Calibre to be correctly installed. OTOH, if you can get Calibre installed, you could run a cron job to fetch news. I do all my design and testing of recipes outside of the Calibre GUI. It's entirely command line operated, but it needs the underlying installation of Calibre to work.
|
08-06-2010, 11:04 PM | #11 |
Enthusiast
Posts: 45
Karma: 220
Join Date: Jul 2010
Device: none
|
Thanks for the info. So, I would need to install all of the libraries for Calibre (which in my case includes installing X.org) in order to just get the non-graphical elements to work. However, that would all primarily be a question of disk space, since I wouldn't have to actually run the parts of Calibre that use X and the other window rendering stuff.
I'll think about it. Maybe I'll just turn on my desktop a few minutes before I want to sync my ebook reader so that it has time to download. |
09-15-2010, 05:20 PM | #12 |
Enthusiast
Posts: 45
Karma: 220
Join Date: Jul 2010
Device: none
|
So, I'm finally thinking about running a script to download a newspaper based on the Calibre recipes. However, I don't see how to use ebook-convert or any of the other scripts to do so. Can anyone give me an example of the command I'd need to issue in order to download today's New York Times (or any other paper) and convert it to mobi format from the command line?
Could I then use calibre-smtp to send it using my gmail? Thanks in advance. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding ODPS client to calibre (Bug #1665, Download from Bookshelf/Stanza servers) | hakan42 | Calibre | 11 | 12-05-2010 12:19 PM |
Calibre mail server | Gwen Morse | Calibre | 18 | 10-30-2010 09:39 PM |
Calibre Content Server | TonytheBookworm | Calibre | 2 | 09-07-2010 09:47 PM |
Calibre server | zzmijarevic | Calibre | 10 | 08-21-2010 06:40 AM |
Using Calibre as a client for another Calibre instance? | toddos | Calibre | 27 | 06-30-2010 04:57 AM |