diff --git a/Makefile b/Makefile index 129dbd6..7c7e145 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ vpath %.html dist pandoc -t html \ --standalone \ -B templates/nav.html \ + --template=templates/episode.template \ --css assets/styles/main.css \ --toc \ -o dist/$@ $< @@ -16,7 +17,7 @@ index.md: ./bin/build-index.sh rssfeed: - ./bin/build-feed.sh + ./bin/build-podcast.sh build: $(HTML) index.md rssfeed cp -R assets dist diff --git a/README.md b/README.md index 8318d1a..732a495 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ this is a static website that uses pandoc and pandoc templates to build a blog That's kind of it.. -You'll need to edit a bunch of values in index.yml and build-feed.sh where it's hard coded. +You'll need to edit a bunch of values in index.yml and build-podcast.sh where it's hard coded. images and styles go in `/assets`. diff --git a/app.yaml b/app.yaml index c692cc7..dd95277 100644 --- a/app.yaml +++ b/app.yaml @@ -1,5 +1,12 @@ --- -title: welcome to my blog -subtitle: it is where i write stuff +title: 'TILDE WHIRL' +subtitle: the tildeverse podcast author: dozens +base_url: https://tilde.town/~dozens/podcast +category: Technology +language: en-us +summary: the only pubnix variety show on the internet +explicit: 'no' +email: dozens@tilde.team +img_url: https://tilde.town/~dozens/podcast/assets/img/logo.png --- diff --git a/assets/img/logo.png b/assets/img/logo.png new file mode 100644 index 0000000..b5dcda5 Binary files /dev/null and b/assets/img/logo.png differ diff --git a/assets/img/soup.jpg b/assets/img/soup.jpg new file mode 100644 index 0000000..fb77032 Binary files /dev/null and b/assets/img/soup.jpg differ diff --git a/assets/styles/main.css b/assets/styles/main.css index baf479c..12bd00e 100644 --- a/assets/styles/main.css +++ b/assets/styles/main.css @@ -139,3 +139,4 @@ div.column{display: inline-block; vertical-align: top; width: 50%;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} .display.math{display: block; text-align: center; margin: 0.5rem auto;} +audio { width: 100%; } diff --git a/bin/build-feed.sh b/bin/build-feed.sh deleted file mode 100755 index a30defc..0000000 --- a/bin/build-feed.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/zsh -title=blog -description="yrafn afuynta arr a ar" -baseurl="http://tilde.town/~dozens/gamelog" -link="$baseurl/index.html" -href="$baseurl/feed.xml" -outfile="dist/feed.xml" - -echo "$title" > $outfile -echo "$link$description" >> $outfile - -for file in $(ls -1 content/*.md | sort -r) -do - dest="${$(basename $file)/md/html}" - pandoc --template=templates/rss-feed-item.template --variable=url:"$baseurl/$dest" $file >> $outfile -done - -echo '' >> $outfile - diff --git a/bin/build-index.sh b/bin/build-index.sh index 78a3700..a668591 100755 --- a/bin/build-index.sh +++ b/bin/build-index.sh @@ -4,5 +4,7 @@ cat templates/index-before.html > index.md for file in $(ls -1 content/*.md | sort -r) do dest="${$(basename $file)/md/html}" - pandoc --template=templates/blog-list-item.template --variable=url:$dest $file >> index.md + pandoc --template=templates/blog-list-item.template \ + --variable=url:$dest $file \ + >> index.md done diff --git a/bin/build-podcast.sh b/bin/build-podcast.sh new file mode 100755 index 0000000..0d5d101 --- /dev/null +++ b/bin/build-podcast.sh @@ -0,0 +1,47 @@ +#!/bin/zsh +title="Tilde Whirl Tildeverse Podcast" +author="dozens" +email="dozens@tilde.team" +description="the greatest tildeverse podcast in the world" +baseurl="https://tilde.town/~dozens/podcast" +link="$baseurl/index.html" +href="$baseurl/rss.xml" +img_url="$baseurl/assets/img/logo.png" +outfile="dist/rss.xml" + +echo "$title" > $outfile +echo "$link$description" >> $outfile +echo "" >> $outfile +echo "" >> $outfile +echo " $img_url" >> $outfile +echo " $title" >> $outfile +echo " $link" >> $outfile +echo "" >> $outfile +echo "pandoc and stuff" >> $outfile +echo "$(date)" >> $outfile +echo "" >> $outfile +echo "$author" >> $outfile +echo "$author" >> $outfile +echo "en" >> $outfile +echo "$author" >> $outfile +echo "$description" >> $outfile +echo "episodic" >> $outfile +echo "" >> $outfile +echo " $author" >> $outfile +echo " $email" >> $outfile +echo "" >> $outfile +echo "No" >> $outfile +echo "" >> $outfile +echo "" >> $outfile +echo "" >> $outfile + +for file in $(ls -1 content/*.md | sort -r) +do + dest="${$(basename $file)/md/html}" + pandoc --template=templates/podcast-feed-item.template \ + --variable=url:"$baseurl/$dest" $file \ + >> $outfile +done + +echo '' >> $outfile + diff --git a/content/2022-01-01-hello-world.md b/content/2022-01-01-hello-world.md deleted file mode 100644 index 76dd52c..0000000 --- a/content/2022-01-01-hello-world.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: hello world! -subtitle: a whole new blog -date: 2022-01-01 -toc-title: Contents ---- -Hola, Wikipedia! - -I started a new blog! Isn't that just really special? diff --git a/content/2022-02-01-giraffes.md b/content/2022-02-01-giraffes.md deleted file mode 100644 index 86cd1f1..0000000 --- a/content/2022-02-01-giraffes.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: giraffes -subtitle: a long necked hoax? -date: 2022-02-01 -updated: 2022-02-20 -toc-title: Contents ---- -## Intro -**Edit**: It has been brought to my attention that giraffes are actually real. I am willing to admit my mistakes, and stand corrected. You have to admit that they are *unlikely* though. - ---- - -I mean, have you ever even seen a giraffe? - -they look like aliens. - -## Too tall - -long legs - -## Too long - -all that neck, and still only 7 neckbones. same as a field mouse, same as any other mammal. what you trying to prove? - -## Black tongue - -maybe try washing that thing - -## horns? - -what you even got horns for dude? diff --git a/content/2022-03-03-episode-1-acdw.md b/content/2022-03-03-episode-1-acdw.md new file mode 100644 index 0000000..2db6512 --- /dev/null +++ b/content/2022-03-03-episode-1-acdw.md @@ -0,0 +1,43 @@ +--- +title: episode 1 +season: 1 +episode: 1 +subtitle: a shiny new podcast! with acdw +date: 2022-03-03 +toc-title: Contents +file: 'https://archive.org/download/tilderwhirl-S01E01/tilderwhirl-S01E01.mp3' +img_url: https://tilde.town/~dozens/podcast/assets/img/logo.png +duration: '4727.144490' +length: '62456102' +summary: tilde whirl with dozens and acdw +explict: 'yes' +--- + +## notes +Hola, Wikipedia! + +I started a new podcast! Isn't that just really special? + +This episode's guest is acdw. And featured segments include *Food and wine*, *Looking at clouds*, and *science fun fact corner*, and *letters from our listeners!* + +![soup](assets/img/soup.jpg) + +## links + +- [acdw.net](https://www.acdw.net/) +- +- [I had a couple drinks and woke up with 1,000 nerds](https://medium.com/message/tilde-club-i-had-a-couple-drinks-and-woke-up-with-1-000-nerds-a8904f0a2ebf) +- [breadpunk.club](https://breadpunk.club/) +- [tt-rss](https://tt-rss.org/) / [rss.tildeverse.org](https://rss.tildeverse.org/) +- [elfeed](https://github.com/skeeto/elfeed) +- [newsboat](https://newsboat.org/) + +## sources + +sounds and stuff used in this episode: + +[cricket](https://freesound.org/people/Ev-Dawg/sounds/337435/) | +[continuous static.wav](https://freesound.org/people/Jace/sounds/35291/) | +[technical difficulties](https://archive.org/details/GlobalCommunityRadioChannelOneTechnicalDifficultiesMessage) | +[Skip In my Step](https://freemusicarchive.org/music/Scott_Holmes/happy-background-music/Skip_In_my_Step_1428) + diff --git a/dist/2022-03-03-episode-1-acdw.html b/dist/2022-03-03-episode-1-acdw.html new file mode 100644 index 0000000..49bce3d --- /dev/null +++ b/dist/2022-03-03-episode-1-acdw.html @@ -0,0 +1,67 @@ + + + + + + + + episode 1 + + + + + + +
+

episode 1

+

a shiny new podcast! with acdw

+

2022-03-03

+
+

Listen now

+ + +

notes

+

Hola, Wikipedia!

+

I started a new podcast! Isn’t that just really special?

+

This episode’s guest is acdw. And featured segments include Food and wine, Looking at clouds, and science fun fact corner, and letters from our listeners!

+
+soup +
+ + +

sources

+

sounds and stuff used in this episode:

+

cricket | continuous static.wav | technical difficulties | Skip In my Step

+ + diff --git a/dist/about.html b/dist/about.html new file mode 100644 index 0000000..26e77c5 --- /dev/null +++ b/dist/about.html @@ -0,0 +1,54 @@ + + + + + + + about + + + + + + +
+

about

+

what is all this anyway

+
+ +

about

+

What is this? Honestly it’s whatever you want it to be, dreamchild

+

No, seriously, this is a podcast about the tildeverse. No, not that one, I mean the broader, more general tidle multiverse. The collective of tildes and pubnixen, and the fediverse, and gemini and gopher and the small internet, and all of the creative art and code and beauty that its tildizens create.

+

So come on, give it a whirl!

+

sources

+

See individual episodes for more credits and sources.

+ + + diff --git a/dist/assets/img/logo.png b/dist/assets/img/logo.png new file mode 100644 index 0000000..b5dcda5 Binary files /dev/null and b/dist/assets/img/logo.png differ diff --git a/dist/assets/img/soup.jpg b/dist/assets/img/soup.jpg new file mode 100644 index 0000000..fb77032 Binary files /dev/null and b/dist/assets/img/soup.jpg differ diff --git a/dist/assets/styles/main.css b/dist/assets/styles/main.css new file mode 100644 index 0000000..12bd00e --- /dev/null +++ b/dist/assets/styles/main.css @@ -0,0 +1,142 @@ +* { + box-sizing: border-box; +} +html { + line-height: 1.5; + font-family: Georgia, serif; + font-size: 22px; + color: #1a1a1a; + background-color: #fdfdfd; +} +body { + margin: 0 auto; + max-width: 60ch; + padding-left: 50px; + padding-right: 50px; + padding-top: 50px; + padding-bottom: 50px; + hyphens: auto; + overflow-wrap: break-word; + text-rendering: optimizeLegibility; + font-kerning: normal; +} +@media (max-width: 600px) { + body { + font-size: 0.9em; + padding: 1em; + } +} +@media print { + body { + background-color: transparent; + color: black; + font-size: 12pt; + } + p, h2, h3 { + orphans: 3; + widows: 3; + } + h2, h3, h4 { + page-break-after: avoid; + } +} +p { + margin: 1em 0; +} +a { + color: #1a1a1a; +} +a:visited { + color: #1a1a1a; +} +img { + max-width: 100%; +} +h1, h2, h3, h4, h5, h6 { + margin-top: 1.4em; +} +h5, h6 { + font-size: 1em; + font-style: italic; +} +h6 { + font-weight: normal; +} +ol, ul { + padding-left: 1.7em; + margin-top: 1em; +} +li > ol, li > ul { + margin-top: 0; +} +blockquote { + margin: 1em 0 1em 1.7em; + padding-left: 1em; + border-left: 2px solid #e6e6e6; + color: #606060; +} +code { + font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace; + font-size: 85%; + margin: 0; +} +pre { + margin: 1em 0; + overflow: auto; +} +pre code { + padding: 0; + overflow: visible; + overflow-wrap: normal; +} +.sourceCode { + background-color: transparent; + overflow: visible; +} +hr { + background-color: #1a1a1a; + border: none; + height: 1px; + margin: 1em 0; +} +table { + margin: 1em 0; + border-collapse: collapse; + width: 100%; + overflow-x: auto; + display: block; + font-variant-numeric: lining-nums tabular-nums; +} +table caption { + margin-bottom: 0.75em; +} +tbody { + margin-top: 0.5em; + border-top: 1px solid #1a1a1a; + border-bottom: 1px solid #1a1a1a; +} +th { + border-top: 1px solid #1a1a1a; + padding: 0.25em 0.5em 0.25em 0.5em; +} +td { + padding: 0.125em 0.5em 0.25em 0.5em; +} +header { + margin-bottom: 4em; + text-align: center; +} +#TOC li { + list-style: none; +} +#TOC a:not(:hover) { + text-decoration: none; +} +code{white-space: pre-wrap;} +span.smallcaps{font-variant: small-caps;} +span.underline{text-decoration: underline;} +div.column{display: inline-block; vertical-align: top; width: 50%;} +div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} +ul.task-list{list-style: none;} +.display.math{display: block; text-align: center; margin: 0.5rem auto;} +audio { width: 100%; } diff --git a/dist/contact.html b/dist/contact.html new file mode 100644 index 0000000..931054c --- /dev/null +++ b/dist/contact.html @@ -0,0 +1,39 @@ + + + + + + + contact + + + + + + +
+

contact

+

stay in touch!

+
+ + + diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..22b51ae --- /dev/null +++ b/dist/index.html @@ -0,0 +1,45 @@ + + + + + + + + TILDE WHIRL + + + + + + + +
+

TILDE WHIRL

+

the tildeverse podcast

+

dozens

+
+ +

+Episodes: +

+ + + diff --git a/dist/rss.xml b/dist/rss.xml new file mode 100644 index 0000000..bad5183 --- /dev/null +++ b/dist/rss.xml @@ -0,0 +1,61 @@ +Tilde Whirl Tildeverse Podcast +https://tilde.town/~dozens/podcast/index.htmlthe greatest tildeverse podcast in the world + + + https://tilde.town/~dozens/podcast/assets/img/logo.png + Tilde Whirl Tildeverse Podcast + https://tilde.town/~dozens/podcast/index.html + +pandoc and stuff +Fri Mar 4 15:32:30 MST 2022 + +dozens +dozens +en +dozens +the greatest tildeverse podcast in the world +episodic + + dozens + dozens@tilde.team + +No + + + + + episode 1 + https://tilde.town/~dozens/podcast/2022-03-03-episode-1-acdw.html + 2022-03-03 + notes +

Hola, Wikipedia!

+

I started a new podcast! Isn’t that just really special?

+

This episode’s guest is acdw. And featured segments include Food and wine, Looking at clouds, and science fun fact corner, and letters from our listeners!

+
+soup +
+ + +

sources

+

sounds and stuff used in this episode:

+

cricket | continuous static.wav | technical difficulties | Skip In my Step

]]>
+ 2022-03-03 + dozens + + tilde whirl with dozens and acdw + No + 4727.144490 + + 1 + 1 + full +
+
diff --git a/index.md b/index.md index fba7d21..b9b0047 100644 --- a/index.md +++ b/index.md @@ -1,3 +1,3 @@ -

These are all of my blog posts:

-- [giraffes](2022-02-01-giraffes.html): long neck hoax? --- 2022-02-20 -- [hello world!](2022-01-01-hello-world.html): a whole new blog --- 2022-01-01 + +

Episodes:

+- [episode 1](2022-03-03-episode-1-acdw.html): a shiny new podcast! with acdw --- 2022-03-03 diff --git a/justfile b/justfile index 91fab7b..3cf3a83 100644 --- a/justfile +++ b/justfile @@ -6,15 +6,27 @@ default: build: make build +# make fred say something +say phrase out: + say -v 'Fred' -r 100 -o {{out}} {{phrase}} + # watch for changes watch: ls content/*.md | entr make build -# upload -up: - echo "TODO" +# length +length file: + @wc -c < {{file}} #| cut -d ' ' -f 7 + +# duration +duration file: + @ffprobe -show_entries stream=duration -of compact=p=0:nk=1 -v fatal {{file}} # clean dist clean: rm -rf dist/* touch dist/.gitkeep + +# upload +up: + rsync -azP dist/ tilde:public_html/podcast diff --git a/pages/about.md b/pages/about.md index 4a70e64..00087fc 100644 --- a/pages/about.md +++ b/pages/about.md @@ -1,5 +1,22 @@ --- title: about subtitle: what is all this anyway +toc-title: Contents --- -honestly it's whatever you want it to be, dreamchild + +## about + +What is this? Honestly it's whatever you want it to be, dreamchild + +No, seriously, this is a podcast about the *tildeverse*. No, not [that one](https://tildeverse.org/), I mean the broader, more general tidle multiverse. The collective of tildes and pubnixen, and the fediverse, and gemini and gopher and the small internet, and all of the creative art and code and beauty that its tildizens create. + +So come on, *give it a whirl!* + +## sources + +See individual episodes for more credits and sources. + +- intro: "[punishment](https://freemusicarchive.org/music/Plushgoolash/Chin25_Soup_Tennis/01-Punishment)" by Plushgoolash +- outro: "[big gay water fight](https://freemusicarchive.org/music/Plushgoolash/Chin25_Soup_Tennis/03-Big-Gay-Water-Fight)" by Plushgoolash +- logo: [Funfair of Avestafestivalen](https://commons.wikimedia.org/wiki/File:Avestafestivalen03.jpg), [Crafty signs](https://www.fontspace.com/crafty-signs-font-f70130) +- [Mystical Wind Chimes Transition FX](https://freesound.org/people/djlprojects/sounds/419594/) | diff --git a/templates/episode.template b/templates/episode.template new file mode 100644 index 0000000..aa7a502 --- /dev/null +++ b/templates/episode.template @@ -0,0 +1,71 @@ + + + + + + +$for(author-meta)$ + +$endfor$ +$if(date-meta)$ + +$endif$ +$if(keywords)$ + +$endif$ +$if(description-meta)$ + +$endif$ + $if(title-prefix)$$title-prefix$ – $endif$$pagetitle$ + +$for(css)$ + +$endfor$ +$if(math)$ + $math$ +$endif$ + +$for(header-includes)$ + $header-includes$ +$endfor$ + + +$for(include-before)$ +$include-before$ +$endfor$ +$if(title)$ +
+

$title$

+$if(subtitle)$ +

$subtitle$

+$endif$ +$for(author)$ +

$author$

+$endfor$ +$if(date)$ +

$date$

+$endif$ +
+$endif$ +$if(file)$ +

Listen now

+ +$endif$ +$if(toc)$ + +$endif$ +$body$ +$for(include-after)$ +$include-after$ +$endfor$ + + diff --git a/templates/header.html b/templates/header.html index 8c61c07..1525e74 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1 +1 @@ - + diff --git a/templates/index-before.html b/templates/index-before.html index 973a690..cb50d7e 100644 --- a/templates/index-before.html +++ b/templates/index-before.html @@ -1 +1,2 @@ -

These are all of my blog posts:

+ +

Episodes:

diff --git a/templates/podcast-feed-item.template b/templates/podcast-feed-item.template new file mode 100644 index 0000000..dfe0070 --- /dev/null +++ b/templates/podcast-feed-item.template @@ -0,0 +1,16 @@ + + $title$ + $url$ + $date$ + + $date$ + dozens + + $summary$ + No + $duration$ + + $season$ + $episode$ + full + diff --git a/templates/rss-feed-item.template b/templates/rss-feed-item.template deleted file mode 100644 index 26908e6..0000000 --- a/templates/rss-feed-item.template +++ /dev/null @@ -1,8 +0,0 @@ - - $title$ - $url$ - $date$ - - $body$ - -