Skip to content

traceypooh/poohbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

459 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

poohbot

tracey pooh's site & blog, static site generated

todo

cd ~/poohbot/comments; gg qtfast;
# user email may not be showing up same/right, compared to:
cd ~/bup/WP; cat comments-wp.json|jq .|fgrep -C10 qtfast

bikes

  • puch
  • purple bike
  • bmx silver red checkered
  • blue 10 speed ./2004-blue-bike.jpg (from Pictures/2004-* cape has "some" blue 10spd..)
  • trek ~860 mtn bike
  • 1992 trek "930" mtn bike
  • blue carbon fork road bike ~2004 (=> NH) aluminum Inspiration.jpg
  • trek white road bike (=> Irvine)
  • cape fixie
  • trek NBD Madone Pictures/2008/02/26
  • trek boone
  • trek supercaliber

Comments setup

I'm using a forked version of Staticman here:

https://github.com/traceypooh/staticmin

that is hosted free on https://netlify.com and you can, too!

  • See staticman.yml for the setup.
  • Submitted comments go into approval (by you) mode, where your GitHub repo hosting your blog/site gets a "Pull Request" and new branch for each comment.
  • Current setup puts comments in comments/ top-level subdir, as JSON files.
  • Each post or page gets the comment added to a comments/ subdir, based on the corresponding post/page's path name example

404s fixme xxx

aliases

  • /img => /images
  • /albums/thumbs => /albums/images
gg kml.php
gg featured-click
  • /video/ and /lapses/ - switch to CSS grid for centering filmstrip
  • /video/ and /lapses/ - 'Play all'
  • pick 2 random posts for left side
  • make videos take up full 854px wide (720x480 now)
  • link any local tag in a post to fullsize naked img?
  • embed: in .md auto does archive.org iframe..

map route fails

gg https://traceypooh.com/alc/morgan-territory/kml.kml

GPS removal

exiftool "-gps*=" file1.jpg file2.jpg ...

CSP

gg -i onclick
gg -i '<script>' |chopper
gg '<style[^U]' |chopper |fgrep '<style'
gg 'style='

helpful related links

crawl site to find any 404s

wget --spider -o log -e robots=off -w 1 -r -nv -p https://traceypooh.com && fgrep -B1 'not exist' log

Could Use

  • layouts/shortcodes/fancybox.html
{{% fancybox path="/img" file="k8.png" caption="golly" gallery="the-met" %}}

{{%/* fig class="full"
    src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg"
    title="One of my favorite touristy-type photos. I secretly waited for the
    good light while we were having fun and took this. Only regret: a stupid
    pole in the top-left corner of the frame I had to clumsily get rid of at
    post-processing."
    link="http://www.flickr.com/photos/alexnormand/4829260124/in/
            set-72157624547713078/" */%}}

archive.org embeds

<iframe src="https://archive.org/embed/ID" width="854" height="480" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>

theme setup

initial setup

make a post

collect your imagery first

  • an easy thing is to select 2+ imagery in Photos app, then drag to CLI.
  • that will write the filenames of everything to use, which you use with:
  • bin/avif-blog-img
    • NOTE: it ^ will make the width size even if the source is odd and < 2500px wide

example (heic3 is listed twice, it will become a .webp instead of an .avif):

cd img
../bin/avif-blog-img -oldest -featured heic3  2026-my-filenames-slug  jpg1 jpg2 heic1 heic2 heic3

if you dont have any imagery, add this to your frontmatter:

featured: traceymonet.jpg

preview imagery and post setup

  • set categories and tags
  • adjust title (if needed)
  • adjust date (if needed)
  • drag-and-drop imagery ordering from above (if needed)
  • the featured image should automatically be set (needs to be .webp from above for iOS sharing, etc)
  • [Generate post command] will setup a basic post from the info
# imagery is nice/fullsize at 880px wide, preview/shows at 880x375 (2.35:1) where you can
# pick to show more of the top or bottom..
#   featured: littlefingers.jpg#top
#   featured: https://archive.org/download/reremaster/both10107.jpg#bottom
# 880x495 is nice 16:9 pic size

# center an image into 880x495 black background:
# convert -size 880x495 xc:black in.jpg -gravity center -composite x.jpg; identify x.jpg; open x.jpg

# more recently, have been using `Photos` to export pix to "max dimension" of 2016px, since
# my iphone 12 mini shoots at 4032px on the long side

Try ispell spell checker before you publish (commit & push). ( brew install ispell )

run and/or make public/ subdir

  • brew install hugo caddy
  • ensures fresh - removes prior run
  • gogo
    • CTL-C at any point..

contact me / emails

browser search

files involved:

[outputs]
  home                  = ["html", "json", "rss"]

Releases

No releases published

Packages

 
 
 

Contributors