Skip to main content

journalx supercharges your text-based journal

Project description

Journalx: Supercharge your Obsidian Vault

Journalx makes it easy to use your Obsidian vault as the content source for your hugo website.

It's still in early stages and requires a lot of work, but it's useful right away if you have some key ingredients in place.

Prerequisites

  • Python environment with Journalx installed
  • Hugo blog setup

Your obsidian vault contains a lot of documents, but you want to publish only some them. Journalx handles:

  • Automatically transfering documents that are tagged for publishing
  • Transfers images to destination directory, and substitutes image paths in markdown
  • [WIP] Watch dir for changes, and transfer on change
  • [WIP] Build and publish after transfering documents
  • [WIP] Handle other static assets other than files
  • [WIP] Allow doc metadata to be specified by config file
  • [WIP] Unit test for different scenarios
  • [WIP] Better help messages

Commands

Publishing

config.ini file contains settings which dictate the base directory of your hugo website. To create the config if it's not present

jx init --publish-dir <publish-dir>

Add metadata to md documents in your vault. This is required for publishing which looks for metadata values publish: True and draft: False in the document's metadata header. If your documents don't have a yaml header (or only some of them do, not all), you can add it to all documents by

jx add-metadata

After you're done adding metadata, you can turn publish:True and draft:False on documents you want to publish. The publish command make sure that they'll be transfered to configured {publish_dir}/content/post directory while the images that are present in the document will be transfered to {publish_dir}/static/images and the image links will be updated.

jx publish

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

journalx-0.0.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

journalx-0.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file journalx-0.0.2.tar.gz.

File metadata

  • Download URL: journalx-0.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for journalx-0.0.2.tar.gz
Algorithm Hash digest
SHA256 aa393f8baa8c0d88c031f006f4522acd22928604c2a951bab07a82b20d215f01
MD5 52b4e8c6c69e534bc06209d5f18a4f15
BLAKE2b-256 6fa6e14191dfcc3a1f363944882b30c4007e5f626e7ad6e37c8bbb5c8c9a549b

See more details on using hashes here.

File details

Details for the file journalx-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: journalx-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for journalx-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84110f7e7a07d1acd053cd92c3b8335972a7cd7291e8a62f5922336aa3f38274
MD5 3649ab5159b5d197ce8d0019c3049e9a
BLAKE2b-256 6e4a61ac2d54b21da321b2f10338c5cdb984c2857549616afb7c3d6739c99880

See more details on using hashes here.

Supported by

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