11-05-2008, 04:36 PM | #1 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Browse your calibre book collection from anywhere
As of version 0.4.102 (released later today) calibre has a built-in webserver that will allow you to access your books from anywhere in the world using a web browser. See attached screenshots
You can run the server from the GUI by using the config dialog or from the command line by using the command calibre-server Note that while running both the command line server and the GUI at the same time is possible, it is not recommended. At the moment the web interface allows readonly access (i.e. you cannot add books or edit metadata). Enjoy. |
11-06-2008, 12:54 AM | #2 |
Fanatic
Posts: 532
Karma: 1062755
Join Date: Aug 2005
Location: London, UK
Device: Kobo Aura One, iPad, iPhone
|
Nice, I'll give it a try today
|
Advert | |
|
11-06-2008, 05:51 AM | #3 | |
Fanatic
Posts: 532
Karma: 1062755
Join Date: Aug 2005
Location: London, UK
Device: Kobo Aura One, iPad, iPhone
|
Quote:
|
|
11-06-2008, 07:03 AM | #4 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm looks like the windows freezing process has left out a few neccessary modules. I'll fix that in the next release.
|
11-06-2008, 01:13 PM | #5 | |
Member
Posts: 21
Karma: 1000
Join Date: Aug 2008
Location: Czech Republic
Device: PRS-505, Kobo Glo
|
Quote:
|
|
Advert | |
|
11-06-2008, 02:07 PM | #6 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Does that happen on startup or when you make a request? calibre requires cherrypy >= 3.1 It has a bundled sherrypy but your system cherrypy appears to be interfering.
Last edited by kovidgoyal; 11-06-2008 at 02:52 PM. |
11-07-2008, 04:36 AM | #7 |
Member
Posts: 21
Karma: 1000
Join Date: Aug 2008
Location: Czech Republic
Device: PRS-505, Kobo Glo
|
Startup is apparently ok (no errors in server log), but I get previously mentioned error message when I click "Test server", or try access the server directly from a web browser. I don't have any system-wide version of Cherrypy installed. Python version is 2.5.2.
|
11-07-2008, 11:00 AM | #8 |
Junior Member
Posts: 9
Karma: 10
Join Date: Nov 2008
Device: prs505
|
Really liking this feature
I run Calibre on a machine inside my home network and I have an Apache server on the edge of the network. I serve all the internal applications I use (Well, those with web interfaces) to the outside using this server via mod_proxy and mod_proxy_html (if required). Calibres new web UI *nearly* works with this out of the box. The issue I have is the gui.js file has references to /library and /get (The ajax calls for data) ... and I can't easily rewrite those. Would you consider changing gui.js so that it's aware of the path it's been served from and sticks that in front of those two URIs? Maybe using something like: Code:
path = self.location.pathname.substring(0,self.location.pathname.lastIndexOf('/'))); |
11-07-2008, 11:20 AM | #9 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
|
11-07-2008, 01:33 PM | #10 | |
Guru
Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Quote:
Is your goal to get this to run under Apache directly? |
|
11-07-2008, 01:49 PM | #11 |
Groupie
Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
|
11-07-2008, 02:14 PM | #12 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
11-07-2008, 02:17 PM | #13 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
How have you installed calibre? via the binary installer or easy_install?
|
11-07-2008, 02:37 PM | #14 |
creator of calibre
Posts: 44,350
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Cold
Would it help if gui.js used relative paths instead of absolute ones? EDIT: I've changed gui.js to use the hostname+absolute path Last edited by kovidgoyal; 11-07-2008 at 04:10 PM. |
11-07-2008, 04:52 PM | #15 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS+ 300 (Browse Folders, Book History, Key Bindings, Dictionary, epub customization) | kartu | Sony Reader | 137 | 03-06-2012 03:20 PM |
Calibre Collection (can I transfer) | madcatz990 | Calibre | 3 | 09-27-2010 06:13 PM |
calibre - collection metadata? | roffles | Calibre | 7 | 09-08-2010 10:08 PM |
Cannot browse other sites after using Calibre Content Server | duckbill | Amazon Kindle | 0 | 09-08-2010 12:08 AM |
calibre creates collection on Sony PRS700 but does not transfer book into it | leday | Calibre | 3 | 12-22-2009 12:45 PM |