Skip to content
This repository has been archived by the owner on Feb 28, 2025. It is now read-only.

Latest commit

 

History

History
63 lines (47 loc) · 1.87 KB

README.md

File metadata and controls

63 lines (47 loc) · 1.87 KB

Note It seems the Obsidian team beat me to the punch. Their browser is far better and far more feature-complete than the time I had invested in this one.

Actually, all things considered, it's probably for the best that their browser is implemented natively. It can do everything I wanted to with mine...

Browser Plugin

This plugin produces a very simplistic, yet integrated browser into Obsidian. It features most of the UI features found in mainstream browsers.

A screenshot of the Google homepage The settings page

Features:

The following features are implemented/planned:

  • Tabs
  • Opening tabs at predefined URLs
  • Duplicate tabs
  • Configure Search engines
  • Set home page
  • See the page title on the tab
  • Focus URL bar with hotkey
  • Set default browser
  • History navigation
  • Action context menu
  • Loading indicator

Building

Building is simple but unfortunately doesn't work on Windows. You'll need to build on WSL, Cygwin or Git Bash. I prefer 'pnpm' over any other package manager, and NuShell so just adjust the commands as you see fit.

  1. Install dependencies:
pnpm install
  1. Define the location of your vault (only necessary for auto-installing)
$env.vault_dir = ~/ObsidianVault
  1. Build (Includes an install step)
pnpm exec tsc -p tsconfig.json
pnpm run build
  1. Build (Without install step)
pnpm exec tsc -p tsconfig.json
pnpm exec mkjson 'build/*'

That should be everything. In Obsidian, you'll now need to ensure community plugins are enabled, refresh the plugin list and activate the browser plugin.

Actions

There are currently three actions defined:

  • New Browser Tab - Opens a new tab
  • Duplicate Tab - Creates a new tab with the same URL as the currently open one
  • Focus URL Bar - Focuses the URL bar [Not implemented]