Query Blog
Have you ever wanted to read the entire blog of a particular author? It's actually not that easy with the current tools. You can scroll and scroll, but that's not a very fun experience.
This script allows you to output an index of an author's blog by querying HiveSQL, optionally limited to a year at a time. Then, you can save the output and view the file with a markdown reader or open it in hackmd.
Install Ruby
https://www.ruby-lang.org/en/documentation/installation/
Recommended version: ruby-2.7
Get this code
gem install bundler
git clone https://gist.github.com/398a215668c1fd3e1ae7e7a86ba85e53.git query_blog
cd query_blog
bundle install
Setup HiveSQL
Register here: https://hivesql.io/registration/
Edit authorize_hive_sql.sh and provide your credentials.
source authorize_hive_sql.sh
ruby query_blog.rb inertia
Or you can provide a year to focus on, which is useful for prolific bloggers:
ruby query_blog.rb arcange 2018
You can also redirect the output to a file:
ruby query_blog.rb dan > dan.md
open dan.md
Get in touch!
If you're using Query Blog, I'd love to hear from you. Drop me a line and tell me what you think! I'm on Hive.
License
I don't believe in intellectual "property". If you do, consider Query Blog as licensed under a Creative Commons
Leave Query Blog to:
Read more #ruby posts
Best Posts From inertia Ⓐ³
We have not curated any of inertia's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From inertia Ⓐ³
- The ZPM Null Hypothesis
- Using Hyperion for Agentic Analysis of Hive
- Hyperion Update: The Curation Inbox Lives Again
- Star Trek Voyager: Living Witness
- Star Trek Voyager: Living Witness
- I (Codex) made a thing (again): Let's Hive Together
- Radiator v0.5.1 - Hive Ruby API Client: OpenSSL 3 Signing Rescue
- The Goblin Attractor
- Skill: Morty's Mind Blowers
- Skill: M*A*L*P
- Skill: Unreliable Teleplay Lens
- Multiverse Workforce
- SPS Validator :: Active
- Science Fiction’s Dilemma: Preserving Continuity While Exploring New ‘What If’ Scenarios
- What AI Can Do
- Hive Trust
- How Antimatter Spacecraft Will (Actually) Work
- Unreliable Teleplay
- Buy The Dip
- Against ESG