Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Phigros-Cloud-Server

基于 FastAPI 实现的 Phigros 云存档服务端。测试阶段,不代表生产可用。

PyPI

食用方法(使用)

  1. 安装
pip install phi-cloud-server
  1. 启动
phi_cloud_server
  1. 想办法替换 Phigros 客户端里的云存档服务器地址,本项目不提供教程。

[!WARNING] 请自行承担修改客户端行为所带来的风险,本项目不提供非法用途相关支持。

配置

配置路径均在软件输出,暂不提供更换配置路径。

TODO

已知问题:

  • 修复第一次上传获取的存档为空毕竟给我折腾了2天写在这里也合理吧
  • 必须新建存档2次后才能正常上传存档(不影响正常客户端,会丢失第一次云存档,后续不会丢失)(纯内存数据库没这个问题主播主播你的数据库确实挺强势,就是容易写好多bug啊)

API实现:

  • 上/下传存档
  • 上/下传存档 Summary
  • 上/下传用户信息
  • 刷新用户sessionToken
  • TapTap登录(默认不开启,有安全风险)

API扩展:

  • 注册新用户
  • 主动推送响应事件(目前仅支持 WebSocket 方式) 查看扩展 API 食用教程,或在配置文件中,把docs字段更改成true后,访问FastAPI自带的文档。

其他

  • 打包并发布到 PyPI
  • 使用持久化数据库
  • 更多功能请开issue

谢谢他们和它们

Metadata

Release files for phi-cloud-server 0.1.2b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phi-cloud-server 0.1.2b0
File Size Uploaded
phi_cloud_server-0.1.2b0.tar.gz 25.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phi-cloud-server 0.1.2b0
File Interpreter ABI Platform
phi_cloud_server-0.1.2b0-py3-none-any.whl Python 3 none any Details

Total release size: 53.8 kB

Release files / phi_cloud_server-0.1.2b0.tar.gz

Download URL phi_cloud_server-0.1.2b0.tar.gz
Size 25.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b07f05c416c1d1a9a05ed17780c2bb3602a990a0ddef71b9ea5f7be9a13e75ae
BLAKE2b-256 checksum
How to use checksums
510a5cc1f12244bb6976d083c3f1fb7552e69598bbcb2a72fd5a25d35c742382
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21

Release files / phi_cloud_server-0.1.2b0-py3-none-any.whl

Download URL phi_cloud_server-0.1.2b0-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1cb4e47103a3d3cf14597262ee41292e486fdec3bcf5702c92f176736bf3a080
BLAKE2b-256 checksum
How to use checksums
621461531514ff2a37f1b14facd8bc80d1f6facf59448abfbcce1eb1913babe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.21
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page