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

文档

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: chatshare-0.2.0.tar.gz
  • Upload date:
  • Size: 26.3 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.0.tar.gz
Algorithm Hash digest
SHA256 ce8c8a987aff001bffe194ffcbd33af351478b456136ed3047cbba07d59a7da3
MD5 54754a9ecf0630a4db0721f48b00a344
BLAKE2b-256 a1b2d94f4d01c1755f02c3db0948654defbcd3523225e174e6bf9655d6204f30

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: chatshare-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15c6d6f2604c6e09612abb4ca80c588a1c1e50d61054e55644a636e8cdc551fd
MD5 6af051334d40e74b058dd2cdf3871e25
BLAKE2b-256 e47d839a241919258b31a87eba896b41e69c6e3281fc056fc960be1f801fa273

See more details on using hashes here.

Provenance

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

0.2.1

2 files

This release

0.2.0 This release

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