Skip to main content

# goss Github Object Storage System 使用 Github 构建类似 oss 的对象储存工具,本工具可以很方便的管理 github 数据,可以很方便的搭建图床

*暂不支持 windows 系统*

创建仓库

![goss1](https://raw.githubusercontent.com/wxnacy/image/master/blog/goss1.gif)

上传本地图片

![goss2](https://raw.githubusercontent.com/wxnacy/image/master/blog/goss3.gif)

## 安装

使用 pip 安装非常方便

`bash $ pip install goss `

更新

`bash $ pip install --upgrade goss `

## 快速开始

goss 的命令格式基本遵守了 RESTful 风格

### 登录

`bash $ goss-cli login `

配置

`bash $ goss-cli config repo.name <repo-name> # 配置默认仓库名 $ goss-cli config repo.path <path> # 配置上传文件时默认的地址或目录,默认为根目录 `

### 上传文件

`bash $ goss <filepath|url> # 上传文件到默认的仓库和地址 $ goss <filepath|url> -r <repo-name> # 指定一个仓库 $ goss <filepath|url> -p <path> # 指定一个地址或目录 `

### 仓库管理

`bash $ goss-cli repo # 查看仓库列表 $ goss-cli repo <repo-name> # 查看指定仓库 $ goss-cli repo <repo-name> -m post # 创建仓库 $ goss-cli repo <repo-name> -m delete # 删除仓库 `

### 文件管理

`bash $ goss-cli file # 查看默认仓库根目录下所有文件 $ goss-cli file <path> # 查看指定文件详情或指定目录下文件列表 $ goss-cli file -r <repo-name> # 查看指定仓库 $ goss-cli file <path> -m delete # 删除指定文件 `

更多使用请使用帮助命令 goss-cli –help 或者 goss-cli <cmd> –help

Metadata

Release files for goss 0.1.8

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

Source distribution (sdist)

Source distribution for goss 0.1.8
File Size Uploaded Provenance Actions
goss-0.1.8.tar.gz 14.4 kB Without provenance Details for goss-0.1.8.tar.gz

Release files / goss-0.1.8.tar.gz

Download URL goss-0.1.8.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
46a3bce22383a3fe77b551004c31b58247b72d47253f28dc1e17db7bf02e8699
BLAKE2b-256 checksum
How to use checksums
36719dbe4101027652e9b83faacfffb1c0bcab47cb74c9b683e8b60d43475d4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.0

Security for goss 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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