Skip to content

Commit 00636ea

Browse files
committed
feat: switch README data layer from RSS feeds to pub-cogley API
Replace three separate RSS feed parsers (status.lol, cogley.jp, bsky.app) and webhook.site holidays fetch with structured JSON calls to the pub-cogley API. Adds new sections: presence status, daily quote, currently reading, content stats, and mermaid architecture diagrams.
1 parent fdcabea commit 00636ea

File tree

15 files changed

+510
-246
lines changed

15 files changed

+510
-246
lines changed

.github/workflows/update-profile-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
uses: actions/checkout@v4
3030
with:
3131
ref: ${{ github.head_ref }}
32-
fetch-depth: '0' # Fetch all history for git
32+
fetch-depth: "0" # Fetch all history for git
3333

3434
- name: Setup Deno environment
3535
# Downloads deno and caches it

README.md

Lines changed: 91 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,113 @@
1-
[![PGP Public Key](https://img.shields.io/badge/PGP-Public_Key-orange?style=flat-square&logo=monkey%20tie)](https://cogley.jp/pgp) [![Proven.lol Lightweight Proof](https://img.shields.io/badge/Proven.lol-Lightweight_Proof-green?style=flat-square&logo=cachet)](https://proven.lol/6265e6)
2-
3-
**Last Updated:**  February 22nd, 2025 at 5:31:28 PM GMT+9
4-
**Today is:**  Sunday, January 4, 2026
1+
[![PGP Public Key](https://img.shields.io/badge/PGP-Public_Key-orange?style=flat-square&logo=monkey%20tie)](https://cogley.jp/pgp) [![Proven.lol Lightweight Proof](https://img.shields.io/badge/Proven.lol-Lightweight_Proof-green?style=flat-square&logo=cachet)](https://proven.lol/6265e6)
2+
3+
**Last Updated:**  February 22nd, 2025 at 5:31:28 PM GMT+9
4+
**Today is:**  Saturday, February 28, 2026
55

66
### Hi there 👋
77

8-
I founded [eSolia](https://esolia.com), a boutique IT services firm based in Tokyo, in 1999. We passed our 25th anniversary in July 2024 and hope to stay healthy and profitable, working on improving our operations by implementing ISO 27001.
8+
I founded [eSolia](https://esolia.com), a boutique IT services firm based in Tokyo, in 1999. We passed our 25th anniversary in July 2024 and hope to stay healthy and profitable, working on improving our operations by implementing ISO 27001.
9+
10+
I have spent my career in IT in Japan, doing a wide range of activities, such as compsci tutoring, physical cabling, network engineering, project management, software development, system architecture and design, solution consulting, web design and development, and delivering training courses to name a few. Sometimes I look back with nostalgia on the way things were in the late '80s, but mostly, I like how things are now (you're _old_ if you remember the struggle of `autoexec.bat` and `config.sys`, and trying to squeeze drivers into limited memory)!
11+
12+
> _"Into my heart an air that kills<br>From yon far country blows:<br>What are those blue remembered hills,<br>What spires, what farms are those?<br><br>That is the land of lost content,<br>I see it shining plain,<br>The happy highways where I went<br>And cannot come again."_ — A.E. Housman, "A Shropshire Lad"
13+
14+
### 😤 Currently: Swamped
915

10-
I have spent my career in IT in Japan, doing a wide range of activities, such as compsci tutoring, physical cabling, network engineering, project management, software development, system architecture and design, solution consulting, web design and development, and delivering training courses to name a few. Sometimes I look back with nostalgia on the way things were in the late ’80s, but mostly, I like how things are now (you're _old_ if you remember the struggle of `autoexec.bat` and `config.sys`, and trying to squeeze drivers into limited memory)!
16+
**Working on:** Revamp Hanawa CMS
17+
18+
_Packed schedule, minimal interruptions_
1119

1220
[![Rick's GitHub stats](https://github-readme-stats.vercel.app/api?username=rickcogley&show_icons=true&theme=transparent)](https://github.com/anuraghazra/github-readme-stats)
1321

14-
## Latest Statuses:
15-
* [🎯 Just updated the design and functionality of my long-form &quot;now&quot; page at rick.cogley.jp, check it out! It&#039;s part of a larger effort to build a personal publishing stack using sveltekit on cloudflare.!](https://rick.status.lol/rick/6958efc2cad2b)
16-
* [😒 Another daughter will leave the nest soon. Feeling pretty sad.](https://rick.status.lol/rick/68f0c9ae0437b)
17-
* [🗾 In line at the Osaka World Expo 2025. Yesterday was a typhoon but today is a scorcher.](https://rick.status.lol/rick/68bb6fe4797f2)
18-
* [🗺️ Heading to the Osaka Expo and no typhoon will stop us!](https://rick.status.lol/rick/68ba83e34be64)
19-
* [💦 Wrasslin’ Lume to get it to handle multilingual.](https://rick.status.lol/rick/67b98bf4e488e)
22+
### What I'm Up To This Week
23+
24+
**Themes:** `japan` `personal`
25+
26+
**Activity:** 3 posts this week
27+
28+
### Currently Reading
2029

21-
## Latest Bluesky Posts:
22-
* [Just updated the design and functionality of my long-form &#34;now&#34; page at rick.cogley.jp, check it out! It&#39;s part of a larger effort to build a personal publishing stack using sveltekit on cloudflare.!](https://bsky.app/profile/cogley.jp/post/3mbizvvyuxe2c)
23-
* [I like and use @cloudflare.social but how disappointing is this: I added a client domain under my account on a “pro” subscription, then decided a separate account for them would be best. Paid for “pro” again after migrating, so can I apply the first $240 to another domain? No, per “policy”. Wow. 🙂‍↔️](https://bsky.app/profile/cogley.jp/post/3mbf7oa4mr22m)
24-
* [We are about to become _empty-nesters_ with daughter 1 ready to fly the coop to her **new** apartment closer to work. Pretty sad about it to be honest but it is nice to have them home for the holidays.](https://bsky.app/profile/cogley.jp/post/3mb6qt6vpiz2u)
30+
📖 **User Friendly: How the Hidden Rules of Design Are Changing the Way We Live, Work, and Play** by Cliff Kuang, Robert Fabricant
2531

26-
## Latest Micro Blog Posts:
27-
* [We updated and upgraded eSolia&amp;rsquo;s &lt;a href=&#34;https://esolia.co.jp/e ...](http://rickcogley.micro.blog/2025/11/14/we-updated-and-upgraded-esolias.html)
28-
* [Gosh what an exciting World Series. Dodgers and Blue Jays were both stellar and i ...](http://rickcogley.micro.blog/2025/11/02/gosh-what-an-exciting-world.html)
29-
* [Exciting World Series this year! On to game 7! 🏟️⚾️&lt;/p&gt; ...](http://rickcogley.micro.blog/2025/11/01/exciting-world-series-this-year.html)
30-
* [When you change your domain&amp;rsquo;s DNS (NS records), you can flush the recor ...](http://rickcogley.micro.blog/2025/10/26/when-you-change-your-domains.html)
31-
* [Visited Osaka Expo 2025 on 6 Sept with 220,000 others. It was hot and crowded but ...](http://rickcogley.micro.blog/2025/09/07/visited-osaka-expo-on-sept.html)
32+
### Latest Posts
3233

33-
## Stats:
34+
- 💬 [Watched a TV show with A about a guy who shelters bitey dangerous dogs that peop...](https://cogley.jp) <sub>japan</sub>
35+
- 💬 [Got some made-in-Japan Shoes Like Pottery shoes, which are super comfy. They are...](https://cogley.jp) <sub>personal</sub>
36+
- 💬 [J brought Matterhorn choco and K brought homemade cookies and bread, we're bless...](https://cogley.jp) <sub>personal</sub>
37+
- 📝 [Enabling WebMCP Tools on my SvelteKit Migration Reference](https://cogley.jp/enabling-webmcp-tools-on-my-sveltekit-migration-reference) <sub>tech</sub>
38+
- 📝 [Markdown for Agents on SvelteKit + Cloudflare Workers](https://cogley.jp/markdown-for-agents-on-sveltekit-cloudflare-workers) <sub>tech</sub>
39+
40+
### Content Stats
41+
42+
| Type | Count |
43+
| --- | --- |
44+
| Posts | 2247 |
45+
| Articles | 61 |
46+
| Podcasts | 9 |
47+
| Pages | 10 |
48+
49+
### System Architecture
50+
51+
```mermaid
52+
graph LR
53+
subgraph "Content Creation"
54+
A[Markdown Files] --> B[pub-cogley CMS]
55+
C[Quick Posts] --> B
56+
end
57+
subgraph "pub-cogley Platform"
58+
B --> D[(D1 Database)]
59+
D --> E[REST API]
60+
E --> F[api.cogley.jp]
61+
end
62+
subgraph "Distribution"
63+
F --> G[cogley.jp Website]
64+
F --> H[GitHub Profile README]
65+
F --> I[Syndication]
66+
end
67+
subgraph "Syndication Targets"
68+
I --> J[Bluesky]
69+
I --> K[Mastodon]
70+
I --> L[Nostr]
71+
end
72+
style B fill:#f9f,stroke:#333
73+
style F fill:#bbf,stroke:#333
74+
```
75+
76+
### Content Flow
77+
78+
```mermaid
79+
flowchart TD
80+
A[New Post Created] --> B{Post Type?}
81+
B -->|Micro| C[Short-form Content]
82+
B -->|Article| D[Long-form Content]
83+
B -->|Podcast| E[Audio Content]
84+
C --> F[pub-cogley API]
85+
D --> F
86+
E --> F
87+
F --> G[cogley.jp]
88+
F --> H[Syndicate to Bluesky]
89+
F --> I[Syndicate to Mastodon]
90+
F --> J[Syndicate to Nostr]
91+
F --> K[GitHub README via Lume]
92+
style F fill:#bbf,stroke:#333
93+
style G fill:#bfb,stroke:#333
94+
```
95+
96+
### Build Stats
3497

3598
| Item | Value |
3699
| --- | --- |
37100
| Repo Total Files | 7 |
38-
| Repo Size in MB | 4981 |
101+
| Repo Size in KB | 7193 |
39102
| Lume Version | v2.5.0 |
40-
| Deno Version | 2.6.3 (linux x86_64) |
41-
| V8 Version | 14.2.231.17-rusty |
103+
| Deno Version | 2.7.1 (darwin aarch64) |
104+
| V8 Version | 14.5.201.2-rusty |
42105
| Typescript Version | 5.9.2 |
43106
| Timezone | Asia/Tokyo |
44107

45-
### How does this readme work?
108+
### How does this readme work?
46109

47-
I'm generating this readme using the Lume static site generator. See [this page](https://rickcogley.github.io/rickcogley/) for details to get your own!
110+
I'm generating this readme using the [Lume](https://lume.land) static site generator, pulling data from my [pub-cogley](https://github.com/rickcogley/pub-cogley) API. See [this page](https://rickcogley.github.io/rickcogley/) for details to get your own!
48111

49112
### Tech Stack
50113

@@ -69,10 +132,3 @@ I'm generating this readme using the Lume static site generator. See [this page]
69132
<code><img width="30" src="https://user-images.githubusercontent.com/25181517/186884152-ae609cca-8cf1-4175-8d60-1ce1fa078ca2.png" alt="macOS" title="macOS"/></code>
70133
<code><img width="30" src="https://github.com/marwin1991/profile-technology-icons/assets/76662862/2481dc48-be6b-4ebb-9e8c-3b957efe69fa" alt="Linux" title="Linux"/></code>
71134
</div>
72-
73-
<img src="/_site/icons/phosphor/acorn-duotone.svg" width="40px">
74-
<img src="/_site/css.svg" width="40px">
75-
76-
77-
78-

_config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ site.ignore("archive");
1616

1717
// Prepare script to get holidays from dbflex
1818
// Escape the double quotes around the auth header
19-
site.script("getholidays", "cd src/_data && curl https://pro.dbflex.net/secure/api/v2/15331/${API_KEY_01}/Work%20Holiday/API%20Holidays%20Today%20or%20Later/select.json -o futureholidays.json");
19+
site.script(
20+
"getholidays",
21+
"cd src/_data && curl https://pro.dbflex.net/secure/api/v2/15331/${API_KEY_01}/Work%20Holiday/API%20Holidays%20Today%20or%20Later/select.json -o futureholidays.json",
22+
);
2023

2124
// Prepare script to copy the generated readme to the repo root
2225
site.script(

_site/css.svg

Lines changed: 18 additions & 4 deletions
Loading

_site/favicon.svg

Lines changed: 40 additions & 18 deletions
Loading

_site/icons/phosphor/acorn-duotone.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

_site/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta name="theme-color" content="hsl(220, 20%, 100%)" media="(prefers-color-scheme: light)">
99
<meta name="theme-color" content="hsl(220, 20%, 10%)" media="(prefers-color-scheme: dark)">
1010

11-
<link rel="stylesheet" href="/rickcogley/styles.css?cb=1767458393815">
11+
<link rel="stylesheet" href="/rickcogley/styles.css?cb=1772231498891">
1212
<link rel="icon" type="image/png" sizes="32x32" href="/rickcogley/favicon.png">
1313
<link rel="canonical" href="https://rickcogley.github.io/rickcogley/">
1414

@@ -159,7 +159,8 @@ <h2>How to get yours?</h2>
159159
Just Edit the <code>repo-readme.vto</code> Vento template in markdown format, save, commit
160160
and push. If the GH action is working right, Lume will generate the readme file
161161
and copy it into place, after which you can see it on your personal repo.</p>
162-
<p>You can see a more simple version without any website creation tooling, in my <a href="https://github.com/eSolia/.github">org eSolia's profile repo</a>.</p>
162+
<p>You can see a more simple version without any website creation tooling, in my
163+
<a href="https://github.com/eSolia/.github">org eSolia's profile repo</a>.</p>
163164
<h2>Is it good?</h2>
164165
<p>Yes.</p>
165166

@@ -199,7 +200,7 @@ <h2>Is it good?</h2>
199200
<p class="header-description">
200201
<small>
201202
Updated November 25th, 2024 at 5:38:12 PM GMT+9<br>
202-
Lume v2.5.0, Deno 2.6.3, Typescript 5.9.2, V8 14.2.231.17-rusty <br>
203+
Lume v2.5.0, Deno 2.7.1, Typescript 5.9.2, V8 14.5.201.2-rusty <br>
203204
</small>
204205
</p>
205206
</footer>

0 commit comments

Comments
 (0)