Skip to content

Instantly share code, notes, and snippets.

View CaffTech's full-sized avatar

Caffeinated Tech CaffTech

View GitHub Profile
@CaffTech
CaffTech / memos.sh
Created August 13, 2025 12:57
A command line BASH script post to Memos
#!/bin/bash
# A BASH script to post memos from the command line.
# It is a conversion of a PowerShell script from: https://www.reddit.com/r/selfhosted/comments/1mohkot/i_love_self_hosting_memos_great_api_for_super/
# Needs yout own instance of Memos - https://www.usememos.com/
# Default environment variables
MEMOS_URI="${MEMOS_URI:-https://YOUR_DOMAIN.com}"
MEMOS_TOKEN="${MEMOS_TOKEN:-YOUR_API_TOKEN}"