NOTEMAP(1)

πŸ“¦ version 1.3, in nixos 26.05, nixpkgs unstable

NOTEMAP(1) β€” General Commands Manual, but bestie edition πŸ’Œ

Manual name folded in near the top like a little name tag: notemap and git-notemap, okay? Periodt.

πŸ’– NAME πŸ’–

notemap, git-notemap β€” mirror notes to IMAP ✨

✨ SYNOPSIS ✨

notemap [-afvw] [-M mailbox] [-h host] [-m file] [-p port] user [file ...]
git notemap [-afv] [-M mailbox] [-h host] [-m file] [-p port] [-u user] [file ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so notemap is the utility that mirrors text notes into an IMAP mailbox that’s appropriate for display by the Apple Notes application. It maps files to IMAP messages using a map file β€” by default .notemap in the current directory. If you don’t specify any files, all mapped files are mirrored. New files get added to the map file with -a, slay.

πŸ”’ IMAP over TLS is assumed. The IMAP host and port are automatically discovered through SRV record lookup on the domain portion of user. The password is read from /dev/tty, or from standard input if -w is used.

The git-notemap wrapper uses git-config(1) and gitcredentials(7) for defaults and authentication. It’s giving convenient, honestly.

The arguments are as follows, bestie β€” every one, no skips:

  • -M mailbox β€” Mirror notes to mailbox. The default is Notes.
  • -a β€” Add new notes to the map file.
  • -f β€” Overwrite modified notes in the mailbox.
  • -h host β€” Connect to IMAP on host.
  • -m file β€” Set the path of the map file. The default is .notemap.
  • -p port β€” Connect to IMAP on port.
  • -v β€” Log IMAP protocol to standard error.
  • -w β€” Read the password from standard input.

The git-notemap wrapper loads defaults from these git-config(1) options: notemap.imapServer, notemap.imapServerPort, notemap.imapUser, notemap.imapPass, notemap.imapMailbox, notemap.mapFile. If notemap.imapPass is unset, the password is obtained through gitcredentials(7). iykyk πŸ’…

πŸŽ€ EXAMPLES πŸŽ€

Here’s the group-chat demo reel πŸ“:

notemap -a june@causal.agency note.txt
git config notemap.imapUser june@causal.agency
git notemap note.txt

🌈 STANDARDS 🌈

The receipts, exact and no cap πŸ“š:

πŸ‘‘ AUTHORS πŸ‘‘

Made by the icon: June Bug <june@causal.agency> πŸ’–

πŸ’€ CAVEATS πŸ’€

Heads up, bestie: notes are assumed to be plain UTF-8 text with LF line endings.

πŸ› BUGS πŸ›

Found a bug? Send mail to ⟨list+notemap@causal.agency⟩ or join #ascii.town on chat.freenode.net. fr fr, we’re around 🫢


Debian edition, dated December 16, 2020 β€” NOTEMAP(1) signing off πŸ’…βœ¨

πŸ“¦ where this page comes from