Skip to main content

hugo manager

import from wordpress db

  • convert wp posts to markdown files
  • convert wp comments to isso db
  • generate redirect settings for nginx

manage hugo settings

  • generate single patch (diff from theme)
  • apply patch
  • convert/reformat yaml <-> toml

manage isso comments

  • list comments
  • send mail recent comments

manage static site

  • generate .gz for nginx's gzip_static on;
  • generate .br for nginx-mod-brotli's brotli_static on;
  • optimize images
  • convert/reformat rdf1.0 <-> rss2.0 <-> atom

manage open-webui chat

  • convert chat to hugo's markdown

tutorial (convert wordpress to hugo+isso)

  • (build hugomgmt package)
    • python -m build -w
  • dump your wordpress database
    • mysqldump ... > data/sql/wordpress.sql
  • rsync your wordpress uploads dir
    • rsync -av wp_server:/path/to/wordpress/wp-content/uploads/ data/uploads/
  • boot local db and hugomgmt shell
    • docker compose up -d
  • docker compose exec shell sh
    • hugo new site
      • apk add hugo
      • hugomgmt wp-init-hugo --output /hugo
      • hugomgmt isso-initdb
    • apply theme
      • apk add git
      • git clone --depth=1 https://github.com/Junyi-99/hugo-theme-anubis2.git /hugo/theme/your-theme
        • ... or other favorite theme
    • convert contents
      • mkdir /hugo/content
      • hugomgmt wp-convpost-all --copy-resource /hugo/content
      • hugomgmt wp-convcomment-all
    • view hugo site
      • cd /hugo && hugo serve

related links

Metadata

Release files for hugomgmt 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for hugomgmt 0.2
File Interpreter ABI Platform Actions
hugomgmt-0.2-py3-none-any.whl Python 3 none any Details for hugomgmt-0.2-py3-none-any.whl

Release files / hugomgmt-0.2-py3-none-any.whl

Download URL hugomgmt-0.2-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e130dacaf13f0dcd750901509bef398ac77772e07e7b8228be86178a070db358
BLAKE2b-256 checksum
How to use checksums
00abd473e3cdeb1080aa6116f63a38118acdb981335b3d1c267daccd07db1bfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for hugomgmt 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page