Command line interface for managing your Reocities site
Project description
Reocities CLI
Manage your Reocities site from the command line — push a whole folder, upload or delete single files, pull your site back down, and more.
Install
pip install reocities-cli
This installs a reocities command. Works on Linux, macOS, and Windows
(Python 3.6+).
Getting started
Grab an API key from your site's configuration page, then:
reocities login YOUR_API_KEY
reocities push ./my-site
Instead of login you can pass credentials per-command or via the environment:
export REOCITIES_API_KEY=...
reocities --api-key YOUR_API_KEY list
Commands
| Command | What it does |
|---|---|
login <api-key> |
Save your API key to ~/.reocities/config |
logout |
Forget the saved key |
push [dir] |
Upload a whole directory (honors .gitignore / .reocitiesignore) |
upload <files...> [--folder F] |
Upload individual files |
pull [dir] [--folder F] |
Download your site to a local folder |
list [--folder F] [--recursive] |
List files on your site |
cat <path> |
Print a remote file to stdout |
mkdir <name> [--parent P] |
Create a folder |
delete <paths...> |
Delete files or folders |
whoami |
Show the active site and storage use |
open |
Open your site in a browser |
version |
Print the version |
Useful flags
push --dry-run— show what would upload without sending anything.push --no-overwrite/upload --no-overwrite— skip files that already exist.--base-url https://example.com— point at a self-hosted instance.
Ignoring files
push skips anything matched by .gitignore or .reocitiesignore in the
directory you're uploading, and always skips .git/.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reocities_cli-2.0.0.tar.gz.
File metadata
- Download URL: reocities_cli-2.0.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c44f5184c1448ad7d0481a00fe24d2f5b690d785748dfd47935d51c00f04b4ad
|
|
| MD5 |
41e396cecce7624af5ffdaba9c88f452
|
|
| BLAKE2b-256 |
bf99904a9d9c094dd62b99de08bd9e504e4d0167726542917abbcf1b8a003d7a
|
Provenance
The following attestation bundles were made for reocities_cli-2.0.0.tar.gz:
Publisher:
publish.yml on reocities/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reocities_cli-2.0.0.tar.gz -
Subject digest:
c44f5184c1448ad7d0481a00fe24d2f5b690d785748dfd47935d51c00f04b4ad - Sigstore transparency entry: 1739611284
- Sigstore integration time:
-
Permalink:
reocities/cli@bb35aca43811e87dca5a4bac8157ba012315c431 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reocities
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bb35aca43811e87dca5a4bac8157ba012315c431 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file reocities_cli-2.0.0-py3-none-any.whl.
File metadata
- Download URL: reocities_cli-2.0.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
519928cc60145d9f32a23ecd31d2a9492b150b4db5c98dfcbd5a04976f8cae87
|
|
| MD5 |
4811473ef5331181932495a3676b9f50
|
|
| BLAKE2b-256 |
03df8714079811255eb4247e991f758384d3524cff452e2a803d8ccdd605625e
|
Provenance
The following attestation bundles were made for reocities_cli-2.0.0-py3-none-any.whl:
Publisher:
publish.yml on reocities/cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
reocities_cli-2.0.0-py3-none-any.whl -
Subject digest:
519928cc60145d9f32a23ecd31d2a9492b150b4db5c98dfcbd5a04976f8cae87 - Sigstore transparency entry: 1739611521
- Sigstore integration time:
-
Permalink:
reocities/cli@bb35aca43811e87dca5a4bac8157ba012315c431 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/reocities
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bb35aca43811e87dca5a4bac8157ba012315c431 -
Trigger Event:
workflow_dispatch
-
Statement type: