Skip to content

Instantly share code, notes, and snippets.

@dabit3
dabit3 / you_couldve_invented_openclaw.md
Last active March 7, 2026 22:09
You Could've Invented OpenClaw

See more of my writing here.

In this post, I'll start from scratch and build up to OpenClaw's architecture step by step, showing how you could have invented it yourself from first principles, using nothing but a messaging API, an LLM, and the desire to make AI actually useful outside the chat window.

End goal: understand how persistent AI assistants work, so you can build your own (or become an OpenClaw power user).

First, let's establish the problem

When you use ChatGPT or Claude in a browser, there are several limitations:

@vhollander
vhollander / fastblob2.cc
Created July 30, 2024 12:26
blobulator
//
// fastblob2.cc - 2024/06/23
//
// An implementation of:
// Real-Time Particle Isosurface Extraction
// ACM 978-1-59593-983-8/08/0002
// Copyright © 2007 Valve Corporation. All rights reserved.
// https://valvearchive.com/archive/Other%20Files/Publications/Blobulator%20%28Ilya%20Rosenberg%29/p35-rosenberg.pdf
//
@svet-b
svet-b / grafana_pdf_via_snapshot.md
Last active March 7, 2026 22:02
PDF export of Grafana dashboard via snapshot

Get PDF export of Grafana dashboard

Note

As currently described, this approach does not work. The reason for that is that creating a snapshot via the API does not actually populate any data, as described in e.g. https://community.grafana.com/t/snapshot-using-http-api-does-nothing/. An alternative approach which does work described in https://gist.github.com/svet-b/1ad0656cd3ce0e1a633e16eb20f66425.

Prerequisites

Packages:

  • The jq JSON processing command line tool, which is available for most distributions (https://stedolan.github.io/jq/, sudo apt install jq)
  • NodeJS, and the puppeteer package (npm install puppeteer), which is used to run headless Chrome
@dabit3
dabit3 / pi_tutorial.md
Last active March 7, 2026 21:57
How to Build a Custom Agent Framework with PI: The Agent Stack Powering OpenClaw

PI is a TypeScript toolkit for building AI agents. It's a monorepo of packages that layer on top of each other: pi-ai handles LLM communication across providers, pi-agent-core adds the agent loop with tool calling, pi-coding-agent gives you a full coding agent with built-in tools, session persistence, and extensibility, and pi-tui provides a terminal UI for building CLI interfaces.

These are the same packages that power OpenClaw. This guide walks through each layer, progressively building up to a fully featured coding assistant with a terminal UI, session persistence, and custom tools.

By understanding how to compose these layers, you can build production-grade agentic software on your own terms, without being locked into a specific abstraction.

Pi was created by @badlogicgames. This is a great writeup from him that explains some of the design decisions made when creating it.

The stack

@vedovelli
vedovelli / INDEX.md
Created March 4, 2026 11:08
nanoclaw devteam: INDEX — todos os prompts do orchestrator

nanoclaw · AI Dev Team — Índice de Prompts

Todos os prompts usados pelo orchestrator (src/dev-team-orchestrator.ts), em ordem lógica de execução.

Variáveis em {{duplas chaves}} são substituídas em runtime pelo TypeScript.


⚙️ Setup (uma vez por instalação)

@waridrox
waridrox / Obmondo-HackNWin.md
Created March 6, 2026 06:16
Obmondo HackNWin guidelines

Obmondo Sovereign Sprint - Deployment Workflow

Participate in the Obmondo Sovereign Sprint by deploying the infrastructure stack and sharing proof of your deployment.

Follow the steps below to qualify.


1. Get Started

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active March 7, 2026 21:21
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under the Quests tab
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@pete3n
pete3n / README.md
Last active March 7, 2026 21:46
NixOS Offline Options

NixOS in Offline and Restrictive Networks

This gist was created to explore options for working with NixOS in a completely offline environment or inside a network with restricted internet access (such as a corporate LAN with a Proxy).

Offline Installation

Netboot/Pixieboot

@Tuurash
Tuurash / Windows_ProductKeys.txt
Last active March 7, 2026 21:42 — forked from KathariHC/gist:18b79d862cb12199cbd60025faff0a09
Microsoft Generic Product Keys for All Editions
Generic keys is default keys from Microsoft will allow you to install or upgrade to a specific Microsoft software you want,
but will not activate it. if you want to activate it , you can buy the Microsoft Retail Product Keys from Keyingo.com
Microsoft Generic Product Keys for All Editions
Windows Server 2022 Datacenter
WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2022 Standard
VDYBN-27WPP-V4HQT-9VMD4-VMK7H
@Foadsf
Foadsf / latex-windows-vscode-setup.md
Created May 11, 2025 13:18
Complete step-by-step guide for setting up LaTeX on Windows with MiKTeX, VS Code, and automatic formatting using latexindent

Complete LaTeX Setup Guide for Windows with VS Code

This guide will help you set up a complete LaTeX environment on Windows with MiKTeX, VS Code, and automatic formatting with latexindent.

Prerequisites

  • Windows 10/11
  • Package manager (Chocolatey, Winget, or Scoop)
  • VS Code (or install it during this process)