Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

urlref

inspired by urlref by benjamin hollon, but rewritten as a simple perl script.

the script takes a URL and saves it in a file with a generated 5-character alphanumeric code (all uppercase, for less confusion when writing it down). when you want to search for a URL by its code, you use the --get-code argument.

usage

run urlref.pl without any arguments to bookmark a URL. the script accepts this through STDIN, and will output the code attached to the URL. both the code and the URL are saved on the same line (separated by a space) in links.txt.

links.txt is stored in $HOME/.local/share/urlref by default. to change this, edit urlref.pl and change the $dir variable to the desired path (not including the links.txt filename)

to find a URL with a code, use the --get-code argument. for example:

./urlref.pl --get-code AKB48

this will return the matching code and URL.

About

URL bookmarks for handwritten notes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages