https://github.com/pekrau/writethatbook
Web app for writing books using Markdown files allowing references and indexing, creating DOCX or PDF.
https://github.com/pekrau/writethatbook
docx-generator fasthtml markdown pdf-generator python webapp
Last synced: about 1 month ago
JSON representation
Web app for writing books using Markdown files allowing references and indexing, creating DOCX or PDF.
- Host: GitHub
- URL: https://github.com/pekrau/writethatbook
- Owner: pekrau
- License: mit
- Created: 2024-12-14T14:18:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-12T19:42:02.000Z (over 1 year ago)
- Last Synced: 2025-02-12T20:33:53.615Z (over 1 year ago)
- Topics: docx-generator, fasthtml, markdown, pdf-generator, python, webapp
- Language: Python
- Homepage:
- Size: 7.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WriteThatBook
Web app for writing books using Markdown files, allowing references and
indexing, creating DOCX or PDF.
- Content files in Markdown format.
- Contents hierarchically organized into sections (directories) and texts (files).
- Interactive editing and rearrangement of sections and texts.
- Reference handling.
- Indexing of terms.
- Footnotes.
- Export contents to DOCX or PDF file.
## Installation notes
Environment variables:
- WRITETHATBOOK_DIR: Absolute path to the directory containing the data. Required.
- WRITETHATBOOK_USERID: User name for the first administrator user. Required
at initialization of a new instance for creating the first account.
- WRITETHATBOOK_PASSWORD: Password for the first administrator user.
Required at initialization of a new instance for creating the first account.
- WRITETHATBOOK_DEVELOPMENT: When defined, puts app into development mode. Optional.
## Software
This code has been lovingly hand-crafted. No AI tools were used in its development.
Written in [Python](https://www.python.org/) using:
- [FastHTML](https://fastht.ml/)
- [pico CSS](https://picocss.com/)
- [Marko](https://marko-py.readthedocs.io/)
- [python-docx](https://python-docx.readthedocs.io/en/latest/)
- [fpdf2](https://py-pdf.github.io/fpdf2/)
- [PyYAML](https://pypi.org/project/PyYAML/)
- [bibtexparser](https://pypi.org/project/bibtexparser/)