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.2.tar.gz (28.1 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.2-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chatshare-0.2.2.tar.gz
  • Upload date:
  • Size: 28.1 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.2.tar.gz
Algorithm Hash digest
SHA256 872d59650dd6bbf1f4b6769f5f6e2b136d8c2df2265cae97996c76e2d68b2eaf
MD5 f133afd550ccf4fb66b3b3736af0a134
BLAKE2b-256 afe99bb12ef14d54859cc399fd0c2ff97b2d3de641ca8e2d48583ffa0137e3f0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: chatshare-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c7c920f3c78504a798854c3723b0cde06e743d5a33c2f624a78275751ec58c2
MD5 7764127cdb4ae4e578b5e23772ec656d
BLAKE2b-256 1f2a54feb390bcac73540cfc80e9bbed3773ffddf79f5cead515097f782e66f7

See more details on using hashes here.

Provenance

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

This release

0.2.2 This release

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