https://github.com/trevarj/poogo
💩 Hugo's stinky step-son who won't stop leaving his Markdown on your browser! Yuck!
https://github.com/trevarj/poogo
bash static-site-generator
Last synced: about 1 month ago
JSON representation
💩 Hugo's stinky step-son who won't stop leaving his Markdown on your browser! Yuck!
- Host: GitHub
- URL: https://github.com/trevarj/poogo
- Owner: trevarj
- License: bsd-2-clause
- Created: 2024-04-15T19:46:14.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-06-25T10:55:52.000Z (about 1 year ago)
- Last Synced: 2025-06-25T11:50:21.210Z (12 months ago)
- Topics: bash, static-site-generator
- Language: Shell
- Homepage:
- Size: 53.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# POOGO 💩
Hugo's stinky step-son who won't stop leaving his Markdown on your browser!
Yuck!
A small static site generator for a simple personal blog that utilizes Github's
Markdown to HTML API.
## Usage
Bootstrap a blog skeleton:
```sh
poogo -b -p
# edit ~/.config/poogo/config.env file
```
Add a post:
```sh
cd
poogo -n post1
```
Generate HTML:
```sh
cd
poogo -g
```
## Local Dev
Start a webserver in the target dir:
```sh
cd test && python -m http.server 8080
```
Modify Markdown files, then regenerate...
### Timestamp Conversion
#### From Hugo
```sh
sed -rn 's/^date: (.*)/\1/p' *.md | xargs -i date -d {} +%s
```
#### From Org
```sh
sed -rn 's/#\+date: <(.*)>/\1/p' *.org | xargs -i date -d {} +%s
```
### Caveats
- Github markdown API mangles up unicode chars