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 可读取 ChatStyle 从 Click 注册表生成的完整实时命令树;chatshare --tree-brief 显示省略参数签名的同一命令面。隐藏兼容入口不会出现在产品树中。

文档

开发约定见 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.3.tar.gz (28.0 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.3-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chatshare-0.2.3.tar.gz
  • Upload date:
  • Size: 28.0 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.3.tar.gz
Algorithm Hash digest
SHA256 3076bca103c2e8f64393a0a0f386cf1e3369e6142eee0e79c8843a9ed1c2a10a
MD5 4711c771d2e8616e81302adf4540f326
BLAKE2b-256 b9dbcf969526414d941299bbb5c093e2ea26bdfec9e54228fcfae19097862aa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatshare-0.2.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: chatshare-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 21.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 47c43919dc0ce0aba3f6904f9fbacb368de7b4e2a5794b9bbb4e8e0b24a08368
MD5 46b1923c7d1b7595929bf2d83fbc0bec
BLAKE2b-256 0da8b2d10c8a2918ce98e0e9b0c34adf938561016ac9c0a24a311b7532cce513

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatshare-0.2.3-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

This release

0.2.3 This release

2 files

0.2.2

2 files

0.2.1

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