Skip to content

Instantly share code, notes, and snippets.

View staab's full-sized avatar

hodlbod staab

View GitHub Profile
@staab
staab / survey.md
Last active April 27, 2024 05:04
A survey of Nostr DM proposals

This is an attempt to take a step back and summarize all proposed approaches to private messages (DMs, group chats, and general-purpose nostr-within nostr, including for large groups of people) for the purpose of building a secure, feature-complete, interoperable solution.

This topic has come up repeatedly over nostr's history, and has entered the limelight again because of HRF's e2e encrypted group chats bounty. The hope here is to get everyone on the same page and hammer out one or more NIPs that can incorporate the best parts of all proposed solutions so we can finally get secure messaging on nostr.

Please comment with thoughts, criticisms, missing proposals/implmentations, and I will update the gist as we go along.

Proposals Reference

import re, importlib.util, os
from time import time
from utils.logging import logger
from utils.dt import Dt
from utils.misc import uuid_str
from lib.sql.query import clauses as c
logger = logger.getChild(__name__)
@staab
staab / janet.kak
Created December 3, 2019 15:28
Kakoune filetype for Janet
# http://janet-lang.org
# ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
# require lisp.kak
# Detection
# ‾‾‾‾‾‾‾‾‾
hook global BufCreate .*[.](janet) %{
set-option buffer filetype janet