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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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