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
- Once you have installed Pen run the
auth
command, 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 config
will print your config filepen reset
will clear your config file
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for pen_writer-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 246ca356375efcc3da325c546b6a8ae642e383aec92daa2706139997fb18c29f |
|
MD5 | cfc32e7f55f5f2458e39fa3cbca88b6d |
|
BLAKE2b-256 | 868c4c8d6ef13c49b346bde20d8ac7c9895906c46c46db1630ecdf4e282dd50d |