Skip to content

Instantly share code, notes, and snippets.

View driftywinds's full-sized avatar
👻
Spook the spook

drifty driftywinds

👻
Spook the spook
View GitHub Profile
@driftywinds
driftywinds / memos-on-powershell.txt
Created August 14, 2025 17:00
Open powershell, type "notepad $profile" and paste the contents of this gist in there (change the env variables at the top)
#creator = Hefty-Possibility625 on Reddit, more here - https://www.reddit.com/r/selfhosted/comments/1mohkot/i_love_self_hosting_memos_great_api_for_super/
$env:MEMOS_URI = 'https://YOUR_DOMAIN.com'
$env:MEMOS_TOKEN = 'YOUR_API_TOKEN'
function memo {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true, Position=0, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true)]
[string]$content,
### Keybase proof
I hereby claim:
* I am driftywinds on github.
* I am driftywinds (https://keybase.io/driftywinds) on keybase.
* I have a public key ASA_D6YVkY-Yg-5AiZJM4WvnMIPAlAFgsgjMZlGtmC6Cewo
To claim this, I am signing this object: