rsync wrapper for managing a gemlog
Go to file
Hugh Rundle 3f1bd0aded fix sync and improve UI
- sync default should be down, not up!
- add colour to help info
- add message to publish so it doesn't look like it's hanging
- fix spelling errors

fixes #1
fixes #3
2023-04-01 15:42:53 +11:00
src fix sync and improve UI 2023-04-01 15:42:53 +11:00
.gitignore first commit 2023-02-26 17:56:57 +11:00
Cargo.lock first commit 2023-02-26 17:56:57 +11:00
Cargo.toml first commit 2023-02-26 17:56:57 +11:00
install.sh update install script 2023-02-26 20:49:56 +11:00
README.md update install script 2023-02-26 20:49:56 +11:00

soyuz-cli

This is the sister application to soyuz-web.

soyuz-cli can be used alone or on combination with soyuz-web to publish and syncronise a gemlog between your local machine and your gemini server.

It is essentially a wrapper around rsync. Additionally it will maintain an archive of posts for each year, and the latest 5 posts on your gemlog homepage.

Assumptions

  1. You are using MacOS locally and a unix-like OS on the server (it probably works on n*x locally but I haven't tested it)
  2. If you have text under the list of latest posts on your homepage, you have at least 5 posts listed already (I could have put in some logic to deal with this but I am lazy)
  3. You have rsync installed on your local machine
  4. You have read and write permission for your gemlog files on the server, with the same username as your local machine (otherwise file permissions get weird)
  5. You have permission to install files at /usr/local/bin on your local machine

Installation

The easiest way to install soyuz-cli is using the install script. If you are using MacOS, run this command in Terminal:

curl https://hugh.run/install-soyuz | bash

Alternatively, you can build from source if you have rust and cargo installed.