Answers.Body: <p>Decided to look for this again today, and found some GitHub repositories and scripts. I tested the ones that looked more promising (recently updated, easy setup), and it seems like both did the job well.</p>
  
  <ul>
  <li><a href="https://github.com/geek1011/kepubify" rel="nofollow noreferrer"><code>kepubify</code></a>. Written in <a href="https://golang.org/" rel="nofollow noreferrer">Go</a>, <a href="https://github.com/geek1011" rel="nofollow noreferrer">the author</a> is reasonably active and seems to be generally interested in the subject of kepubs, judging from the repos.</li>
  <li><a href="https://github.com/matthistuff/kepuber" rel="nofollow noreferrer"><code>kepuber</code></a>, written in <a href="https://nodejs.org/" rel="nofollow noreferrer">Node.js</a>.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-20T19:03:02.700Z
Answers.Text: Hi. I'm the author of kepubify. A quick note: as of November 2017, there are conversion problems on Windows, which I am working on fixing. The Linux and macOS versions work fine.
Answers.UserDisplayName: geek1011
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-22T22:33:25.657Z
Answers.Text: I have fixed the issue on Windows.
Answers.UserDisplayName: geek1011
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-03T23:19:23.333Z
Answers.LastActivityDate: 2017-09-03T23:19:23.333Z
Answers.UserDisplayName: user137369
Answers.Body: <p>This might not be the exact answer to your question, but you can select multiple files on your calibre library, right click, select <code>convert</code> > <code>group convert</code>, and on the following window select <code>kepub</code> as the output format (provided that you have installed the corresponding plugin).<br>
  If your concern was to convert multiple files at once, this could be a solution.</p>
  
  <p>Another thing that you might want to try, is to go to the program settings, go in the <code>Add books</code> section, and check the second tab <code>Automatic adding</code>: here you can specify a folder where Calibre will look for books to be automatically imported in your library, and optionally convert them to a format of your liking; again, this could be a solution to your issue.</p>
  
  <p>If you wanted to include the conversion process in a script, however, these tricks won't be useful; I'm not very knowledgeable of Calibre CLI interface, so I can't help you further.</p>
  
  <p><strong>Please Note</strong> that I'm using Calibre with the italian interface, so the previous menu entries can be a little different from what I've written, they are just what I've translated on-the-fly.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-30T13:49:58.203Z
Answers.Text: Thank you, but I’m really looking to do it via CLI.
Answers.UserDisplayName: user137369
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T07:17:23.020Z
Answers.Text: I'm sorry then, I can't help you. You could try carefully reading the official Calibre manual and documentation, and visit the forums at Mobileread, they have a section dedicated to Calibre visited by the developers too.
Answers.UserDisplayName: Sekhemty
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-09T13:54:45.667Z
Answers.Text: That wouldn’t help. My time would be better spent by reading up on the differences between a kepub and an epub (since they’re pretty similar) and building a tool myself for the conversion, than going on a rabbit hunt. I’m trying to find if there is a way to do it already precisely to avoid that.
Answers.UserDisplayName: user137369
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-30T09:50:06.197Z
Answers.LastActivityDate: 2015-08-30T09:50:06.197Z
Answers.UserDisplayName: Sekhemty
Body: <p>I’m trying to convert <code>epub</code>s to the <code>kepub</code> format, but would like to automate the process by doing it via CLI.</p>
  
  <p>So far, I had no luck in finding a tool that would allow it. Closest I found was a <a href="https://github.com/jgoguen/calibre-kobo-driver" rel="noreferrer">KePub Output plugin</a> for Calibre, but <a href="https://bugs.launchpad.net/calibre-kobo-driver/+bug/1481534" rel="noreferrer">it fails to work on the command-line, and won’t be fixed for a long while</a>.</p>
  
  <p>Is there a tool I’m missing?</p>
  
Tags: <epub><kobo><kobo-glo>
Title: Convert epub to kepub from command-line
UserDisplayName: user137369
ThreadText: # Convert epub to kepub from command-line
  
  (Asked by: username_0 on 2015-08-29)
  
  I’m trying to convert `epub`s to the `kepub` format, but would like to automate the process by doing it via CLI.
  
  So far, I had no luck in finding a tool that would allow it. Closest I found was a [KePub Output plugin](https://github.com/jgoguen/calibre-kobo-driver) for Calibre, but [it fails to work on the command-line, and won’t be fixed for a long while](https://bugs.launchpad.net/calibre-kobo-driver/+bug/1481534).
  
  Is there a tool I’m missing?
  
  **Tags:** epub, kobo, kobo-glo
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2017-09-03. Score: 0 | Accepted answer
  
  Decided to look for this again today, and found some GitHub repositories and scripts. I tested the ones that looked more promising (recently updated, easy setup), and it seems like both did the job well.
  
  * [`kepubify`](https://github.com/username_1/kepubify). Written in [Go](https://golang.org/), [the author](https://github.com/username_1) is reasonably active and seems to be generally interested in the subject of kepubs, judging from the repos.
  * [`kepuber`](https://github.com/matthistuff/kepuber), written in [Node.js](https://nodejs.org/).
  
  > **Comments:**
  > **username_1**: Hi. I'm the author of kepubify. A quick note: as of November 2017, there are conversion problems on Windows, which I am working on fixing. The Linux and macOS versions work fine.  
  > **username_1**: I have fixed the issue on Windows.  
  
  ---
  
  ### Answer by username_2 on 2015-08-30. Score: 0
  
  This might not be the exact answer to your question, but you can select multiple files on your calibre library, right click, select `convert` > `group convert`, and on the following window select `kepub` as the output format (provided that you have installed the corresponding plugin).  
  If your concern was to convert multiple files at once, this could be a solution.
  
  Another thing that you might want to try, is to go to the program settings, go in the `Add books` section, and check the second tab `Automatic adding`: here you can specify a folder where Calibre will look for books to be automatically imported in your library, and optionally convert them to a format of your liking; again, this could be a solution to your issue.
  
  If you wanted to include the conversion process in a script, however, these tricks won't be useful; I'm not very knowledgeable of Calibre CLI interface, so I can't help you further.
  
  **Please Note** that I'm using Calibre with the italian interface, so the previous menu entries can be a little different from what I've written, they are just what I've translated on-the-fly.
  
  > **Comments:**
  > **username_0**: Thank you, but I’m really looking to do it via CLI.  
  > **username_2**: I'm sorry then, I can't help you. You could try carefully reading the official Calibre manual and documentation, and visit the forums at Mobileread, they have a section dedicated to Calibre visited by the developers too.  
  > **username_0**: That wouldn’t help. My time would be better spent by reading up on the differences between a kepub and an epub (since they’re pretty similar) and building a tool myself for the conversion, than going on a rabbit hunt. I’m trying to find if there is a way to do it already precisely to avoid that.  
  
  ---
  
  