Skip to content

Instantly share code, notes, and snippets.

View marcus-crane's full-sized avatar
💭
Online and logged on

Marcus Crane marcus-crane

💭
Online and logged on
View GitHub Profile
@marcus-crane
marcus-crane / popclipmemos.py
Created April 30, 2025 23:40
A Popclip script for sending selected text to a Memos (https://github.com/usememos/memos) server
# #popclip
# { name: Memos, icon: iconify:si:memory-fill, after: show-result, interpreter: python3 }
import json
import os
import urllib.request
print(os.environ)
payload = {
"state": "NORMAL",