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
- Once you have installed Pen run the
authcommand, this will setup your config file:
pen auth <github-access-token>
- 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 configwill print your config filepen resetwill 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)
| File | Size | Uploaded | |
|---|---|---|---|
| pen_writer-0.3.1.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|