Last active 1761046729

now.astro Raw
1---
2import BasePage from "../layouts/BasePage.astro";
3import {frontmatter, Content } from '../content/now.md';
4import cache from '../backends/cache';
5
6const cacheKey = 'finger-content';
7let fingerContent = await cache.get<string>(cacheKey);
8if(!fingerContent){
9 const res = await fetch('https://plan.cat/~travisshears');
10 fingerContent = await res.text();
11 await cache.set(cacheKey, fingerContent);
12 await cache.expire(cacheKey, 60 * 60); // 1 hour
13}
14
15---
16
17
18<BasePage title={frontmatter.title}>
19 <Content />
20 <pre><code>{fingerContent}</code></pre>
21</BasePage>
22
23
24<style>
25code {
26 font-size: var(--font-xs);
27}
28</style>
29
now.md Raw

title: Now description: What I'm currently working on

Now / Finger Plan

Hello internet,

This is my /now page. Following suit with many other personal sites this page is a short summery of what I'm currently working on. It is also a finger "plan", more on finger protocol here. In short the protocol defines a way to get info on other unix users using a server. The plan aspect of this protocol overlaps in many ways with more modern concept of a now page. So here is my finger plan / now.

If you want to peek behind the curtain, I've posted the source code for how this page works here. Thanks again to Joshua Stein for hosting plan.cat, where my finger plan is hosted.