blg

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

README

blg - Command line blog client

blg is based on cl-journal, but is written in go in order to make contributing and distribution easier.

Supported services:

Supported features:

  • File based blog management
  • blg supports both pushing to remote services and pulling from them
  • Image upload is supported in case service implementation supports it
  • Remote changes are merged into existing posts, including remote images
  • During post download all the image paths are changed to the local one to allow to comfortably edit files locally

Here is a demo!

Blg demo

Philosophy

blg tries to leave as much as possible to the discretion of a particular service implementation. For example, No assumption is made about the post headers or the format used by post body. The client only deals with all the surrounding machinery like cli handling, storing files etc.

If you're curious or want to implement the support for your service, please have a look on interface definition and pcom implementation to get the idea.

Installation

Install Script

Download blg and install into a local bin directory.

MacOS, Linux, WSL

Latest version:

curl -L https://raw.githubusercontent.com/can3p/blg/master/generated/install.sh | sh

Specific version:

curl -L https://raw.githubusercontent.com/can3p/blg/master/generated/install.sh | sh -s 0.0.4

The script will install the binary into $HOME/bin folder by default, you can override this by setting $CUSTOM_INSTALL environment variable

Manual download

Get the archive that fits your system from the Releases page and extract the binary into a folder that is mentioned in your $PATH variable.

Notes

The project has been scaffolded with the help of kleiner

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
generated
pkg
ops

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL