This plugin in similar to the chrome plugin https://github.com/srgsanky/ChromeTabsBackup but for Safari.
Clone the project and open with Xcode. Run the extension from Xcode.
Allow unsigned extensions using the menu Develop
-> Developer Settings...
.
Check Allow unsigned extensions
.
Click the extension's icon and click on the button Show tabs
to see the open tabs as
a markdown table.