You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cadence Ember fa37786b8f
Just use numerical seconds for sleep - BSD compat
11 months ago
data Ask whether to use Tor 2 years ago
utils add counter restart feature 3 years ago
.clone.sh Update most GitHub links 3 years ago
.gitignore Initial commit 3 years ago
LICENSE Initial commit 3 years ago
README.md Add navigation section to readme 3 years ago
clean.fish Change to the directory of the script first 3 years ago
install.fish Require graphicsmagick 2 years ago
modify.fish Add modify script 2 years ago
run.fish Just use numerical seconds for sleep - BSD compat 11 months ago

README.md

Bibliogram updater

A collection of scripts to easily install and update Bibliogram.

Navigation

Quick start

git clone https://git.sr.ht/~cadence/bibliogram-updater

Run ./run.fish to run Bibliogram, and to install it and its requirements if they don't already exist. Updates will be installed automatically.

Run ./clean.fish to clean up the installation.

After installing

You may want to do some of these things:

It didn't work!

Please open an issue so I can fix it! Please tell me as much information as possible, most importantly the command you ran and the output on the console.

If you don't like GitHub, you can talk to me privately, or join the discussion room on Matrix: #bibliogram:matrix.org

What's a fish?

The scripts are written in fish. You'll need to install fish: https://fishshell.com/

You do not have to set fish as your default shell. The scripts have #! lines, which makes them run in fish no matter what shell you are using.

If you want to port this to bash, please go ahead! I would have written it in bash originally for convenience, but I don't know bash.

What do the scripts do?

run.fish

  1. It will update itself if an update is available.
  2. If Bibliogram isn't already installed, it will run install.fish.
  3. It will update Bibliogram.
  4. It will run Bibliogram.
  5. It will attempt to update Bibliogram from Git. If the update is successful, it will restart Bibliogram.

install.fish

  1. It will check that git, wget and nc are available, and will ask you to install them if they aren't.
  2. If node isn't installed, it will download a copy to use from then on.
  3. It will clone the Bibliogram repo.
  4. It will run npm install.
  5. It will guide you through setting up website_origin, port, feeds/enabled, and does_not_track.
  6. It will send you back to run.fish.

clean.fish

  1. It will ask you for confirmation, then delete any files and directories that the other scripts created.