From: Ruben Beltran del Rio Date: Mon, 17 Apr 2023 20:35:13 +0000 (+0200) Subject: blog-sync-up-1681763713805 X-Git-Url: https://git.r.bdr.sh/rbdr/blog.unlimited.pizza/commitdiff_plain/bc7bc69c57b3f1e28a2206ca67af730dfeb76b7d?ds=inline blog-sync-up-1681763713805 --- diff --git a/archive/1681763713661/introducing-page.gmi b/archive/1681763713661/introducing-page.gmi new file mode 100644 index 0000000..1539a0b --- /dev/null +++ b/archive/1681763713661/introducing-page.gmi @@ -0,0 +1,33 @@ +# Introducing Page, a website generator + +Do you have a static gemini website that you just wish was a static http website? run `page` on your gemini directory and see `page_html` emerge, rsync both to your static host and you're done! + +=> https://git.sr.ht/~rbdr/page Page is available for free on SourceHut™ + +If you're on mac you can install easily with: + +``` +$ brew tap rbdr/apps git@git.sr.ht:~rbdr/homebrew-apps +$ brew install rbdr/apps/page +``` + +## How we got here. + +I've gone through many variations of how I host my personal website, and since the apocalyptic year of 2012[1] I've been using jekyll to build it and nginx to serve it. + +=> https://www.nasa.gov/topics/earth/features/2012.html [1] in 2012 this sounded like a good idea, but go ask nasa why i kept this going for 10 more years. + +A couple of years ago, while learning how to use pulumi[2] and aws, I decided to migrate all of my personal infrastructure to s3 + cloudfront. While this was satisfying and edifying, it ended up being too much complexity for what now amounted to a bunch of html files with a shared layout. + +=> https://www.pulumi.com/ [2] pulumi, like terraform but nicer + +More recently than that, I discovered the joy of gemini[3] and started maintaining my website as a capsule instead. In fact, I spent more time tending to the gemtext than the htmls, so it seemed even worse to have to go back, update some HTMLs, sync the bucket, invalidate the cloudfront cache, ew. + +=> https://gemini.circumlunar.space/ [3] gemini, like http but nicer +=> gemini://gemini.unlimited.pizza/ [3b] if you're not already seeing this page in gemini, check it out. + +With all that going on, I decided it was time to let jekyll rest, learn some rust, and build a static site generator that takes a bunch of gmi files and a layout to create my website. After a few days of trial and error, here we are. + +## What happens next? + +Well, the odd one out is now my blog generator. So i'm pretty sure the next step will be to also replace blog with a rustier version that does much less. If it does come to that, you can read all about it in your favorite online publication: this here gemlog. diff --git a/archive/1681763713661/metadata.json b/archive/1681763713661/metadata.json new file mode 100644 index 0000000..cbcaf3e --- /dev/null +++ b/archive/1681763713661/metadata.json @@ -0,0 +1,4 @@ +{ + "id": "1681763713661", + "createdOn": 1681763713661 +} \ No newline at end of file diff --git a/posts/0/introducing-page.gmi b/posts/0/introducing-page.gmi new file mode 100644 index 0000000..1539a0b --- /dev/null +++ b/posts/0/introducing-page.gmi @@ -0,0 +1,33 @@ +# Introducing Page, a website generator + +Do you have a static gemini website that you just wish was a static http website? run `page` on your gemini directory and see `page_html` emerge, rsync both to your static host and you're done! + +=> https://git.sr.ht/~rbdr/page Page is available for free on SourceHut™ + +If you're on mac you can install easily with: + +``` +$ brew tap rbdr/apps git@git.sr.ht:~rbdr/homebrew-apps +$ brew install rbdr/apps/page +``` + +## How we got here. + +I've gone through many variations of how I host my personal website, and since the apocalyptic year of 2012[1] I've been using jekyll to build it and nginx to serve it. + +=> https://www.nasa.gov/topics/earth/features/2012.html [1] in 2012 this sounded like a good idea, but go ask nasa why i kept this going for 10 more years. + +A couple of years ago, while learning how to use pulumi[2] and aws, I decided to migrate all of my personal infrastructure to s3 + cloudfront. While this was satisfying and edifying, it ended up being too much complexity for what now amounted to a bunch of html files with a shared layout. + +=> https://www.pulumi.com/ [2] pulumi, like terraform but nicer + +More recently than that, I discovered the joy of gemini[3] and started maintaining my website as a capsule instead. In fact, I spent more time tending to the gemtext than the htmls, so it seemed even worse to have to go back, update some HTMLs, sync the bucket, invalidate the cloudfront cache, ew. + +=> https://gemini.circumlunar.space/ [3] gemini, like http but nicer +=> gemini://gemini.unlimited.pizza/ [3b] if you're not already seeing this page in gemini, check it out. + +With all that going on, I decided it was time to let jekyll rest, learn some rust, and build a static site generator that takes a bunch of gmi files and a layout to create my website. After a few days of trial and error, here we are. + +## What happens next? + +Well, the odd one out is now my blog generator. So i'm pretty sure the next step will be to also replace blog with a rustier version that does much less. If it does come to that, you can read all about it in your favorite online publication: this here gemlog. diff --git a/posts/0/metadata.json b/posts/0/metadata.json index 621733a..cbcaf3e 100644 --- a/posts/0/metadata.json +++ b/posts/0/metadata.json @@ -1,4 +1,4 @@ { - "id": "1681307459450", - "createdOn": 1681307459450 + "id": "1681763713661", + "createdOn": 1681763713661 } \ No newline at end of file diff --git a/posts/0/four-day-week.gmi b/posts/1/four-day-week.gmi similarity index 100% rename from posts/0/four-day-week.gmi rename to posts/1/four-day-week.gmi diff --git a/posts/1/metadata.json b/posts/1/metadata.json index a2859b8..621733a 100644 --- a/posts/1/metadata.json +++ b/posts/1/metadata.json @@ -1,4 +1,4 @@ { - "id": "1676592006423", - "createdOn": 1676592006423 + "id": "1681307459450", + "createdOn": 1681307459450 } \ No newline at end of file diff --git a/posts/1/link-first-look-new-emojis-in-ios-164.gmi b/posts/2/link-first-look-new-emojis-in-ios-164.gmi similarity index 100% rename from posts/1/link-first-look-new-emojis-in-ios-164.gmi rename to posts/2/link-first-look-new-emojis-in-ios-164.gmi diff --git a/posts/2/link-lazy-reporters-claiming-fediverse-is-slumping-despite-massive-increase-in-usage-techdirt.gmi b/posts/2/link-lazy-reporters-claiming-fediverse-is-slumping-despite-massive-increase-in-usage-techdirt.gmi deleted file mode 100644 index 451d0d6..0000000 --- a/posts/2/link-lazy-reporters-claiming-fediverse-is-slumping-despite-massive-increase-in-usage-techdirt.gmi +++ /dev/null @@ -1,10 +0,0 @@ -# Link: Lazy Reporters Claiming Fediverse Is ‘Slumping,’ Despite Massive Increase In Usage | Techdirt - -=> https://www.techdirt.com/2023/02/08/lazy-reporters-claiming-fediverse-is-slumping-despite-massive-increase-in-usage/ Lazy Reporters Claiming Fediverse Is ‘Slumping,’ Despite Massive Increase In Usage | Techdirt -> Any site getting a big influx of users is going to have some number of them choose not to engage, especially something that’s new and different. But if you look at the actual retention rate for the fediverse, it’s astoundingly high. - -This is true, the quality of the content in mastodon feels very high. I've been exploring other communities such as Pixelfed and Bookwyrm, and what I find is communities that are still emerging but feel more active. - -It's exciting times on the internet! - -Either way, any one instance doesn't have to be as big as twitter for them to be a real challenge to centralized social-media. \ No newline at end of file diff --git a/posts/2/metadata.json b/posts/2/metadata.json index 5ddab7e..a2859b8 100644 --- a/posts/2/metadata.json +++ b/posts/2/metadata.json @@ -1,4 +1,4 @@ { - "id": "1676246408887", - "createdOn": 1676246408887 + "id": "1676592006423", + "createdOn": 1676592006423 } \ No newline at end of file