Skip to main content

Bloggen

Point bloggen to a hosting location, give it your markdown, then watch it deploy a static site.

Use

A parable:

Lee creates a GCP credentials json:

  1. Lee gets a service token JSON from GCP. He follows this guide https://cloud.google.com/storage/docs/reference/libraries#setting_up_authentication'
  2. Lee saves the JSON to his machine and remembers the path for later. Bloggen is going to save the path to that JSON into an environment variable
  3. Lee will need to tell Bloggen the path to the json by configuring a Bloggen profile

Lee configures a profile:

  1. Lee runs bloggen --config and supplies the following information:

    • Name
    • Path to GCP credentials json
    • Name of GCP bucket to use
  2. Lee writes 5 md notes into a dir

  3. Lee runs bloggen --generate path_to_md_dir

  4. Lee sees a new dir appear. It is named static-site and can be found at ../path_to_md_dir

  5. Lee runs bloggen --publish path_to_static_site

  6. Lee learns that his notes are available as a static site on GCP

Generate

generates static webpage User provides a directory of markdown to be converted to html

bloggen generate --path=path_to_dir

Sync

Sync directory of markdown files with existing static site bloggen sync --path=path_to_dir_of_md_files

Add

Add file to static site Convert given markdown file to html and add to site bloggen add --path=path_to_md_file

Remove

Remove named page from static site bloggen remove --name=name_of_file

Destroy

Destroy site and bucket bloggen destroy

Metadata

Release files for bloggen 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bloggen 0.0.4
File Size Uploaded
bloggen-0.0.4.tar.gz 13.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bloggen 0.0.4
File Interpreter ABI Platform
bloggen-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / bloggen-0.0.4.tar.gz

Download URL bloggen-0.0.4.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
74323b2af617f7731ea3f4a721cfaee0a8e02fb537e7dafc9c5e0841d97be438
BLAKE2b-256 checksum
How to use checksums
e030204426f9d5fda8fdcbffe8621c80b93c398301f53c254f0df9cd6b8ce154
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.9.15 Darwin/21.6.0

Release files / bloggen-0.0.4-py3-none-any.whl

Download URL bloggen-0.0.4-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10c9f3d34d59b0547bd122cbd0e1fea793bc6de8c83f21f920c1e521094c4e5e
BLAKE2b-256 checksum
How to use checksums
15d8e8f580e6859a2d07f3f088d7186822f1a71c9aee7a7b89b829ea1308ffe9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.9.15 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page