Skip to main content

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

Metadata

Release files for pen-writer 0.3.1

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

Source distribution (sdist)

Source distribution for pen-writer 0.3.1
File Size Uploaded
pen_writer-0.3.1.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pen-writer 0.3.1
File Interpreter ABI Platform
pen_writer-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / pen_writer-0.3.1.tar.gz

Download URL pen_writer-0.3.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1cb371b6db67c0550cdd58c4f20cef5a43fd1452196adae832a6557c744b09d1
BLAKE2b-256 checksum
How to use checksums
dbee669cc51db22baf6a52999d99f3870decc63d12eccf123f1f649d1492dffe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.2 Linux/5.15.0-1041-azure

Release files / pen_writer-0.3.1-py3-none-any.whl

Download URL pen_writer-0.3.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
246ca356375efcc3da325c546b6a8ae642e383aec92daa2706139997fb18c29f
BLAKE2b-256 checksum
How to use checksums
868c4c8d6ef13c49b346bde20d8ac7c9895906c46c46db1630ecdf4e282dd50d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.2 Linux/5.15.0-1041-azure

Release history Release notifications | RSS feed

This release

0.3.1 This release

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