{"id":14037141,"url":"https://github.com/chrisanthropic/Open-Publisher","last_synced_at":"2025-07-27T05:30:31.325Z","repository":{"id":55632140,"uuid":"53753003","full_name":"chrisanthropic/Open-Publisher","owner":"chrisanthropic","description":"Using Jekyll to create outputs that can be used as Pandoc inputs. In short - input markdown, output mobi, epub, pdf, and print-ready pdf. With a focus on fiction.","archived":true,"fork":false,"pushed_at":"2020-12-16T17:42:41.000Z","size":8794,"stargazers_count":244,"open_issues_count":13,"forks_count":27,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-09-29T04:41:02.764Z","etag":null,"topics":["ebook","ebooks","epub","fiction","jekyll","latex","latex-template","mobi","pandoc","pdf","publishing","self-publishing"],"latest_commit_sha":null,"homepage":"https://github.com/chrisanthropic/Open-Publisher/wiki","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisanthropic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-12T20:57:25.000Z","updated_at":"2024-07-27T22:09:19.000Z","dependencies_parsed_at":"2022-08-15T05:00:36.616Z","dependency_job_id":null,"html_url":"https://github.com/chrisanthropic/Open-Publisher","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisanthropic%2FOpen-Publisher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisanthropic%2FOpen-Publisher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisanthropic%2FOpen-Publisher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisanthropic%2FOpen-Publisher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisanthropic","download_url":"https://codeload.github.com/chrisanthropic/Open-Publisher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227762515,"owners_count":17816035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ebook","ebooks","epub","fiction","jekyll","latex","latex-template","mobi","pandoc","pdf","publishing","self-publishing"],"created_at":"2024-08-12T03:02:31.117Z","updated_at":"2024-12-02T16:32:05.030Z","avatar_url":"https://github.com/chrisanthropic.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"## What is Open-Publisher\nOpen publisher is really just a couple of bash scripts that wrap around Jekyll, Pandoc, KindleGen, and LaTeX, along with some custom Pandoc templates created with a focus on fiction.\n\nWrite your manuscript in markdown, run a script, and receive some beautifully formatted ePub, Mobi, and print-ready PDF books.\n\nFull documentation on the [wiki](https://github.com/chrisanthropic/Open-Publisher/wiki)\n\n## Why is Open-Publisher\nMy wife is [an author](https://www.backthatelfup.com) and I handle all of the digital/print book creation. After 4+ years of using various tools I decided to streamline my process.\n\nIt can be a pain to manually update a Bio page with new information or new books for example. Doing a simple thing like that for 3 formats of a dozen books can take time and introduces the possibility of new typos with every change.\n\nPandoc is a great tool to convert markdown files to html/epub/pdf/etc., but its epub templating is still very minimalistic. It requires multiple stages to create a template that allows me to reuse common pages such as biography, licensing, etc.\n\nI love Jekyll and use it whenever I can for web design. One of my favorite aspects is the ability to define 'code chunks' in the _includes folder and then use references to it wherever I want. Change that include file, rebuild, and every reference to it on your website is updated. It's that kind of logic that I need for creating my books.\n\nBy using Jekyll's templating I'm able to create files that slightly differ based on need. The mandatory Smashwords title page for example, or a custom Title page with Amazon URLs to other books.\n\nJekyll allows me to create custom templates, multiple 'includes', and then output them into a perfectly formatted Markdown file.\n\nThis markdown file can then be passed along to Pandoc and converted to epub/mobi/pdf.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisanthropic%2FOpen-Publisher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisanthropic%2FOpen-Publisher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisanthropic%2FOpen-Publisher/lists"}