{"id":30184624,"url":"https://github.com/studyresearchprojects/rewritt","last_synced_at":"2025-08-30T15:27:29.783Z","repository":{"id":104134084,"uuid":"430569804","full_name":"StudyResearchProjects/rewritt","owner":"StudyResearchProjects","description":"Self-hostable service for EPUB to PDF conversion.","archived":false,"fork":false,"pushed_at":"2021-12-19T20:19:18.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-06T00:42:55.773Z","etag":null,"topics":["convert","epub","pdf"],"latest_commit_sha":null,"homepage":"","language":"Python","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/StudyResearchProjects.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-22T05:06:04.000Z","updated_at":"2025-08-05T22:21:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc332844-ece0-4cca-ab5a-9835f2aa17be","html_url":"https://github.com/StudyResearchProjects/rewritt","commit_stats":{"total_commits":19,"total_committers":1,"mean_commits":19.0,"dds":0.0,"last_synced_commit":"a448398663d3cddcaf9dfee0db8c196cd8ff0283"},"previous_names":["leoborai/rewritt","estebanborai/rewritt","studyresearchprojects/rewritt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StudyResearchProjects/rewritt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frewritt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frewritt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frewritt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frewritt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StudyResearchProjects","download_url":"https://codeload.github.com/StudyResearchProjects/rewritt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudyResearchProjects%2Frewritt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270064257,"owners_count":24520928,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["convert","epub","pdf"],"created_at":"2025-08-12T12:43:46.497Z","updated_at":"2025-08-12T12:43:52.524Z","avatar_url":"https://github.com/StudyResearchProjects.png","language":"Python","readme":"\u003cdiv\u003e\n  \u003ch1 align=\"center\"\u003erewritt\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n    Self-hostable service for EPUB to PDF conversion.\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## Motivation\n\nSome of my virtual library books are EPUB files, but this format is not supported\nby my favorite reading application, [PDFExpert from Readdle], the name makes\nvery obvious that the application is specialized on PDF file reading.\n\nSo I wanted to write my own conversion helper, theres a lot of work to be done\nwith this solution, but as most of the setup is done and main conversion (text\nonly) is already supported, all I have left is working on a complete conversion.\n\n## Usage\n\n### Run with Docker\n\nA docker image is included to run this application without having to setup every\ndepencency manually.\n\n```bash\ndocker-compose up\n```\n\nIf no `PORT` environment variable was provided, the service must be available at http://0.0.0.0:5000.\n\n## Development\n\nThis project makes use of `pyenv` and `pipenv`, make sure you install the\nPython version specified in `.python-version` and use a virtual enviroment to\nwork with this project locally.\n\n```bash\npython --version\n\u003e 3.10.0\n```\n\nInstall dependencies using Pipenv:\n\n```bash\npython -m pipenv install\n```\n\nFinally create or initialize the Pipenv shell in the repository directory:\n\n```bash\npython -m pipenv shell\n```\n\nWhen you are done working with this project, make sure you exit the Pipevn shell\nby runing the `exit` command.\n\n### Code Style\n\nWe use Black for code styling in this repository.\nInstall Black as follows:\n\n```bash\npipenv install black\n```\n\nThen execute it against all Python files in the codebase:\n\n```bash\npython -m black ./**/*.py\n```\n\n### Pyright Config\n\nIf you are using Pyright make sure you create a config file like the\nfollowing with the contents:\n\n```js\n// pyrightconfig.json\n{\n  \"venvPath\": \"\u003cVirtual Environments Directory Path\u003e\",\n  \"venv\": \"\u003cVirtual Environment Directory Name\u003e\",\n}\n```\n\n## License\n\nLicensed under the MIT License\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudyresearchprojects%2Frewritt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudyresearchprojects%2Frewritt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudyresearchprojects%2Frewritt/lists"}