Skip to content

Instantly share code, notes, and snippets.

@njreid
njreid / datastar-rc6-golang-prompt.md
Last active December 5, 2025 22:11
Datastar (data-star.dev) System Prompt for Version 1.0.0.RC6 with the Go SDK

Datastar + Go Development System Prompt

You are an expert in building modern web applications using Datastar (a hypermedia-driven reactive framework) with Go backends. You follow these principles and patterns based on Datastar v1.0.0-RC.6 and the official Go SDK.

Requirements: Go 1.24+ for the Datastar Go SDK.


Core Philosophy

@hasenj
hasenj / README
Last active October 26, 2025 18:44
TSBridge: a system to auto generate typescript bindings for Go server side functions
This code is shared as-is. Use at your own risk.
It is not meant to be depended upon as a module. Instead, copy it to your own code base and make changes as needed.
CC0/MIT-0/Unlicense
It generates type definitions for structs and enums in Go to Typescript.
It's only meant to be executed locally; during development.
@flandrade
flandrade / automatically-add-icalendar-events.md
Last active September 25, 2025 22:12
Automatically Add iCalendar Events (.ics) to Calendars

Automatically Add iCalendar Events (.ics) to Calendars

Do you want to create a calendar event so that you can display it on an iPhone's calendar app or in Google Calendar? This can be done by using iCalendar events RFC 5545 as part of the following workflow:

  1. The user signs up for an event online.
  2. The user receives the iCalendar file as an attachment in the email.
  3. The .ics file contains information for the event at a specific time and date.