💾 Archived View for gemini.ctrl-c.club › ~nristen › gemlog › 20211015.gmi captured on 2024-08-25 at 01:13:39. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Nristen's (g)log
2021-10-15

Amfora: Copy/Yanking the URL

Amfora has been my goto gemini browser. One of the issues that I have though is the format of the Amfora bookmark files.

I am frequently trying to come up with a better way of managing gemini bookmarks that are not tied to the browser and that I can sync between all of my devices (phone and computer).

On possible solution has been to use Syncthing to mirror bookmark changes and additions accross all of my devices.

Another option I have been playing with has been to import the gemini bookmarks into buku the HTML bookmark manager which is not tied to either the browser or depends on a 3rd party central server. Buku has an optional server that can present a bookmark page or site with a lot of cool features like tag graphs however this is all presented in HTML. I would like to have a feature which can generate a bookmark page where gemarks can either be sorted/searched by tags or strings.

If I were to develop my own solution for Gemini, I would either use sqlite or a recutils db for easier mirroring between the devices.

Using a gemark solution separate from the browser really needs quick way to yank/clopy the address to the clipboard which can then be imported int the gemark manager.

Today, I decided that since my current release of Amfora 1.8 did not include this function, I needed to create an issue with this suggestion.

On Amfora's github issue page I found where someone else had already made this request and after search realized that this change had already been merged into the code however this addition had been made after the most recent release which I had downloaded as a binary.

Install Amfora from source

So, I did a git clone of the amfora source code:

git clone https://github.com/makeworld-the-better-one/amfora.git

I checked the readme file under install and found that I need to run "make" and "sudo make install" to compile and install.

Running "make" failed because I did not have go installed so I searched for what package I needed to install. I found the golang package using the command:

apt-cache search go | more

after running

sudo apt install golang

I successfully ran "make" and make install.

New version...

$ amfora -v

Amfora v1.8.0-69-ge8122fc
Commit: e8122fc52dfe28d6abdf9b19f973558ceca47481
Built by: Makefile

Now when I hit the default command 'C' capital C, it yanks or copies the current page link to the clipboard where I can paste it into buku or anywhere else I need that url ie IRC chat, or email.

References:

Amfora on Github

--------

Nristen (g)log index

Nristen Home