Catalog PyPI
PACKAGE EXPLORERView in registry

aigc2md

PyPI

convert AIGC to hugo markdown

Versions collected1
Direct dependencies6From release 0.2.1
Last observed21 Oct, 10:45 UTC

README

Version 0.2.1 documentation

aigc2md

PyPI-aigc2md

convert AIGC to hugo markdown, current only support OpenWebUI API 将 AIGC 生产的内容转化为 hugo markdown 格式,当前仅支持调用 OpenWebUI API

How to Use by Github Actions

    - name: convert AIGC to hugo markdown
      uses: x-actions/aigc2md@v1
      env:
        OPEN_WEBUI_JWT: "<JWT>"
        LOG_LEVEL: "DEBUG"

use as cli

$ pip install aigc2md

$ aigc2md --help
usage: aigc2md [--version] [--debug] <subcommand> ...

Command-line interface for convert AIGC to hugo markdown.

Positional arguments:
  <subcommand>
    chats          chats actions.
    render         render actions.
    users          list users.
    bash-completion
                   Prints all of the commands and options to stdout so that the aigc2md.bash_completion script
                   doesn't have to hard code them.
    help           Display help about this program or one of its subcommands.

Options:
  --version        show program's version number and exit
  --debug          Print debugging output.

See "aigc2md help COMMAND" for help on a specific command.

$ aigc2md users
+--------------------------------------+--------+---------------------+---------+------------------------------------------------+------------+----------------+
|                  ID                  |  name  |        email        |   role  |                     system                     | created_at | last_active_at |
+--------------------------------------+--------+---------------------+---------+------------------------------------------------+------------+----------------+
| a856afee-389e-4fc2-9431-dbac432912a1 | 谢先斌 |   me@xiexianbin.cn  |  admin  | 使用中文回答,除代码和专用名词外尽量不使用英文 | 2024-08-11 09:35:00 |   2024-08-11 09:35:00   |
+--------------------------------------+--------+---------------------+---------+------------------------------------------------+------------+----------------+

$ aigc2md chats
+--------------------------------------+---------------------------------+---------------------+---------------------+
|                  ID                  |              title              |      updated_at     |      created_at     |
+--------------------------------------+---------------------------------+---------------------+---------------------+
| ef0bdafc-045c-41eb-aba5-c841e31c2fd8 |          😊 简单问候语          | 2024-09-16 17:20:27 | 2024-09-16 17:20:19 |
+--------------------------------------+---------------------------------+---------------------+---------------------+

$ aigc2md render --id cab178a2-ba80-4008-a72d-1eb41c21e6c4
Lama3.1介绍一下 render to /Users/xiexianbin/workspace/code/github.com/x-actions/aigc2md-python/output/Lama3.1介绍一下.md ...

Dev and Test

  • local run
# create venv
python3 -m venv .venv
source .venv/bin/activate

# install
pip3 install -r requirements.txt

# set env
export OPEN_WEBUI_JWT="<JWT>"

# dev
export PYTHONPATH=$PYTHONPATH:$(pwd)
python3 aigc2md/shell.py --help
python3 aigc2md/shell.py help xxx
  • tests
python3 -m unittest aigc2md.tests.unit.test_http.HTTPTestCase.test_http_get

Downloads & popularity

1downloads
1-day window · source-reported counts20 Oct 2026
52.50
2026-07-23: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-07-23–2026-07-232026-07-24: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-07-24–2026-07-242026-07-25: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-07-25–2026-07-252026-07-27: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-07-27–2026-07-272026-07-29: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-07-29–2026-07-292026-08-01: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-01–2026-08-012026-08-02: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-02–2026-08-022026-08-06: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-06–2026-08-062026-08-07: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-07–2026-08-072026-08-09: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-09–2026-08-092026-08-11: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-11–2026-08-112026-08-14: 3 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-14–2026-08-142026-08-15: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-15–2026-08-152026-08-16: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-16–2026-08-162026-08-17: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-17–2026-08-172026-08-21: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-21–2026-08-212026-08-23: 4 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-23–2026-08-232026-08-24: 5 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-24–2026-08-242026-08-25: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-25–2026-08-252026-08-28: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-28–2026-08-282026-08-31: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-08-31–2026-08-312026-09-01: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-09-01–2026-09-012026-09-04: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-09-04–2026-09-042026-09-06: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-09-06–2026-09-062026-09-07: 3 · observed 2026-10-21T12:33:02.7714926Z · period 2026-09-07–2026-09-072026-09-08: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-09-08–2026-09-082026-09-26: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-09-26–2026-09-262026-09-27: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-09-27–2026-09-272026-09-30: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-09-30–2026-09-302026-10-02: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-02–2026-10-022026-10-06: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-06–2026-10-062026-10-08: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-08–2026-10-082026-10-09: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-09–2026-10-092026-10-10: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-10–2026-10-102026-10-11: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-11–2026-10-112026-10-13: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-13–2026-10-132026-10-14: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-14–2026-10-142026-10-17: 2 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-17–2026-10-172026-10-18: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-18–2026-10-182026-10-20: 1 · observed 2026-10-21T12:33:02.7714926Z · period 2026-10-20–2026-10-20
23 Jul20 Oct

pypistats · 40 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-20 – 2026-10-2012026-10-21T12:33:02.7714926Z
2026-10-18 – 2026-10-1812026-10-21T12:33:02.7714926Z
2026-10-17 – 2026-10-1722026-10-21T12:33:02.7714926Z
2026-10-14 – 2026-10-1412026-10-21T12:33:02.7714926Z
2026-10-13 – 2026-10-1312026-10-21T12:33:02.7714926Z
2026-10-11 – 2026-10-1122026-10-21T12:33:02.7714926Z
2026-10-10 – 2026-10-1012026-10-21T12:33:02.7714926Z
2026-10-09 – 2026-10-0912026-10-21T12:33:02.7714926Z
2026-10-08 – 2026-10-0812026-10-21T12:33:02.7714926Z
2026-10-06 – 2026-10-0612026-10-21T12:33:02.7714926Z
2026-10-02 – 2026-10-0222026-10-21T12:33:02.7714926Z
2026-09-30 – 2026-09-3022026-10-21T12:33:02.7714926Z
2026-09-27 – 2026-09-2712026-10-21T12:33:02.7714926Z
2026-09-26 – 2026-09-2622026-10-21T12:33:02.7714926Z
2026-09-08 – 2026-09-0822026-10-21T12:33:02.7714926Z
2026-09-07 – 2026-09-0732026-10-21T12:33:02.7714926Z
2026-09-06 – 2026-09-0622026-10-21T12:33:02.7714926Z
2026-09-04 – 2026-09-0412026-10-21T12:33:02.7714926Z
2026-09-01 – 2026-09-0112026-10-21T12:33:02.7714926Z
2026-08-31 – 2026-08-3122026-10-21T12:33:02.7714926Z
2026-08-28 – 2026-08-2812026-10-21T12:33:02.7714926Z
2026-08-25 – 2026-08-2522026-10-21T12:33:02.7714926Z
2026-08-24 – 2026-08-2452026-10-21T12:33:02.7714926Z
2026-08-23 – 2026-08-2342026-10-21T12:33:02.7714926Z
2026-08-21 – 2026-08-2112026-10-21T12:33:02.7714926Z
2026-08-17 – 2026-08-1722026-10-21T12:33:02.7714926Z
2026-08-16 – 2026-08-1612026-10-21T12:33:02.7714926Z
2026-08-15 – 2026-08-1522026-10-21T12:33:02.7714926Z
2026-08-14 – 2026-08-1432026-10-21T12:33:02.7714926Z
2026-08-11 – 2026-08-1112026-10-21T12:33:02.7714926Z
2026-08-09 – 2026-08-0912026-10-21T12:33:02.7714926Z
2026-08-07 – 2026-08-0712026-10-21T12:33:02.7714926Z
2026-08-06 – 2026-08-0612026-10-21T12:33:02.7714926Z
2026-08-02 – 2026-08-0212026-10-21T12:33:02.7714926Z
2026-08-01 – 2026-08-0112026-10-21T12:33:02.7714926Z
2026-07-29 – 2026-07-2912026-10-21T12:33:02.7714926Z
2026-07-27 – 2026-07-2722026-10-21T12:33:02.7714926Z
2026-07-25 – 2026-07-2512026-10-21T12:33:02.7714926Z
2026-07-24 – 2026-07-2422026-10-21T12:33:02.7714926Z
2026-07-23 – 2026-07-2322026-10-21T12:33:02.7714926Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.116 Sept 20246

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

ACCESSIBLE
x-actions/aigc2md

Shared repository data · GitHub

License detected in repository
Apache-2.0
License branch / ref
main
Last push
8 Mar 2025
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

0count
Gauge · observed snapshots21 Oct 2026
10.50
2026-10-21: 0 · observed 2026-10-21T22:27:16.6490057Z
21 Oct21 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2102026-10-21T22:27:16.6490057Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:45 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:295a694a1602293e6efc5ea11c940daa54705ecb89f155eeb7ac4671e3e20fa7