Skip to main content
PyPI 版本 测试状态 文档
[中文版](README.md) | [英文版](README.en.md)

ChatShare

ChatShare 是 ChatArch 管理的文件分享 CLI。当前后端固定为 Dufs,提供可审计的二进制安装、配置、用户级服务生命周期,以及本机文件导入与直达 URL 生成。

安全默认值

  • Dufs 固定安装到 ~/.chatarch/chatshare/runtimes/dufs/,不写系统目录。
  • 服务只绑定 127.0.0.1;公网入口应由独立反向代理任务配置。
  • 浏览、下载和内联查看默认匿名可访问;HTTP/WebDAV PUT 等写入操作需要 Dufs HTTP Digest Auth。
  • 删除和符号链接访问默认关闭。
  • Linux 生命周期使用 systemd --user,不使用 killpkill 或不受控后台进程。

最短流程

uv tool install ChatShare
chatshare dufs install
chatenv init -t chatshare -I
chatenv set CHATSHARE_DUFS_BASE_URL=https://share.public.wzhecnu.cn -I
chatenv set CHATSHARE_DUFS_USERNAME=chatshare -I
read -rsp "Dufs writer password: " CHATSHARE_DUFS_PASSWORD && echo
printf 'CHATSHARE_DUFS_PASSWORD=%s\n' "$CHATSHARE_DUFS_PASSWORD" | chatenv paste --stdin -y -I
unset CHATSHARE_DUFS_PASSWORD
chatshare dufs init
chatshare dufs service install
chatshare dufs start
printf 'hello from ChatShare\n' > hello-share.txt
chatshare put ./hello-share.txt examples/hello-share.txt
chatshare url examples/hello-share.txt

运行 chatshare --tree 可读取由 Click 注册表生成的实时命令树;隐藏兼容入口不会出现在产品树中。

文档

开发约定见 DEVELOP.mdAGENTS.md

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatshare-0.2.1.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatshare-0.2.1-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file chatshare-0.2.1.tar.gz.

File metadata

  • Download URL: chatshare-0.2.1.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatshare-0.2.1.tar.gz
Algorithm Hash digest
SHA256 94a62bee7705b6c600a87bb5280039a4f218c9199135a0c61c92d2fd72b37be1
MD5 5b3af9a56b17b692b8f77eaaa981e7e3
BLAKE2b-256 df75b6a90fe2618f1231ce3cf1d63ad350130cff7907f9b2738c25a9eccc1904

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatshare-0.2.1.tar.gz:

Publisher: publish.yml on ChatArch/ChatShare

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chatshare-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: chatshare-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for chatshare-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ffd9c9aaf0193f4a4cd07f4dd2aaea67a33f1b75c37cd06a44f35e199351548
MD5 34280739e79a3d768ed876aee685ef73
BLAKE2b-256 4b207a82eb65e37c7e0c6dc6c910e813194d9a982b29ccd7ac6cbbfc428f51cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatshare-0.2.1-py3-none-any.whl:

Publisher: publish.yml on ChatArch/ChatShare

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.3

2 files

0.2.2

2 files

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page