Skip to content

Instantly share code, notes, and snippets.

View c-goes's full-sized avatar
🍵

c-goes

🍵
  • Germany
  • 18:34 (UTC +02:00)
View GitHub Profile
@shaybensasson
shaybensasson / install-obsidian.sh
Created July 10, 2021 07:02
Installing Obsidian (an advanced markdown editor) on Ubuntu
#!/usr/bin/env bash
# see https://forum.obsidian.md/t/gnome-desktop-installer/499
set -euo pipefail
icon_url="https://cdn.discordapp.com/icons/686053708261228577/1361e62fed2fee55c7885103c864e2a8.png"
#dl_url=${1:-}
dl_url=$( curl -s https://api.github.com/repos/obsidianmd/obsidian-releases/releases/latest \
| grep "browser_download_url.*AppImage" | tail -n 1 | cut -d '"' -f 4 )