Skip to main content

Writing tool for Astro.js blogs

Project description

Pen

Pen is a CLI tool that allows you to run a local server to write and publish content for your Astro.js blogs.

Setup

Pen requires a GitHub Access Token to get write and commit your content to a repository.

The GitHub Access Token is only stored in a config file on your system

  1. Once you have installed Pen run the auth command, this will setup your config file:
pen auth <github-access-token>
  1. Setup the repo you would like to write content for with:
pen setup GitHubUsername/RepoName

You can run the setup command multiple times to setup multiple repos.

Usage

Once you have completed setup, you can start the server to start writing content with:

pen start

Navigate to http://localhost:8000 to view the writing UI.

Helper Commands

  • pen config will print your config file
  • pen reset will clear your config file

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

pen_writer-0.3.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pen_writer-0.3.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pen_writer-0.3.1.tar.gz.

File metadata

  • Download URL: pen_writer-0.3.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/5.15.0-1041-azure

File hashes

Hashes for pen_writer-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1cb371b6db67c0550cdd58c4f20cef5a43fd1452196adae832a6557c744b09d1
MD5 ef3671897a89ec454125a98041359b69
BLAKE2b-256 dbee669cc51db22baf6a52999d99f3870decc63d12eccf123f1f649d1492dffe

See more details on using hashes here.

File details

Details for the file pen_writer-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: pen_writer-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.2 Linux/5.15.0-1041-azure

File hashes

Hashes for pen_writer-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 246ca356375efcc3da325c546b6a8ae642e383aec92daa2706139997fb18c29f
MD5 cfc32e7f55f5f2458e39fa3cbca88b6d
BLAKE2b-256 868c4c8d6ef13c49b346bde20d8ac7c9895906c46c46db1630ecdf4e282dd50d

See more details on using hashes here.

Supported by

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