Skip to main content

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


Download files

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

Source Distribution

reocities_cli-2.0.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

reocities_cli-2.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for reocities_cli-2.0.0.tar.gz
Algorithm Hash digest
SHA256 c44f5184c1448ad7d0481a00fe24d2f5b690d785748dfd47935d51c00f04b4ad
MD5 41e396cecce7624af5ffdaba9c88f452
BLAKE2b-256 bf99904a9d9c094dd62b99de08bd9e504e4d0167726542917abbcf1b8a003d7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for reocities_cli-2.0.0.tar.gz:

Publisher: publish.yml on reocities/cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for reocities_cli-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 519928cc60145d9f32a23ecd31d2a9492b150b4db5c98dfcbd5a04976f8cae87
MD5 4811473ef5331181932495a3676b9f50
BLAKE2b-256 03df8714079811255eb4247e991f758384d3524cff452e2a803d8ccdd605625e

See more details on using hashes here.

Provenance

The following attestation bundles were made for reocities_cli-2.0.0-py3-none-any.whl:

Publisher: publish.yml on reocities/cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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