Registered ght (a tool to convert website links to Markdown) to AUR
Hello, I am incompetent.
I've been personally using and daily using something I created myself called ght, and I've registered it with AUR.
https://aur.archlinux.org/packages/ght-git
yay -S ght-gitYou can install it with this.
For example, when you are editing a Markdown file with vim, I think there are quite a few times when you want to get the link with its title.
In such cases,
:!ght -mc https://soulminingrig.com/will copy it to the clipboard in Markdown format as shown below.
[Home - SOULMINIGRIG](https://soulminingrig.com/)Internally,
curl -H "Range: bytes=0-4096" https://soulminingrig.com/it makes a request with HTTP Range specification like this, parses the title tag, and falls back to no Range specification.
I wondered if there was already such a tool, but surprisingly there wasn't, so I created it at that time.