|11-05-2012, 05:22 PM||#1|
Join Date: Nov 2012
use parts of calibre
It is my first question in this forum. I have tried already to understand the parts of code of calibre. I am afraid without help I will not come further.
I have following idea. On a low resource system (OpenWrt - operating system) I would need just a small part of the calibre. Just one command called by Cronjob:
ebook-convert /opt/calibre/resources/recipes/foo.recipe bar.mobi
(You can than mail the output file using an external program.)
The advantage would be an access to the thousands of existing recipes (no need to reinvent the wheel). And of course the ebook-reader friendly output format.
The setup of the whole calibre would be difficult because of the lack of resources and unresolved dependencies.
How can I extract the right files from the source? Which files do I need?
How shall I put them on the right place?
Do I need a wrapper for the cli.py?
Which dependencies will have this part of calibre?
Is any further procedure needed (like install script from the calibre)?
My question goes in the direction of the http://manual.calibre-ebook.com/faq.html#id65 but afaik I know no binaries exist for the target platform.
Thanks in advance
|12-28-2012, 02:51 PM||#2|
Join Date: Dec 2012
Device: Kindle DXG, Kindle 3
I'm also a newbie and looking to do the same sort of thing. As I understand it, each recipe is a piece of python script so what you need to focus on is getting python on your platform and then you'll be able to steal recipes to run your downloads.
Now your particular OS is an embedded Linux aimed at wireless routers? and you're trying to run the downloads on a router? That might be a bit ambitious as you'll likely run out of resources when processing even a modest web site to extract the data you want.
Obviously if anyone can point me at a thread with some more info on this I'd much appreciate it to save headaches as I want to run this on my NAS which conveniently has Python 2.7 installed... but I much prefer to run the full featured Calibre as a Windows client on my PCs to manage my library (which resides on the NAS without any issues)
|02-11-2013, 11:05 PM||#3|
Join Date: Jul 2010
Device: Kindle 3, Kindle Fire HD
Anyhow- I don't even know if it's possible to run it on OpenWRT - but if it was - that would be great to be able to just run the calibre content server off off a mini router and USB flash drive! (I've used a TP-link WR703N and been impressed so far with it, considering it costs $23 USD and only draws about .5 W!)
thanks for any advice!
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|New Around These Parts...||Wald07||Introduce Yourself||5||04-23-2012 08:13 AM|
|Calibre-Conversion: Parts and Chapters||linzerkipferl||Conversion||2||02-05-2012 04:14 PM|
|DR1000 for parts||DSAzevedo||iRex||0||03-30-2010 03:12 PM|
|New to these parts...||stacynak||Introduce Yourself||2||02-27-2009 03:03 PM|