Python CLI tool to convert Evernote .enex files to individual HTML files with media preservation.
See README.md for full documentation.
# Convert ENEX files
enex-html-archive -i /path/to/enex/files -o /path/to/output
# With theme selection
enex-html-archive -i ./input -o ./output --theme light# Install in development mode
uv pip install -e ".[dev]"
# Install pre-commit hooks
uv run pre-commit install
# Run checks
uv run pre-commit run --all-files
uv run mypy src/enex2html
uv run ruff check src/enex2html
uv run black src/enex2htmlsrc/enex2html/- Main packagecli.py- CLI interfaceconverter.py- Core conversion logicparser.py- ENEX file parsingcontent_processor.py- HTML cleanup and media handlinghtml_generator.py- HTML generationtemplates.py- Template enginetemplates/- HTML templatesthemes/- CSS themes (light/dark)
- Prefer fixing linting issues properly rather than adding suppressions (noqa comments)