Skip to content

Instantly share code, notes, and snippets.

@kevinslin
Last active April 20, 2025 22:09
Show Gist options
  • Save kevinslin/84c6e84337408070b67f26a0e3951f2b to your computer and use it in GitHub Desktop.
Save kevinslin/84c6e84337408070b67f26a0e3951f2b to your computer and use it in GitHub Desktop.
textpress.md
id title desc updated created
s0o4y7x0hii013s5odjdobs
Textpress
1745186728475
1745186544833

Plain Text Publishing

Setup

npx textpress signup
Username: ...
Password: ****

Please verify your email to start using textpress

## Usage
```sh
# run inside git repo to link it to textpress
# this sets up github action to automatically publish on push
tp init

# view the file locally
tp preview <myfile>
tp preview <myfile> --watch

Manual Publishing

# publish file
tp publish <path-to-file>

# publish all files in the current directory
tp sync

Notes

  • published site lives in https://textpress.io/{username}/{publish-title}-{id}
  • respects same frontmatter as jekyll (eg. to set page as draft, add draft: true in frontmatter to not publish it publically)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment