Skip to content

Instantly share code, notes, and snippets.

@badlogic
badlogic / 01-update-docs.md
Last active June 16, 2025 20:01
Yakety Documentation (Ordered) - LLM-optimized docs with concrete file references

Update Documentation

You will generate LLM-optimized documentation with concrete file references and flexible formatting.

Your Task

Create documentation that allows humans and LLMs to:

  • Understand project purpose - what the project does and why
  • Get architecture overview - how the system is organized
  • Build on all platforms - build instructions with file references
@badlogic
badlogic / README.md
Created June 14, 2025 20:41
Yakety Documentation - LLM-optimized docs with concrete file references

Yakety

Real-time speech-to-text application with hotkey recording and local Whisper transcription. Records audio while holding a keyboard shortcut, transcribes using on-device AI, and pastes text directly into the active application.

Key Entry Points

  • src/main.c - Application entry point and transcription pipeline
  • CMakeLists.txt - Build system with whisper.cpp integration
[
{
"kind": "youtube#commentThread",
"etag": "LpYQh8CFzYQ3lWbGAx35-Ez4kFs",
"id": "UgxMTUbpYJnPOPG9jLR4AaABAg",
"snippet": {
"channelId": "UC1y1GtNgGiAUBfQz87ltjag",
"videoId": "q5IR_OLv6YU",
"topLevelComment": {
"kind": "youtube#comment",
[
{
"name": "S-BUDGET Aceto Balsamico di Modena I. G. P.",
"price": 1.29
},
{
"name": "Clever Aceto Balsamico die Modena",
"price": 1.29
},
{
@badlogic
badlogic / toolchain-djgp.cmake
Created December 18, 2022 11:24
A CMake toolchain file for DJGPP
set (CMAKE_SYSTEM_NAME linux-djgpp)
set (DJGPP TRUE)
#
# CMake toolchain file for DJGPP. Usage:
#
# 1. Download and extract DGJPP
# 2. Place this file into the root folder of DJGPP
# 3. When configuring your CMake project, specify the toolchain file like this:
@badlogic
badlogic / program.ul
Last active May 1, 2022 23:32
Starfield
include "utils.ul"
loop:
rand r1
mulf r1, 255, r1
f2i r1, r1
or r1, 0xff000000, r1
push r1
call _gfx_clear
call _gfx_show
@badlogic
badlogic / base.ul
Created April 20, 2022 06:44
Untitled
mov 123, r1
mov 345, r2
@badlogic
badlogic / program.ul
Last active April 20, 2022 06:44
Untitled
include "utils.ul"
halt
@badlogic
badlogic / program.ul
Last active May 1, 2022 21:04
Untitled
buffer: reserve int x 320 * 240 * 4
fire: reserve byte x 320 * 240
palette: int 0xff070707, 0xff1F0707, 0xff2F0F07, 0xff470F07, 0xff571707, 0xff671F07, 0xff771F07, 0xff8F2707, 0xff9F2F07, 0xffAF3F07, 0xffBF4707, 0xffC74707, 0xffDF4F07, 0xffDF5707, 0xffDF5707, 0xffD75F07, 0xffD75F07, 0xffD7670F, 0xffCF6F0F, 0xffCF770F, 0xffCF7F0F, 0xffCF8717, 0xffC78717, 0xffC78F17, 0xffC7971F, 0xffBF9F1F,0xffBF9F1F, 0xffBFA727, 0xffBFA727, 0xffBFAF2F, 0xffB7AF2F, 0xffB7B72F, 0xffB7B737, 0xffCFCF6F, 0xffDFDF9F, 0xffEFEFC7, 0xffFFFFFF
# clear buffer
mov buffer, r1
mov 0, r2
mov 0xff000000, r3
clear_buffer_loop:
sto r3, r1, r2
@badlogic
badlogic / program.ul
Created April 19, 2022 23:23
Untitled
include "utils.ul"
halt