Skip to main content

A command line interface for managing your Jekyll Blog

Project description

jekyll-manager

What is jekyll-manager?

Jekyll-Manager is a command-line tool that acts as an interface to manage your jekyll blog.

Currently, the extent of the tool covers managing posts (listing, viewing, editing, creating and deleting), but plans to cover more. Your suggestions are always welcome!

QuickStart (Method One: with pip)

Jekyll-Manager is available for download via pip (page here).

To download, you simply need to run:

pip install jekyll-manager

How to run

If you installed it via pip, then it's quite easy to run.

There are 3 ways (currently) to run the program:

  1. Type in jekyll-manager </relative/path/to/jekyll-blog> to manage your blog.
  2. Traverse to the root of your jekyll blog directory, then type in jekyll-manager to manage your blog.
  3. Set the environement variable JEKYLL_ROOT to point to your jekyll blog directory, and run jekyll-manager from anywhere.

Jekyll-Manager will find your blog in the order above, so even if you're in a jekyll-blog directory, and type in the path to another directory, it'll check that other directory.

Method Two: setup.py

Alternatively, if you don't want to download via pip, clone the repository by typing in

user@computer:~/Downloads/$ git clone https://github.com/kludron/jekyll-manager

Then traverse into the directory and run the python setup.py install

user@computer:~/Downloads/$ cd jekyll-manager
user@computer:~/Downloads/jekyll-manager/$ python setup.py install

You should now be able to follow the same instructions as in the 'How to run' section!

Build it yourself

With the current build being in Python3, this needs to be installed.

Installation guide for Python3 can be found here. https://www.python.org/downloads/

After installing Python3, we need to install all of the required packages. To do this, pip needs to be installed. If this is not already installed, installation steps can be found here. https://pip.pypa.io/en/stable/installation/

To install the required packages, first you will need to clone the repository. To do this, open your terminal (or command prompt on windows) and type in:

user@computer:~/Downloads/$ git clone https://github.com/kludron/jekyll-manager

The next step is to install the required pip packages. To do this, type in:

user@computer:~/Downloads/$ cd jekyll-manager
user@computer:~/Downloads/jekyll-manager/$ pip install -r requirements.txt

How to run (build it yourself)

Now that the requirements are installed, jekyll-manager can be run directly

NOTE: This is tool is currently not yet configured to be run directly for Windows Machines. The python prefix is needed

./jekyll-manager <jekyll-blog-directory>

or with python

python jekyll-manager <jekyll-blog-directory>

There is also the ability to run this program from anywhere (by setting environment variables).

Linux / MacOS

For Linux and MacOS users, this can be done by symlinking the file to your local bin folder.

NOTE: For this to work, your $HOME/.local/bin file needs to be in your PATH.

ln -s $(pwd)/jekyll-manager $HOME/.local/bin/

Windows

For Windows users, this can be done by adding the jekyll-manager folder to your path. To do this:

NOTE: Currently, this is unsupported and not available on Windows machines yet.

  1. Open up Control Panel.
  2. Type in env in the search bar.
  3. Click on 'Edit environment variable for you account'.
  4. Select the 'Variable' named 'PATH'.
  5. Click on 'Edit...'
  6. Click on 'New'
  7. Type in the Path to the jekyll-manager folder (that was cloned from github).
  8. Click OK
  9. Click OK (again)
  10. Restart your device (for changes to take effect)

After adding it to your path, you can follow the guide in the (first) 'How to run' section.

FAQ

My Jekyll Configuration is different to the default, can I still use this tool?

Not at the moment.

This tool is still very much in progress, but will cater towards all configurations for jekyll in the near future. Stay tuned!

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

jekyll-manager-1.2.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

jekyll_manager-1.2.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file jekyll-manager-1.2.0.tar.gz.

File metadata

  • Download URL: jekyll-manager-1.2.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.6

File hashes

Hashes for jekyll-manager-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1908fdc99340c064d824923baaf38337c9a610f95e63065f2d2ab842fc1aa50d
MD5 624005ce2943aaad68acc910a3e6e8b0
BLAKE2b-256 219e63e68d9a52f8f88d88b9f0742d4301e45ba0aaa867bdb4feb0c8d18ad7ae

See more details on using hashes here.

File details

Details for the file jekyll_manager-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: jekyll_manager-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.6

File hashes

Hashes for jekyll_manager-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd4b711be7591a8ab30cf74ee2aaa5ab49a505191489538f3f20b71c34ab0c58
MD5 aeff97d20b705f6d760df3e3196c4af6
BLAKE2b-256 21192325cc653f0b490407aef02038b3341ceed4cafb7b0611e176d6b542891f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page