Skip to content

Instantly share code, notes, and snippets.

View zefhemel's full-sized avatar

Zef Hemel zefhemel

View GitHub Profile

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: {
@zefhemel
zefhemel / reaction-tracker.md
Created March 26, 2021 08:32
A simple reaction tracker in Matterless

Environment

server: https://community.mattermost.com
me_token: XXX
bot_token: XXX

MattermostClient: TrackerClient

url: $server