Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.57 KB

README.md

File metadata and controls

59 lines (44 loc) · 1.57 KB

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]