Skip to content

Instantly share code, notes, and snippets.

View zefhemel's full-sized avatar

Zef Hemel zefhemel

View GitHub Profile

TL;DR: Please do not (heavily) use LLM-based coding tools to contribute code to the main SilverBullet code base. Thank you.

The topic of how to deal with (largely) LLM generated code contributions comes up from time in SilverBullet. Different open source project take different approaches: some allow them, some decidedly do not. After much deliberation, I decided that for now I’ll put SilverBullet in the latter camp, as in: no thank you. There are two main reasons for this, the first is moral, a second more practical.

The moral reason

I have been open sourcing code for over 25 years. My goals for doing so include helping people solve similar problems that I have, enjoy and benefit from the software I build, to allow them to adapt, improve, change and learn from it, and to build community. I have always distributed code under the most liberal of licenses (usually MIT), and have been lucky enough that those lice

Testing this yo

Fancy stuff here!!!!!!

@zefhemel
zefhemel / git.md
Last active October 28, 2025 07:32

#meta

This library adds a basic git synchronization functionality to SilverBullet. It should be considered a successor to silverbullet-git implemented in Space Lua.

The following commands are implemented:

${widgets.commandButton("Git: Sync")}

  • Adds all files in your folder to git

#meta

Proof of concept (and WIP) AI features for SilverBullet.

Currently implemented commands:

  • AI: Chat (bound to Cmd-Enter/Ctrl-Enter)
  • AI: Analyze With Prompt (see below for an example)

Proof-of-concept library to easily build DOM-based Lua widgets with the magic of Lua meta tables.

Usage

-- any HTML tag can be used here
dom.span {
  -- tag attributes can be set like this:
@zefhemel
zefhemel / file.md
Created March 30, 2025 09:35
Test gist

This is cool

This is a test gist

randomAttribute
10

Supper yo (updates)

Feedback Actively seeking and responding positively to thoughtful feedback. Giving thoughtful feedback and investing time in others.

@zefhemel
zefhemel / focalboard-deno.js
Last active April 6, 2021 14:52
Focalboard Deno API
export class Focalboard {
constructor(url, token, workspaceId) {
this.url = url;
this.token = token;
this.workspaceId = workspaceId;
}
async allBlocks() {
let result = await fetch(`${this.url}/api/v1/workspaces/${this.workspaceId}/blocks?type=view`, {
headers: {