No description
  • Go 99.3%
  • Pkl 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tim Hårek Andreassen 3d7a795753
All checks were successful
check / check (push) Successful in 45s
docs: shorten README, fix release install link
2026-10-03 12:30:56 +02:00
.forgejo/workflows chore(scaffold): cobra CLI foundation with mise + hk + Forgejo CI 2026-10-03 09:28:14 +02:00
cmd/kladd draft: Optimize string concat 2026-10-03 12:30:10 +02:00
.gitignore fix(wrap): anchor the local-build gitignore to the repo root 2026-10-03 12:28:40 +02:00
AGENTS.md chore(scaffold): cobra CLI foundation with mise + hk + Forgejo CI 2026-10-03 09:28:14 +02:00
date.go feat(api): memos REST client, CEL filter builder, date parsing 2026-10-03 09:29:48 +02:00
date_test.go feat(auth): signin/signout/whoami/config with keyring-backed token 2026-10-03 09:32:11 +02:00
filter.go feat(api): memos REST client, CEL filter builder, date parsing 2026-10-03 09:29:48 +02:00
filter_test.go feat(auth): signin/signout/whoami/config with keyring-backed token 2026-10-03 09:32:11 +02:00
go.mod feat(view): wrap prose at 80 columns on a terminal 2026-10-03 12:21:01 +02:00
go.sum feat(view): wrap prose at 80 columns on a terminal 2026-10-03 12:21:01 +02:00
hk.pkl chore(scaffold): cobra CLI foundation with mise + hk + Forgejo CI 2026-10-03 09:28:14 +02:00
LICENSE chore(scaffold): cobra CLI foundation with mise + hk + Forgejo CI 2026-10-03 09:28:14 +02:00
memo.go feat(api): memos REST client, CEL filter builder, date parsing 2026-10-03 09:29:48 +02:00
memo_test.go feat(auth): signin/signout/whoami/config with keyring-backed token 2026-10-03 09:32:11 +02:00
memos.go chore: run go fix 2026-10-03 12:27:08 +02:00
memos_test.go fix(api): send documented snake_case order field create_time 2026-10-03 12:15:37 +02:00
mise.toml chore(scaffold): cobra CLI foundation with mise + hk + Forgejo CI 2026-10-03 09:28:14 +02:00
README.md docs: shorten README, fix release install link 2026-10-03 12:30:56 +02:00

kladd

A small CLI for Memos, built around the editor flow: write in your $EDITOR, see exactly what will be sent, then save or abort.

kladd new                    # write a note, preview it, save
kladd edit <id>              # edit a note, preview the diff, save
kladd ls [--from] [--to]     # list notes, newest first
kladd view <id>              # print a note's content
kladd search <query>         # search note contents
kladd tags [tag]             # tag counts, or the notes tagged <tag>
kladd pin|unpin <id>         # toggle a note's pin
kladd archive|restore <id>   # soft-remove or bring back a note
kladd delete <id>            # delete permanently (asks first)

<id> is the uid shown by kladd ls, or a memos/<uid> resource name. Bare kladd edit and kladd delete open an interactive picker instead.

Setup

kladd signin

Prompts for your instance URL and a personal access token, validates them and stores the token in the OS keyring. kladd signout removes it again.

Install

go install src.timharek.no/tim/kladd/cmd/kladd@latest

Prebuilt tarballs (macOS, Linux, Windows) are on the releases page.

Development

Tooling is managed with mise; linting runs through hk. mise run build, mise run test, mise run check:ci cover the loop — see AGENTS.md for details.

License

GPL-3.0 — see LICENSE.