Skip to main content

Phigros云存档服务器。

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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

谢谢他们和它们

Project details


Download files

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

Source Distribution

phi_cloud_server-0.1.2b0.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

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

phi_cloud_server-0.1.2b0-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file phi_cloud_server-0.1.2b0.tar.gz.

File metadata

  • Download URL: phi_cloud_server-0.1.2b0.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for phi_cloud_server-0.1.2b0.tar.gz
Algorithm Hash digest
SHA256 b07f05c416c1d1a9a05ed17780c2bb3602a990a0ddef71b9ea5f7be9a13e75ae
MD5 6a3d42c7418a5a3ba879f21ecab504b5
BLAKE2b-256 510a5cc1f12244bb6976d083c3f1fb7552e69598bbcb2a72fd5a25d35c742382

See more details on using hashes here.

File details

Details for the file phi_cloud_server-0.1.2b0-py3-none-any.whl.

File metadata

File hashes

Hashes for phi_cloud_server-0.1.2b0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cb4e47103a3d3cf14597262ee41292e486fdec3bcf5702c92f176736bf3a080
MD5 89d5fe47a4c9a8748bffa26edbbaf9db
BLAKE2b-256 621461531514ff2a37f1b14facd8bc80d1f6facf59448abfbcce1eb1913babe8

See more details on using hashes here.

Supported by

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