Skip to content
a-lpPublic

About

As the name suggests, I made Nocument because I don't want to work with documents, but my job requires it. This repository's purpose is to let users focus on the content of their documents instead of their layout.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Nocument

Nocument makes writing Word documents easier by moving the focus to the content instead of manual work in Word.

Define a Word template once, build documents from it with reusable content blocks, fill in keywords such as <VERSION> or <DATE> and export the result as PDF or Word. The web app (Flask + Svelte) is available in English and Italian.

Home page: the welcome sheet and the first step of the workflow guide

Installation

With Docker (web app, LibreOffice and MongoDB):

cp .env.example .env    # optional: uncomment the variables to change
docker compose up -d --build

Open http://localhost:8080. The web app has no authentication: on a server reachable by others, set NOCUMENT_PLUGIN_UPLOAD=false.

To run it on the host (Python 3.10+, Node.js 20.19+, and LibreOffice or Microsoft Word), see Installation. All the options are listed in Configuration.

Features

  • Compiler: fills in the keywords of a Word document (<NAME>) with text, images or tables, with a live PDF preview.
  • Builder: edits a document as a graph of its contents, where you insert, move and edit headings, paragraphs, images and tables.
  • Templates: documents to start from, saved from the Builder or imported from Word.
  • Content blocks: reusable groups of contents, written on an A4 sheet or imported from Word.
  • Plugins: plugins bring external data (databases, APIs, files...) into the documents. A plugin creates contents (headings, paragraphs, images and tables), which the Builder, the content blocks and the Compiler insert like the ones written by hand. See the wiki for using and installing and writing plugins.
  • Settings: language, light and dark mode with custom themes, the PDF renderer, the version and the environment variables.
Compiler
Compiler
Builder
Builder
Templates
Templates
Content editing
Content editing
Explore contents
Explore contents
Plugin page
Plugin page
Installed plugins
Installed plugins
Install plugin
Install plugin
Settings
Settings

Development

python3 -m venv .venv && .venv/bin/pip install -r requirements.txt   # once, on the host
docker compose -f compose.dev.yaml up --build                        # http://localhost:5173, auto-reload

Without Docker, run python -m src.app and cd web && npm run dev in two terminals (on Windows, run-dev.bat). Before committing, run python scripts/check_locales.py to check the translations.

The developer documentation is in the wiki: the project structure, the pages and the API, how to write plugins, and more.

About

As the name suggests, I made Nocument because I don't want to work with documents, but my job requires it. This repository's purpose is to let users focus on the content of their documents instead of their layout.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages