Nama
unlistedby Phorcys
Name the URLs of a selection, strip the noise from their titles, copy the URLs out. <>
Nama
A simple Obsidian plugin: name the URLs of a selection, strip the noise from their titles, copy the URLs out.
Commands
Each one acts on the selection, or on the current line when nothing is selected; each is also in the editor's context menu.
| Command | Effect |
|---|---|
| Name URLs | every bare URL becomes [title](url) |
| Replace URLs | every URL not embedded becomes [title](url), named links included: their name is replaced by the page's title |
| Insert URL | the text becomes [text](url) with the clipboard's URL; without one, the cursor waits in (), in insert mode under vim |
| Enrich URLs | every URL not yet embedded becomes , which Obsidian renders: a YouTube video, a tweet, an image; on a line without one,  with the clipboard's URL is inserted at the cursor |
| Copy first URL | the first URL, named or bare, to the clipboard |
| Copy all URLs | every URL, one per line |
Insert URL takes the text of the line past its list, task, quote or heading marker when the whole line is selected, or nothing is.
The strip patterns are regexes, one per line, in the settings.
Network
Name URLs and Replace URLs are the only commands that go online: they download each page they name to read its title, or ask YouTube's oEmbed endpoint for a video's. Nothing else is sent anywhere, and nothing is collected.
Install
From Obsidian: Settings → Community plugins → Browse → Nama.
From the sources, into the vault .env names:
cp .env.example .env # set NAMA_VAULT
just setup
just install
Make it yours
[!TIP] Built for one vault and one pair of hands. Feel free to clone it and adapt it to your needs with your agents: the rules they follow are already in AGENTS.md ;)
License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.