Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

tjex/dbookmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbookmarks

This is a very simple go program that extracts urls (using xurls from a text file, pipes them into dmenu-mac and opens them in browser upon selection. It would've been simpler to do as a bash script, but I'm teaching myself go (and programming in general - so this is why).

For context, it's in following with Luke Smith's "bookmark management" approach as seen here.

URLS in a text file are read line by line. If there are two URLS on one line, only the first one will be picked.

The program requires one argument, the location of the bookmark file.

dbookmarks ~/path/to/bookmarks.txt 

bookmarks.txt

black hole https://google.com
shameless plug https://tjex.net
https://github.com

Non-url text can be on the sameline. It will be stripped out, and you will only be presented the URLS in the dmenu-mac UI.

Installation

git clone https://github.com/tjex/dbookmarks
cd dbookmarks
go build .

About

tiny go program that reads urls from a text file, pipes them into dmenu-mac and opens them in browser on selction.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages