close
Skip to content

Instantly share code, notes, and snippets.

import { Hono } from 'hono'
import { feedRenderer } from './renderer'
const app = new Hono()
app.get('/feed', feedRenderer({ baseUrl: 'https://example.com' }), (c) => c.render(items, { format: 'atom' }))
export default app

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@ljjjustin
ljjjustin / socat-tcp-to-unix-socket.sh
Last active July 1, 2026 04:37
socat-unix-socket-to-tcp.sh
#!/bin/bash
if [ $# -ne 3 ]; then
echo "usage: $0 <unix socket file> <host> <listen port>"
exit
fi
SOCK=$1
HOST=$2
PORT=$3
@phpfour
phpfour / dbdesign.md
Last active July 1, 2026 04:34
Database Modeling Prompt

Paste this in your coding agent and replace the @PRD-v1.md with an actual PRD or feature spec.


/ce-brainstorm Let's build the project data model based on @PRD-v1.md

I need scenario based examples and sample data tables to understand what scenario you are asking me. This is true for all the decisions.

Start with setting up a baseline example scenario with two customers with two projects and guide me step by step, with easy things first and gradually increasing in complexity. The entire data model should be built through interview.

@mary-ext
mary-ext / bluesky-osa.md
Last active July 1, 2026 04:32
Bluesky's age assurance sucks, here's how to work around it.

Bluesky's age assurance sucks, here's how to work around it.

Bluesky has implemented age verification measures in response to regional laws that restrict access, prompting users to verify their age through Epic Games' Kids Web Services before they can access adult content.

This sucks, but thankfully there are ways to work around it.

Before diving in: I encourage you to read this entire document, including the

// ==UserScript==
// @name Gmail Quick Launcher
// @namespace gmail-icon-launcher
// @version 1.0
// @description Show a small mail icon to open Gmail directly
// @match *://*/*
// @grant none
// @run-at document-end
// ==/UserScript==
@PyroGenesis
PyroGenesis / windows-dark-mode.md
Last active July 1, 2026 04:25
Enable Windows Dark Mode via registry (no activation needed)
@sheridan-dot
sheridan-dot / miai-website-v2.html
Created July 1, 2026 04:01
MIAI website design draft v2 — Intelligence That Never Sleeps
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="MIAI — an intelligence agency built for the age of AI. Living intelligence that reads your world, learns it, and turns it into decisions.">
<title>MIAI — Intelligence That Never Sleeps</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">